New Beta and MMD -> Tables

Hi,

I need some help here. I don’t know if it’s a window-version problem, a mmd problem, a latex problem …?? dunno.

I checked many guides how to create tables in mmd-syntax, but everything I try won’t, the exported .tex doesn’t work. I tried so many .tex to pdf converters now (ScribTex, Google LaTeX Lab and now finally MikTex with Lyx as wysiwym-editor). Other tex-tables convert to pdf, but those created from scrivener don’t.

Some examples:

A toad’s guide to using Scrivener – MultiMarkDown – Latex from Huw Evans:

[The caption of the table][TableLabel]
| |Grouping ||

First Header Second Header Third Header
Content Long Cell
Content Cell Cell
New section More Data
And more And more

results in:

[code]\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{The caption of the table}
\label{tablelabel}
\begin{tabulary}{\textwidth}{@{}LCR@{}} \toprule
&\multicolumn{2}{c}{Grouping}\
First Header&Second Header&Third Header\
\midrule
Content&\multicolumn{2}{c}{\emph{Long Cell}}\
Content&Cell&Cell\
New section&More&Data\
And more&\multicolumn{2}{c}{And more}\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}
[/code]

or my own example:

[be_groups]

Feldname Typ Beschreibung
uid int pk
title text Name der Gruppe
tstamp int Änderung des Datensatzes
explicit_allowdeny text ist ein DENY drin, ist neu erzeugen generell verboten
db_mountpoints text Welche Seiten im Baum darf ich sehen
pagetypes_select text kommaseparierte Page-Typen (1, 199)
tables_select text Was darf angezeigt werden
tables_modify text Was darf verändert werden
description text Beschreibung

results in:

[code]\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Table caption}
\label{tablelabel}
\begin{tabulary}{\textwidth}{@{}LL@{}} \toprule
A&B\
\midrule
1&2\
28&13\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{be_groups}
\label{be_groups}
\begin{tabulary}{\textwidth}{@{}LLL@{}} \toprule
Feldname&Typ&Beschreibung\
\midrule
uid&int&pk\
title&text&Name der Gruppe\
tstamp&int&Änderung des Datensatzes\
explicit_allowdeny&text&ist ein DENY drin, ist neu erzeugen generell verboten\
db_mountpoints&text&Welche Seiten im Baum darf ich sehen\
pagetypes_select&text&kommaseparierte Page-Typen (1, 199)\
tables_select&text&Was darf angezeigt werden\
tables_modify&text&Was darf verändert werden\
description&text&Beschreibung\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}[/code]

But this tex-example from another website works:

\begin{tabular}{llr} \toprule \multicolumn{2}{c}{Name} \\ \cmidrule(r){1-2} First name & Last Name & Grade \\ \midrule John & Doe & $7.5$ \\ Richard & Miles & $2$ \\ \bottomrule \end{tabular}

As I will be needing tables a lot, I feel pretty much left without a clue on what’s going wrong.

Is this a beta quirks?

Can maybe a mac user try to compile one not working example and send me the created tex-file?

The other formatting works btw, like bold, italic and so on. Didn’t try images and footnotes yet.

Does anybody have a small test page with all sorts of formatting included and could be so friendly to post the .mmd and the working resulting tex?

That would be very kind.

Best regards
Philipp

I found a nice mmd-compatbility-test.

Unfortunately lyx cannot generate a pdf, because somehow a layouts.sty is missing. I can’t find this file anywhere in .tex nor anywhere else even though I have downloaded the fletcher-peg-multimarkdown-latex-support-aee60bf archive.

Man is this getting complicated… :cry:

btw, this is the generated tex.

[code]\input{mmd-memoir-header}
\def\mytitle{Table-Test}
\def\myauthor{Phil}
\def\latexmode{memoir}
\input{mmd-memoir-begin-doc}
CompatibilityTest
latex input: mmd-article-header
Title: MultiMarkdown Table Test\
latex input: mmd-article-begin-doc
latex footer: mmd-memoir-footer

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Prototype table caption}
\label{prototypetable}
\begin{tabulary}{\textwidth}{@{}LCR@{}} \toprule
&\multicolumn{2}{c}{Grouping}\
First Header&Second Header&Third Header\
\midrule
Content&\multicolumn{2}{c}{\emph{Long Cell}}\
Content&\textbf{Cell}&Cell\

\midrule
New section&More&Data\
And more&\multicolumn{2}{c}{With an escaped ‘\textbar{}’}\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

And this is a link to the Prototype table (\autoref{prototypetable}).

And now a table with only a caption.

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Caption but no label}
\label{captionbutnolabel}
\begin{tabulary}{\textwidth}{@{}LCR@{}} \toprule
&\multicolumn{2}{c}{Grouping}\
First Header&Second Header&Third Header\
\midrule
Content&\multicolumn{2}{c}{\emph{Long Cell}}\
Content&\textbf{Cell}&Cell\

\midrule
New section&More&Data\
And more&\multicolumn{2}{c}{With an escaped ‘\textbar{}’}\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

And a link to the second table (\autoref{captionbutnolabel}).

And two tables in close proximity:

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{MultiMarkdown vs. Crayons}
\label{multimarkdownvs.crayons}
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
Features&MultiMarkdown&Crayons\
\midrule
Melts in warm places&No&Yes\
Mistakes can be easily fixed&Yes&No\
Easy to copy documents for friends&Yes&No\
Fun at parties&No&Why not?\

\midrule
Minimum markup1 for maximum quality?&Yes&No\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{MultiMarkdown vs. Crayons2}
\label{multimarkdownvs.crayons2}
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
Features&MultiMarkdown&Crayons\
\midrule
Melts in warm places&No&Yes\
Mistakes can be easily fixed&Yes&No\
Easy to copy documents for friends&Yes&No\
Fun at parties&No&Why not?\

\midrule
Minimum markup2 for maximum quality?&Yes&No\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Caption only}
\label{captiononly}
\begin{tabulary}{\textwidth}{@{}LL@{}} \toprule
Col 1&Col 2\
\midrule
One&Two \

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Line Wrapping Test}
\label{linewrappingtest}
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
Long Cell&MultiMarkdown&Crayons\
\midrule
Melts in warm places&No&Yes\
Mistakes can be easily fixed&Yes&No\
Easy to copy documents for friends with some extra words to try and force a line break in every output format to test the wrapping feature&Yes&No\
Fun at parties&No&Why not?\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\input{mmd-memoir-footer}

