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:

Error producing PDF.
! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                 
l.64

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}.}
\setcounter{enumi}{19}
\tightlist
\item
  Kurt Bond
\end{enumerate}}

 Anybody have any ideas why this is happening?

--

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAN1EhV8NC_NWLpMBxCdn7Eb_3uyVv8CWjQZ7b6tMZPe1FwjhUQ%40mail.gmail.com.