I'm using pandoc version:
pandoc 2.11.2
Compiled with pandoc-types 1.22, texmath 0.12.0.3, skylighting 0.10.0.3,
citeproc 0.2, ipynb 0.1.0.1
I have a ReStructuredText file:
:title: A Test of RST Metadata
:author: T. Kurt Bond
This is some text.
When I process it to produce LaTeX output, like this:
pandoc -s -r rst -w latex --pdf-engine=xelatex --lua-filter=general.lua -o author-broke-in-latex.ltx.pdf author-broke-in-latex.rst
I get the following error:
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
When I look at the generated LaTeX, line 64 is right after the \maketitle but the interesting thing is the \author invocation, which looks like this:
\author{\begin{enumerate}
\def\labelenumi{\Alph{enumi}.}
Anybody have any ideas why this is happening?
--