\end{document}
[/code]

I don’t know what’s up… I installed all missing packages, the compatibility mmd file still causes some clashes preventing a pdf export. The very simple little table examples I created in scrivener fail with lots of errors.

Seems to me that mmd and latex tables and windows with miktex 2.9 don’t like themselves.

If nobody can help I’ll have to create the tables in lyx.

Going to try pictures. If that fails too, I’ll do the formatting in lyx completely. Sadly no windows user could at least me give a little feedback if he/sheactually succeeded the scrivener to mmd to tex way.

Philipp, I downloaded and installed the new beta today, and tried for some time to get the Compile/MMD function to produce usable LaTeX for LyX. But I couldn’t get it to produce anything beyond purely plain text (which obviously I could achieve simply with copy and paste).

Since - apparently as with you - LyX is my document processor of choice, rather than Word, Scrivener for Windows remains, unfortunately, essentially unusable for me. Which is a big shame.

Phillipp, thanks for all of the research you’ve collected on this. I’m going over the MMD implementation right now, and have added your notes to my file of things to present. This is a brand new mechanism and there are still some beta-sharp edges to it, so this is all valuable info for the main release. The tables issue is a little confounding though, as Scrivener doesn’t have anything to do with that. It just passes your code along to MMD. I’ll have to look more closely at your samples to see if there is a small syntax flaw that might be messing things up. You say you’re just running examples from the user manual though, so that’s odd.

In regards to LyX, the .tex files that MMD2 produced were a bit “noisy” in LyX historically. I haven’t actually checked lately to see if that has improved, with MMD3. It worked in MMD2, but the import had a lot of visible coding in it and always needed a little tweaking. The new system is much cleaner, and suitable for dropping into an existing template. If you are using the memoir flag in your MMD meta-data, try taking that out. It should produce a more universally compatible .tex file. Another thing you can try, if you like working with LyX, is stripping out all document class meta-data like “Title” and “Author”. Anything that triggers document mode. This will enable snippet mode. So you could set up a new LyX document with the stylesheet you want, and then import the .tex snippet in. That should be a fairly clean way of going about it.

Hi, I think I have at least a feasible workflow now. I didn’t succeed in compiling with Lyx but the direct miktex way worked.

That’s the scrivener document with all meta stripped:

|            |             Grouping             ||  
First Header |    Second Header   | Third Header |  
| ---------- | :----------------: | -----------: |  
Content      |           *Long Cell*            ||  
Content      |      **Cell**      |         Cell |  

New section  |        More        |         Data |  
And more     | With an escaped '\|'             ||  
[Prototype table caption][Prototype table]  


And this is a link to the [Prototype table].


And now a table with only a caption.


|            |             Grouping             ||  
First Header |    Second Header   | Third Header |  
| ---------- | :----------------: | -----------: |  
Content      |           *Long Cell*            ||  
Content      |      **Cell**      |         Cell |  

New section  |        More        |         Data |  
And more     | With an escaped '\|'             ||  
[Caption but no label]  

And a link to the second [table][Caption but no label].

And two tables in close proximity:

[MultiMarkdown vs. Crayons]  
| Features                          | MultiMarkdown |  Crayons |  
----------------------------------- | :-----------: | :------: |  
Melts in warm places                |       No      |    Yes   |  
Mistakes can be easily fixed        |      Yes      |    No    |  
Easy to copy documents for friends  |      Yes      |    No    |  
Fun at parties                      |  No | Why not? |  

Minimum markup1 for maximum quality? |      Yes      |    No    |  

[MultiMarkdown vs. Crayons2]  
| Features                          | MultiMarkdown |  Crayons |  
----------------------------------- | :-----------: | :------: |  
Melts in warm places                |       No      |    Yes   |  
Mistakes can be easily fixed        |      Yes      |    No    |  
Easy to copy documents for friends  |      Yes      |    No    |  
Fun at parties                      |  No | Why not? |  

Minimum markup2 for maximum quality? |      Yes      |    No    |  


[Caption only]  
Col 1 | Col 2  
----- | -----  
One   | Two   


[Line Wrapping Test]  
| Long Cell                         | MultiMarkdown |  Crayons |  
----------------------------------+ | :-----------: | :------: |  
Melts in warm places                |       No      |    Yes   |  
Mistakes can be easily fixed        |      Yes      |    No    |  
Easy to copy documents for friends with some extra words to try and force a line break in every output format to test the wrapping feature  |      Yes      |    No    |  
Fun at parties                      |  No           | Why not? |  

Here’s the tex result from the scrivener compile:

[code]\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Prototype table caption}
\label{prototypetable}
\begin{tabulary}{\textwidth}{@{}LCR@{}} \toprule
&\multicolumn{2}{c}{Grouping}\
First Header&Second Header&Third Header\
\midrule
Content&\multicolumn{2}{c}{\emph{Long Cell}}\
Content&\textbf{Cell}&Cell\

\midrule
New section&More&Data\
And more&\multicolumn{2}{c}{With an escaped ‘\textbar{}’}\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

And this is a link to the Prototype table (\autoref{prototypetable}).

And now a table with only a caption.

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Caption but no label}
\label{captionbutnolabel}
\begin{tabulary}{\textwidth}{@{}LCR@{}} \toprule
&\multicolumn{2}{c}{Grouping}\
First Header&Second Header&Third Header\
\midrule
Content&\multicolumn{2}{c}{\emph{Long Cell}}\
Content&\textbf{Cell}&Cell\

\midrule
New section&More&Data\
And more&\multicolumn{2}{c}{With an escaped ‘\textbar{}’}\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

And a link to the second table (\autoref{captionbutnolabel}).

And two tables in close proximity:

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{MultiMarkdown vs. Crayons}
\label{multimarkdownvs.crayons}
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
Features&MultiMarkdown&Crayons\
\midrule
Melts in warm places&No&Yes\
Mistakes can be easily fixed&Yes&No\
Easy to copy documents for friends&Yes&No\
Fun at parties&No&Why not?\

\midrule
Minimum markup1 for maximum quality?&Yes&No\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{MultiMarkdown vs. Crayons2}
\label{multimarkdownvs.crayons2}
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
Features&MultiMarkdown&Crayons\
\midrule
Melts in warm places&No&Yes\
Mistakes can be easily fixed&Yes&No\
Easy to copy documents for friends&Yes&No\
Fun at parties&No&Why not?\

