I use Scrivener with a MMD -> LaTeX workflow most of the time. (MMD is great because I can use it to produce files for less-advanced collaborators who use shudder Word. )
For some reason, I can’t seem to pass meta-data to LaTeX. When I provide additional m-d, either through a Meta-data document as the first in the compile list (I keep it in a Front Matter folder) or through the Compile: Meta-data dialog, the metadata is simply passed through as MMD text. An example should help.
Normally, this is what should happen. Metadata gets passed thru and transformed into LaTeX as such:
\input{mmd-scrivcustom-header}
\def\myauthor{I.M. Author}
\def\mytitle{This is the title of my document}
\def\mythanks{Thank you, thank you, thank you.}
\input{mmd-scrivcustom-begin-doc}
...
Instead of that, I get the following output into the LaTeX document.
[code]\input{mmd-scrivcustom-header}
\def\myauthor{I.M. Author}
\def\mytitle{This is the title of my document}
Thanks: Thank you, thank you, thank you.
Base Header Level: 3
Latex Input: mmd-scrivcustom-begin-doc
Latex Footer: mmd-scrivcustom-footer
[/code]
I’ve tried varying the order of the metadata in the compile window, and it seems that the compile is only grabbing the first two fields for transformation and then passing the rest through as the text one would see in the header of an MMD document.
What’s going wrong here?
Thanks in advance for your help.