\midrule
Minimum markup2 for maximum quality?&Yes&No\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Caption only}
\label{captiononly}
\begin{tabulary}{\textwidth}{@{}LL@{}} \toprule
Col 1&Col 2\
\midrule
One&Two \

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Line Wrapping Test}
\label{linewrappingtest}
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
Long Cell&MultiMarkdown&Crayons\
\midrule
Melts in warm places&No&Yes\
Mistakes can be easily fixed&Yes&No\
Easy to copy documents for friends with some extra words to try and force a line break in every output format to test the wrapping feature&Yes&No\
Fun at parties&No&Why not?\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

[/code]

Here’s the error list of Lyx with the Compatibility test:

[code]This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2012.4.2) 4 APR 2012 11:12
entering extended mode
**compTest.tex
(C:\Users\admin\AppData\Local\Temp\lyx_tmpdir.Hp5016\lyx_tmpbuf2\compTest.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.

(“C:\Program Files\MiKTeX 2.9\tex\latex\memoir\memoir.cls”
Document Class: memoir 2011/03/06 v3.6j configurable book, report, article docu
ment class
\onelineskip=\skip41
\lxvchars=\skip42
\xlvchars=\skip43
@memcnta=\count79
\c@@memmarkcntra=\count80
\l@nohyphenation=\language70
(“C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty”
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
)
Class memoir Info: An `ifetex’ package is being emulated on input line 251.
(“C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty”
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
) (“C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty”
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
\stockheight=\skip44
\stockwidth=\skip45
\trimtop=\skip46
\trimedge=\skip47
(“C:\Program Files\MiKTeX 2.9\tex\latex\misc\etex.sty”
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count81
) (“C:\Program Files\MiKTeX 2.9\tex\latex\memoir\mem10.clo”
File: mem10.clo 2008/01/30 v0.3 memoir class 10pt size option
)
\binding=\skip48
\spinemargin=\skip49
\foremargin=\skip50
\uppermargin=\skip51
\lowermargin=\skip52
\headdrop=\skip53
\normalrulethickness=\skip54
\mem@maxheadheight=\skip55
\mem@maxfootheight=\skip56
\headwidth=\skip57
\c@storedpagenumber=\count82
\memPD=\dimen102
\m@mabparskip=\skip58
\thanksmarkwidth=\skip59
\thanksmarksep=\skip60
\droptitle=\skip61
\c@book=\count83
\c@part=\count84
\c@chapter=\count85
\c@section=\count86
\c@subsection=\count87
\c@subsubsection=\count88
\c@paragraph=\count89
\c@subparagraph=\count90
\beforechapskip=\skip62
\midchapskip=\skip63
\afterchapskip=\skip64
\chapindent=\skip65
\bottomsectionskip=\skip66
\secindent=\skip67
\beforesecskip=\skip68
\aftersecskip=\skip69
\subsecindent=\skip70
\beforesubsecskip=\skip71
\aftersubsecskip=\skip72
\subsubsecindent=\skip73
\beforesubsubsecskip=\skip74
\aftersubsubsecskip=\skip75
\paraindent=\skip76
\beforeparaskip=\skip77
\afterparaskip=\skip78
\subparaindent=\skip79
\beforesubparaskip=\skip80
\aftersubparaskip=\skip81
\pfbreakskip=\skip82
\c@@ppsavesec=\count91
\c@@ppsaveapp=\count92
\ragrparindent=\dimen103
\everylistparindent=\dimen104
\parsepi=\skip83
\topsepi=\skip84
\itemsepi=\skip85
\parsepii=\skip86
\topsepii=\skip87
\topsepiii=\skip88
\itemsepii=\skip89
\itemsepiii=\skip90
\partopsepii=\skip91
\partopsepiii=\skip92
\m@msavetopsep=\skip93
\m@msavepartopsep=\skip94
@enLab=\toks14
\abstitleskip=\skip95
\absleftindent=\skip96
\abs@leftindent=\dimen105
\absrightindent=\skip97
\absparindent=\skip98
\absparsep=\skip99
\c@vslineno=\count93
\c@poemline=\count94
\c@modulo@vs=\count95
\c@memfvsline=\count96
\vleftskip=\skip100
\vrightskip=\skip101
\stanzaskip=\skip102
\versewidth=\skip103
\vgap=\skip104
\vindent=\skip105
\vleftmargin=\dimen106
\c@verse=\count97
\c@chrsinstr=\count98
\beforepoemtitleskip=\skip106
\afterpoemtitleskip=\skip107
\c@poem=\count99
\beforePoemTitleskip=\skip108
\midPoemTitleskip=\skip109
\afterPoemTitleskip=\skip110
\col@sep=\dimen107
\extrarowheight=\dimen108
\NC@list=\toks15
\extratabsurround=\skip111
\backup@length=\skip112
\TX@col@width=\dimen109
\TX@old@table=\dimen110
\TX@old@col=\dimen111
\TX@target=\dimen112
\TX@delta=\dimen113
\TX@cols=\count100
\TX@ftn=\toks16
\heavyrulewidth=\dimen114
\lightrulewidth=\dimen115
\cmidrulewidth=\dimen116
\belowrulesep=\dimen117
\belowbottomsep=\dimen118
\aboverulesep=\dimen119
\abovetopsep=\dimen120
\cmidrulesep=\dimen121
\cmidrulekern=\dimen122
\defaultaddspace=\dimen123
@cmidla=\count101
@cmidlb=\count102
@aboverulesep=\dimen124
@belowrulesep=\dimen125
@thisruleclass=\count103
@lastruleclass=\count104
@thisrulewidth=\dimen126
\ctableftskip=\skip113
\ctabrightskip=\skip114
\abovecolumnspenalty=\count105
@linestogo=\count106
@cellstogo=\count107
@cellsincolumn=\count108
\crtok=\toks17
@mincolumnwidth=\dimen127
\c@newflo@tctr=\count109
\mem@margin@floatbox=\box26
@contcwidth=\skip115
@contindw=\skip116
\abovecaptionskip=\skip117
\belowcaptionskip=\skip118
\subfloattopskip=\skip119
\subfloatcapskip=\skip120
\subfloatcaptopadj=\skip121
\subfloatbottomskip=\skip122
\subfloatlabelskip=\skip123
\subfloatcapmargin=\dimen128
\c@@contsubnum=\count110
\m@mscap@capbox=\box27
\m@mscap@fbox=\box28
\sidecapsep=\dimen129
\sidecapwidth=\dimen130
\m@m@tempdima=\dimen131
\m@mscapraise=\dimen132
\sidecapraise=\dimen133
\m@mscapmainwidth=\dimen134
\m@mscaplkern=\dimen135
\beforeepigraphskip=\skip124
\afterepigraphskip=\skip125
\epigraphwidth=\skip126
\epigraphrule=\skip127
LaTeX Info: Redefining \em on input line 7377.
LaTeX Info: Redefining \emph on input line 7385.
\tocentryskip=\skip128
\tocbaseline=\skip129
\cftparskip=\skip130
\cftbeforebookskip=\skip131
\cftbookindent=\dimen136
\cftbooknumwidth=\dimen137
\cftbeforepartskip=\skip132
\cftpartindent=\skip133
\cftpartnumwidth=\skip134
\cftbeforechapterskip=\skip135
\cftchapterindent=\skip136
\cftchapternumwidth=\skip137
\cftbeforesectionskip=\skip138
\cftsectionindent=\skip139
\cftsectionnumwidth=\skip140
\cftbeforesubsectionskip=\skip141
\cftsubsectionindent=\skip142
\cftsubsectionnumwidth=\skip143
\cftbeforesubsubsectionskip=\skip144
\cftsubsubsectionindent=\skip145
\cftsubsubsectionnumwidth=\skip146
\cftbeforeparagraphskip=\skip147
\cftparagraphindent=\skip148
\cftparagraphnumwidth=\skip149
\cftbeforesubparagraphskip=\skip150
\cftsubparagraphindent=\skip151
\cftsubparagraphnumwidth=\skip152
\prechapterprecisshift=\dimen138
\c@maxsecnumdepth=\count111
\bibindent=\dimen139
\bibitemsep=\skip153
\indexcolsep=\skip154
\indexrule=\skip155
\indexmarkstyle=\toks18
@indexbox=\insert233
\glossarycolsep=\dimen140
\glossaryrule=\dimen141
\sideparvshift=\skip156
\sideins=\insert232
\sidebartopsep=\skip157
\sidebarhsep=\skip158
\sidebarvsep=\skip159
\sidebarwidth=\skip160
\footmarkwidth=\skip161
\footmarksep=\skip162
\footparindent=\skip163
\footinsdim=\skip164
\footinsv@r=\insert231
@mpfootinsv@r=\insert230
\m@m@k=\count112
\m@m@h=\dimen142
\m@mipn@skip=\skip165
\sidefootins=\insert229
\sidefootadjust=\skip166
\sidefootheight=\skip167
\sidefoothsep=\skip168
\sidefootvsep=\skip169
\sidefootwidth=\skip170
\m@mdownsf=\skip171
\c@sidefootnote=\count113
\sidefootmarkwidth=\skip172
\sidefootmarksep=\skip173
\sidefootparindent=\skip174
\c@pagenote=\count114
\c@pagenoteshadow=\count115
\mem@pn@lastkern=\skip175
\every@verbatim=\toks19
\afterevery@verbatim=\toks20
\verbatim@line=\toks21
\tab@position=\count116
\verbatim@in@stream=\read1
\verbatimindent=\skip176
\verbatim@out=\write3
\bvboxsep=\skip177
\c@memfbvline=\count117
\c@bvlinectr=\count118
\bvnumlength=\skip178
\fb@frw=\dimen143
\fb@frh=\dimen144
\FrameRule=\dimen145
\FrameSep=\dimen146
\c@cp@cntr=\count119
LaTeX Info: Redefining : on input line 11807.
LaTeX Info: Redefining ! on input line 11809.
\c@ism@mctr=\count120
\c@xsm@mctr=\count121
\c@csm@mctr=\count122
\c@ksm@mctr=\count123
\c@xksm@mctr=\count124
\c@cksm@mctr=\count125
\c@msm@mctr=\count126
\c@xmsm@mctr=\count127
\c@cmsm@mctr=\count128
\c@bsm@mctr=\count129
\c@workm@mctr=\count130
\c@sheetsequence=\count131
\c@lastsheet=\count132
\c@lastpage=\count133
\c@figure=\count134
\c@lofdepth=\count135
\cftbeforefigureskip=\skip179
\cftfigureindent=\skip180
\cftfigurenumwidth=\skip181
\c@table=\count136
\c@lotdepth=\count137
\cftbeforetableskip=\skip182
\cfttableindent=\skip183
\cfttablenumwidth=\skip184
Package abstract [2008/07/23] emulated by memoir.
Package appendix [2008/07/23] emulated by memoir.
Package array [2008/07/23] emulated by memoir.
Package booktabs [2008/07/23] emulated by memoir.
Package ccaption [2008/07/23] emulated by memoir.
Package changepage [2008/07/23] emulated by memoir.
Package chngcntr [2008/07/23] emulated by memoir.
Package chngpage [2008/07/23] emulated by memoir.
Package crop emulated by memoir.
Package dcolumn [2008/07/23] emulated by memoir.
Package delarray [2008/07/23] emulated by memoir.
Package enumerate [2008/07/23] emulated by memoir.
Package epigraph [2008/07/23] emulated by memoir.
Package ifmtarg [2008/07/23] emulated by memoir.
Package ifetex [2008/07/23] emulated by memoir.
Package index [2008/07/23] emulated by memoir.
Package makeidx [2008/07/23] emulated by memoir.
Package moreverb [2008/07/23] emulated by memoir.
Package mparhack [2008/07/23] emulated by memoir.
Package needspace [2008/07/23] emulated by memoir.
Package newfile [2008/07/23] emulated by memoir.
Package nextpage [2008/07/23] emulated by memoir.
Package pagenote [2008/07/23] emulated by memoir.
Package parskip [2008/07/23] emulated by memoir.
Package patchcmd [2008/07/23] emulated by memoir.
Package setspace [2008/07/23] emulated by memoir.
Package shortvrb [2008/07/23] emulated by memoir.
Package showidx [2008/07/23] emulated by memoir.
Package tabularx [2008/07/23] emulated by memoir.
Package titleref [2008/07/23] emulated by memoir.
Package titling [2008/07/23] emulated by memoir.
Package tocbibind [2008/07/23] emulated by memoir.
Package tocloft [2008/07/23] emulated by memoir.
Package tocvsec2 [2008/07/23] emulated by memoir.
Package verbatim [2008/07/23] emulated by memoir.
Package verse [2008/07/23] emulated by memoir.
(“C:\Program Files\MiKTeX 2.9\tex\latex\memoir\mempatch.sty”
Package: mempatch 2009/07/24 v6.0f Patches for memoir class v1.6180339
)) (“C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty”
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks22
\inpenc@posthook=\toks23
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\latin9.def”
File: latin9.def 2008/03/30 v1.1d Input encoding file
))
No file compTest.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 9.
LaTeX Font Info: … okay on input line 9.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 9.
LaTeX Font Info: … okay on input line 9.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 9.
LaTeX Font Info: … okay on input line 9.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 9.
LaTeX Font Info: … okay on input line 9.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 9.
LaTeX Font Info: … okay on input line 9.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 9.
LaTeX Font Info: … okay on input line 9.
! Undefined control sequence.
\tymax

l.12 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

! Missing number, treated as zero.

\relax
l.12 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

\relax
l.12 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! LaTeX Error: Environment tabulary undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.15 …ll \label{prototypetable} \begin{tabulary}
{\textwidth}{@{}LCR@{}}
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing number, treated as zero.

}
l.15 …ototypetable} \begin{tabulary}{\textwidth}
{@{}LCR@{}}
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

}
l.15 …ototypetable} \begin{tabulary}{\textwidth}
{@{}LCR@{}}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! Misplaced \noalign.
\toprule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\abovetopsep \global @b
l.16 \toprule
&\multicolumn{2}{c}{Grouping}}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \omit.
\multispan ->\omit
@multispan
l.16 \toprule &\multicolumn{2}{c}{Grouping}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \span.
\sp@n ->\span
\omit \advance @multicnt \m@ne
l.16 \toprule &\multicolumn{2}{c}{Grouping}
}\
I can’t figure out why you would want to use a tab mark
or \cr or \span just now. If something like a right brace
up above has ended a previous alignment prematurely,
you’re probably due for more error messages, and you
might try typing `S’ now just to see what is salvageable.

! Misplaced \omit.
\sp@n ->\span \omit
\advance @multicnt \m@ne
l.16 \toprule &\multicolumn{2}{c}{Grouping}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Extra }, or forgotten \endgroup.
l.16 \toprule &\multicolumn{2}{c}{Grouping}}
\
I’ve deleted a group-closing symbol because it seems to be
spurious, as in $x}$'. But perhaps the } is legitimate and you forgot something else, as in \hbox{$x}’. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}’.

! Misplaced \noalign.
\midrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global @…
l.18 {\small{} \midrule
Content&\multicolumn{2}{c}{\emph{Long Cell}}}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \omit.
\multispan ->\omit
@multispan
l.18 …tent&\multicolumn{2}{c}{\emph{Long Cell}}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \span.
\sp@n ->\span
\omit \advance @multicnt \m@ne
l.18 …tent&\multicolumn{2}{c}{\emph{Long Cell}}
}\
I can’t figure out why you would want to use a tab mark
or \cr or \span just now. If something like a right brace
up above has ended a previous alignment prematurely,
you’re probably due for more error messages, and you
might try typing `S’ now just to see what is salvageable.

! Misplaced \omit.
\sp@n ->\span \omit
\advance @multicnt \m@ne
l.18 …tent&\multicolumn{2}{c}{\emph{Long Cell}}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \noalign.
\midrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global @…
l.20 {\small \par \midrule
New section&More&Data}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \omit.
\multispan ->\omit
@multispan
l.21 …column{2}{c}{With an escaped ‘\textbar{}’}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \span.
\sp@n ->\span
\omit \advance @multicnt \m@ne
l.21 …column{2}{c}{With an escaped ‘\textbar{}’}
}\
I can’t figure out why you would want to use a tab mark
or \cr or \span just now. If something like a right brace
up above has ended a previous alignment prematurely,
you’re probably due for more error messages, and you
might try typing `S’ now just to see what is salvageable.

! Misplaced \omit.
\sp@n ->\span \omit
\advance @multicnt \m@ne
l.21 …column{2}{c}{With an escaped ‘\textbar{}’}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

LaTeX Font Info: Try loading font information for OMS+cmr on input line 21.
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\omscmr.fd”
File: omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info: Font shape OMS/cmr/m/n' in size <9> not available (Font) Font shape OMS/cmsy/m/n’ tried instead on input line 21.
! Misplaced \noalign.
\bottomrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global…
l.22 {\small \par \bottomrule
\par \end{tabulary} }%
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! LaTeX Error: \begin{minipage} on input line 11 ended by \end{tabulary}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.22 {\small \par \bottomrule\par \end{tabulary}
}%
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing } inserted.

}
l.22 {\small \par \bottomrule\par \end{tabulary}
}%
I’ve inserted something that you may have forgotten.
(See the above.)
With luck, this will get me unwedged. But if you
really didn’t forget anything, try typing `2’ now; then
my insertion and my current dilemma will both disappear.

LaTeX Font Info: External font cmex10' loaded for size (Font) <7> on input line 23. LaTeX Font Info: External font cmex10’ loaded for size
(Font) <5> on input line 23.
! Undefined control sequence.
l.27 …is a link to the Prototype table (\autoref
{prototypetable}).
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

! Undefined control sequence.
\tymax

l.33 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

! Missing number, treated as zero.

\relax
l.33 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

\relax
l.33 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! LaTeX Error: Environment tabulary undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.36 …\label{captionbutnolabel} \begin{tabulary}
{\textwidth}{@{}LCR@{}}
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing number, treated as zero.

}
l.36 …onbutnolabel} \begin{tabulary}{\textwidth}
{@{}LCR@{}}
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

}
l.36 …onbutnolabel} \begin{tabulary}{\textwidth}
{@{}LCR@{}}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! Misplaced \noalign.
\toprule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\abovetopsep \global @b
l.37 \toprule
&\multicolumn{2}{c}{Grouping}}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \omit.
\multispan ->\omit
@multispan
l.37 \toprule &\multicolumn{2}{c}{Grouping}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \span.
\sp@n ->\span
\omit \advance @multicnt \m@ne
l.37 \toprule &\multicolumn{2}{c}{Grouping}
}\
I can’t figure out why you would want to use a tab mark
or \cr or \span just now. If something like a right brace
up above has ended a previous alignment prematurely,
you’re probably due for more error messages, and you
might try typing `S’ now just to see what is salvageable.

! Misplaced \omit.
\sp@n ->\span \omit
\advance @multicnt \m@ne
l.37 \toprule &\multicolumn{2}{c}{Grouping}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Extra }, or forgotten \endgroup.
l.37 \toprule &\multicolumn{2}{c}{Grouping}}
\
I’ve deleted a group-closing symbol because it seems to be
spurious, as in $x}$'. But perhaps the } is legitimate and you forgot something else, as in \hbox{$x}’. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}’.

! Misplaced \noalign.
\midrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global @…
l.39 {\small{} \midrule
Content&\multicolumn{2}{c}{\emph{Long Cell}}}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \omit.
\multispan ->\omit
@multispan
l.39 …tent&\multicolumn{2}{c}{\emph{Long Cell}}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \span.
\sp@n ->\span
\omit \advance @multicnt \m@ne
l.39 …tent&\multicolumn{2}{c}{\emph{Long Cell}}
}\
I can’t figure out why you would want to use a tab mark
or \cr or \span just now. If something like a right brace
up above has ended a previous alignment prematurely,
you’re probably due for more error messages, and you
might try typing `S’ now just to see what is salvageable.

! Misplaced \omit.
\sp@n ->\span \omit
\advance @multicnt \m@ne
l.39 …tent&\multicolumn{2}{c}{\emph{Long Cell}}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \noalign.
\midrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global @…
l.41 {\small \par \midrule
New section&More&Data}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \omit.
\multispan ->\omit
@multispan
l.42 …column{2}{c}{With an escaped ‘\textbar{}’}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \span.
\sp@n ->\span
\omit \advance @multicnt \m@ne
l.42 …column{2}{c}{With an escaped ‘\textbar{}’}
}\
I can’t figure out why you would want to use a tab mark
or \cr or \span just now. If something like a right brace
up above has ended a previous alignment prematurely,
you’re probably due for more error messages, and you
might try typing `S’ now just to see what is salvageable.

! Misplaced \omit.
\sp@n ->\span \omit
\advance @multicnt \m@ne
l.42 …column{2}{c}{With an escaped ‘\textbar{}’}
}\
I expect to see \omit only after tab marks or the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \noalign.
\bottomrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global…
l.43 {\small \par \bottomrule
\par \end{tabulary} }%
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! LaTeX Error: \begin{minipage} on input line 32 ended by \end{tabulary}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.43 {\small \par \bottomrule\par \end{tabulary}
}%
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing } inserted.

}
l.43 {\small \par \bottomrule\par \end{tabulary}
}%
I’ve inserted something that you may have forgotten.
(See the above.)
With luck, this will get me unwedged. But if you
really didn’t forget anything, try typing `2’ now; then
my insertion and my current dilemma will both disappear.

! Undefined control sequence.
l.48 And a link to the second table (\autoref
{captionbutnolabel}).
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

! Undefined control sequence.
\tymax

l.54 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

! Missing number, treated as zero.

\relax
l.54 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

\relax
l.54 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! LaTeX Error: Environment tabulary undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.57 …{multimarkdownvs.crayons} \begin{tabulary}
{\textwidth}{@{}LCC@{}}
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing number, treated as zero.

}
l.57 …wnvs.crayons} \begin{tabulary}{\textwidth}
{@{}LCC@{}}
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

}
l.57 …wnvs.crayons} \begin{tabulary}{\textwidth}
{@{}LCC@{}}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! Misplaced \noalign.
\toprule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\abovetopsep \global @b
l.58 \toprule
Features&MultiMarkdown&Crayons}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Extra }, or forgotten \endgroup.
l.58 \toprule Features&MultiMarkdown&Crayons}
\
I’ve deleted a group-closing symbol because it seems to be
spurious, as in $x}$'. But perhaps the } is legitimate and you forgot something else, as in \hbox{$x}’. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}’.

! Misplaced \noalign.
\midrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global @…
l.59 {\small{} \midrule
Melts in warm places&No&Yes}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \noalign.
\midrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global @…
l.63 {\small \par \midrule
Minimum markup1 for maximum quality?&Yes&No}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \noalign.
\bottomrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global…
l.64 {\small \par \bottomrule
\par \end{tabulary} }%
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! LaTeX Error: \begin{minipage} on input line 53 ended by \end{tabulary}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.64 {\small \par \bottomrule\par \end{tabulary}
}%
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing } inserted.

}
l.64 {\small \par \bottomrule\par \end{tabulary}
}%
I’ve inserted something that you may have forgotten.
(See the above.)
With luck, this will get me unwedged. But if you
really didn’t forget anything, try typing `2’ now; then
my insertion and my current dilemma will both disappear.

! Undefined control sequence.
\tymax

l.71 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

! Missing number, treated as zero.

\relax
l.71 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

\relax
l.71 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! LaTeX Error: Environment tabulary undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.74 …multimarkdownvs.crayons2} \begin{tabulary}
{\textwidth}{@{}LCC@{}}
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing number, treated as zero.

}
l.74 …nvs.crayons2} \begin{tabulary}{\textwidth}
{@{}LCC@{}}
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

}
l.74 …nvs.crayons2} \begin{tabulary}{\textwidth}
{@{}LCC@{}}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! Misplaced \noalign.
\toprule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\abovetopsep \global @b
l.75 \toprule
Features&MultiMarkdown&Crayons}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Extra }, or forgotten \endgroup.
l.75 \toprule Features&MultiMarkdown&Crayons}
\
I’ve deleted a group-closing symbol because it seems to be
spurious, as in $x}$'. But perhaps the } is legitimate and you forgot something else, as in \hbox{$x}’. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}’.

! Misplaced \noalign.
\midrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global @…
l.76 {\small{} \midrule
Melts in warm places&No&Yes}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \noalign.
\midrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global @…
l.80 {\small \par \midrule
Minimum markup2 for maximum quality?&Yes&No}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \noalign.
\bottomrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global…
l.81 {\small \par \bottomrule
\par \end{tabulary} }%
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! LaTeX Error: \begin{minipage} on input line 70 ended by \end{tabulary}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.81 {\small \par \bottomrule\par \end{tabulary}
}%
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing } inserted.

}
l.81 {\small \par \bottomrule\par \end{tabulary}
}%
I’ve inserted something that you may have forgotten.
(See the above.)
With luck, this will get me unwedged. But if you
really didn’t forget anything, try typing `2’ now; then
my insertion and my current dilemma will both disappear.

! Undefined control sequence.
\tymax

l.88 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

! Missing number, treated as zero.

\relax
l.88 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

\relax
l.88 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small …
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! LaTeX Error: Environment tabulary undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.91 {\small \label{captiononly} \begin{tabulary}
{\textwidth}{@{}LL@{}}
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing number, treated as zero.

}
l.91 …{captiononly} \begin{tabulary}{\textwidth}
{@{}LL@{}}
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

}
l.91 …{captiononly} \begin{tabulary}{\textwidth}
{@{}LL@{}}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! Misplaced \noalign.
\toprule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\abovetopsep \global @b
l.92 \toprule
Col 1&Col 2}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Extra }, or forgotten \endgroup.
l.92 \toprule Col 1&Col 2}
\
I’ve deleted a group-closing symbol because it seems to be
spurious, as in $x}$'. But perhaps the } is legitimate and you forgot something else, as in \hbox{$x}’. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}’.

! Misplaced \noalign.
\midrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global @…
l.93 {\small{} \midrule
One&Two }\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \noalign.
\bottomrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global…
l.94 {\small \par \bottomrule
\par \end{tabulary} }%
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! LaTeX Error: \begin{minipage} on input line 87 ended by \end{tabulary}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.94 {\small \par \bottomrule\par \end{tabulary}
}%
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing } inserted.

}
l.94 {\small \par \bottomrule\par \end{tabulary}
}%
I’ve inserted something that you may have forgotten.
(See the above.)
With luck, this will get me unwedged. But if you
really didn’t forget anything, try typing `2’ now; then
my insertion and my current dilemma will both disappear.

! Undefined control sequence.
\tymax

l.101 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small…
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

! Missing number, treated as zero.

\relax
l.101 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small…
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

\relax
l.101 \setlength{\tymax}{0.5\linewidth}
\centering {\small \caption{{\small…
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! LaTeX Error: Environment tabulary undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.104 …\label{linewrappingtest} \begin{tabulary}
{\textwidth}{@{}LCC@{}}
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing number, treated as zero.

}
l.104 …rappingtest} \begin{tabulary}{\textwidth}
{@{}LCC@{}}
A number should have been here; I inserted 0'. (If you can't figure out why I needed to see a number, look up weird error’ in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

}
l.104 …rappingtest} \begin{tabulary}{\textwidth}
{@{}LCC@{}}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I’ll assume that you meant to say pt, for printer’s points.
To recover gracefully from this error, it’s best to
delete the erroneous units; e.g., type `2’ to delete
two letters. (See Chapter 27 of The TeXbook.)

! Misplaced \noalign.
\toprule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\abovetopsep \global @b
l.105 \toprule
Long Cell&MultiMarkdown&Crayons}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Extra }, or forgotten \endgroup.
l.105 \toprule Long Cell&MultiMarkdown&Crayons}
\
I’ve deleted a group-closing symbol because it seems to be
spurious, as in $x}$'. But perhaps the } is legitimate and you forgot something else, as in \hbox{$x}’. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}’.

! Misplaced \noalign.
\midrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global @…
l.106 {\small{} \midrule
Melts in warm places&No&Yes}\
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! Misplaced \noalign.
\bottomrule ->\noalign
{\ifnum 0=`}\fi @aboverulesep =\aboverulesep \global…
l.112 {\small \par \bottomrule
\par \end{tabulary} }%
I expect to see \noalign only after the \cr of
an alignment. Proceed, and I’ll ignore this case.

! LaTeX Error: \begin{minipage} on input line 100 ended by \end{tabulary}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.112 {\small \par \bottomrule\par \end{tabulary}
}%
Your command was ignored.
Type I to replace it with another command,
or to continue without it.

! Missing } inserted.

}
l.112 {\small \par \bottomrule\par \end{tabulary}
}%
I’ve inserted something that you may have forgotten.
(See the above.)
With luck, this will get me unwedged. But if you
really didn’t forget anything, try typing `2’ now; then
my insertion and my current dilemma will both disappear.

[1{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}

] [2] (C:\Users\admin\AppData\Local\Temp\lyx_tmpdir.Hp5016\lyx_tmpbuf2\compTest
.aux)

LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

)
Here is how much of TeX’s memory you used:
3591 strings out of 494045
47652 string characters out of 3148388
128830 words of memory out of 3000000
6936 multiletter control sequences out of 15000+200000
5499 words of font info for 20 fonts, out of 3000000 for 9000
715 hyphenation exceptions out of 8191
30i,10n,22p,558b,313s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx9.pfb><C:/Pro
gram Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb><C:/Program File
s/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr9.pfb><C:/Program Files/MiKTeX 2
.9/fonts/type1/public/amsfonts/cm/cmsy9.pfb><C:/Program Files/MiKTeX 2.9/fonts/
type1/public/amsfonts/cm/cmti9.pfb>
Output written on compTest.pdf (2 pages, 63284 bytes).
PDF statistics:
29 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

[/code]

If I take this tex and let TexWorks compile I get this error:

[code]! LaTeX Error: Environment table undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.1 \begin{table}
[htbp]
? [/code]

(Your message contains 67755 characters. The maximum number of allowed characters is 60000. )
Ok then, part 2 in the next topic :mrgreen:

Here goes part 2 with a little how-to at the end:

Now, if I do a recompile in scrivener with the meta-tags included the tex file looks like this and produces a nice pdf in TexWorks, not in Lyx.

[code]\input{mmd-memoir-header}
\def\mytitle{Table-Test}
\def\myauthor{Phil}
\def\latexmode{memoir}
\input{mmd-memoir-begin-doc}
CompatibilityTest

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Prototype table caption}
\label{prototypetable}
\begin{tabulary}{\textwidth}{@{}LCR@{}} \toprule
&\multicolumn{2}{c}{Grouping}\
First Header&Second Header&Third Header\
\midrule
Content&\multicolumn{2}{c}{\emph{Long Cell}}\
Content&\textbf{Cell}&Cell\

\midrule
New section&More&Data\
And more&\multicolumn{2}{c}{With an escaped ‘\textbar{}’}\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

And this is a link to the Prototype table (\autoref{prototypetable}).

And now a table with only a caption.

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Caption but no label}
\label{captionbutnolabel}
\begin{tabulary}{\textwidth}{@{}LCR@{}} \toprule
&\multicolumn{2}{c}{Grouping}\
First Header&Second Header&Third Header\
\midrule
Content&\multicolumn{2}{c}{\emph{Long Cell}}\
Content&\textbf{Cell}&Cell\

\midrule
New section&More&Data\
And more&\multicolumn{2}{c}{With an escaped ‘\textbar{}’}\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

And a link to the second table (\autoref{captionbutnolabel}).

And two tables in close proximity:

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{MultiMarkdown vs. Crayons}
\label{multimarkdownvs.crayons}
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
Features&MultiMarkdown&Crayons\
\midrule
Melts in warm places&No&Yes\
Mistakes can be easily fixed&Yes&No\
Easy to copy documents for friends&Yes&No\
Fun at parties&No&Why not?\

\midrule
Minimum markup1 for maximum quality?&Yes&No\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{MultiMarkdown vs. Crayons2}
\label{multimarkdownvs.crayons2}
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
Features&MultiMarkdown&Crayons\
\midrule
Melts in warm places&No&Yes\
Mistakes can be easily fixed&Yes&No\
Easy to copy documents for friends&Yes&No\
Fun at parties&No&Why not?\

\midrule
Minimum markup2 for maximum quality?&Yes&No\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Caption only}
\label{captiononly}
\begin{tabulary}{\textwidth}{@{}LL@{}} \toprule
Col 1&Col 2\
\midrule
One&Two \

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\begin{table}[htbp]
\begin{minipage}{\linewidth}
\setlength{\tymax}{0.5\linewidth}
\centering
\small
\caption{Line Wrapping Test}
\label{linewrappingtest}
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
Long Cell&MultiMarkdown&Crayons\
\midrule
Melts in warm places&No&Yes\
Mistakes can be easily fixed&Yes&No\
Easy to copy documents for friends with some extra words to try and force a line break in every output format to test the wrapping feature&Yes&No\
Fun at parties&No&Why not?\

\bottomrule

\end{tabulary}
\end{minipage}
\end{table}

\input{mmd-memoir-footer}

\end{document}
[/code]

The same tex file in Lyx produces these errors:

[code]This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2012.4.2) 4 APR 2012 11:23
entering extended mode
**compTest2.tex
(C:\Users\admin\AppData\Local\Temp\lyx_tmpdir.Hp5016\lyx_tmpbuf3\compTest2.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.

(“C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls”
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo”
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (“C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty”
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\latin9.def”
File: latin9.def 2008/03/30 v1.1d Input encoding file
)) (C:/Users/admin/Desktop/compTest2.aux
! Undefined control sequence.
l.18 @newglossary
{main}{glg}{gls}{glo}
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.18 @newglossary{m
ain}{glg}{gls}{glo}
You’re in trouble here. Try typing to proceed.
If that doesn’t work, type X to quit.

! Undefined control sequence.
l.19 @istfilename
{compTest2.ist}
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

! Undefined control sequence.
l.20 @glsorder
{word}
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., \hobx'), type I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.

)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info: … okay on input line 7.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info: … okay on input line 7.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info: … okay on input line 7.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info: … okay on input line 7.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info: … okay on input line 7.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info: … okay on input line 7.

! LaTeX Error: File `0C__Users_admin_Desktop_mmd-memoir-header.tex’ not found.

Type X to quit or to proceed,
or enter new name. (Default extension: tex)

Enter file name:
! Emergency stop.
<read *>

l.8 …_Users_admin_Desktop_mmd-memoir-header.tex}
\global\long\def\mytitle{…
*** (cannot \read from terminal in nonstop modes)

Here is how much of TeX’s memory you used:
253 strings out of 494045
3265 string characters out of 3148388
48890 words of memory out of 3000000
3625 multiletter control sequences out of 15000+200000
3640 words of font info for 14 fonts, out of 3000000 for 9000
715 hyphenation exceptions out of 8191
23i,1n,17p,201b,49s stack positions out of 5000i,500n,10000p,200000b,50000s
! ==> Fatal error occurred, no output PDF file produced!
[/code]

What I had to do - and which I didn’t know in my windows-latex ignorance :wink: - is that I had to install the peg-multimarkdown-latex-support -files manually.

Once I knew how to do this ( 1. create a directory like C:\texmf\tex\latex\mmd 2. copy the archieve-files in this directory 3. call the settings-admin from Miktex ‘C:\Program Files\MiKTeX 2.9\miktex\bin\mo_admin.exe’ and 4. add the path C:\texmf ).

Then the direct TeXWorks complie worked like a charm suddenly.

In Lyx I then did a reconfigure, restarted, so that it could find the new package. I then set it book(Memoir) as my document class, but it still doesn’t work.

Oh well, at least I can create pdf’s with miktex.

Maybe you’ll find the Lyx-solution??

That is precisely the scenario we have plans for avoiding. The way it should work is, if you use any of the latex-support boilerplates the application will ship with all of that package in the install folder, and place the necessary .tex files in the output folder for you. Since LaTeX checks the current folder for \input sources before going out to texmf and beyond, that will make it so people can just install Scrivener and LaTeX and get output without knowing anything about the MMD install requirements that you would ordinarily have to take if you were installing MMD from scratch and using it without a front-end. A nice side-effect of doing that will be that you have the boilerplate .tex files right there in front of you, so if you want to tweak the preamble a bit, you can do so right there.

But, once you do know a bit about the system, you can make your own boilerplates and put them in the texmf path, then include them in future compiles for custom output (such as a simpler stylesheet than Memoir, which is part of what LyX messy in my experience, as that stylesheet has a ton of custom macros; very powerful, but you do kind of have to “write for it” if you are messing with the raw LaTeX code).

I’ll have to look into LyX. I’ve never messed with it on Windows, just Linux and the Mac.

Granted, it’s been years since I’ve used lyx, but you should be able to import from LaTeX, and MMD should produce it. (I’m assuming you’ve got LaTeX installed, yeah?)

Of course I should, Garpu, but I can’t - at least, not beyond one long stream of plain text. And yes, I have everything installed.

Naturally, I could also start fiddling with all sorts of possibilities, but the point of using Scrivener would be, as AmberV recognizes, to be able to avoid having to do all that. While it doesn’t do what I need, I’d prefer to spend my time actually writing, albeit with alternative software, rather than on trying to reconfigure the Scrivener-to-LyX process.

KTS, well it sounds to me like you’ve got a completely different problem going on here. The OP here is figuring out the best way to get Scrivener/MMD’s LaTeX into a usable form, specifically tables, but it sounds like you aren’t using MMD, or if you are it’s completely broken. I’m not sure what you mean by differentiating a .tex file from a plain-text file as that is what a .tex file is. Do you mean there is no .tex code in it, just text like what you are reading here? Are you testing with MMD syntax? What are your compile settings?