Hi,

I have had quite some pain isolating this problem, because pandoc (v 2.14.2) provides a quite obscure error. I had to run a number of dichotomies into my source.

Here is the isolated problem. This latex code does is not accepted by pandoc :
\begin{document}
\blockquote{Foo
    \begin{enumerate}
    \item First
    \item Second
    \end{enumerate}
}
\end{document}

Moreover, if this code is isolated into a \input{} file, the error raised by pandoc does not allow to find it easily. The error does not point to the \blockquote or even to the included document containing it. The error points to \begin{document} in the .tex "main" document.


Error at "epub.tex" (line 92, column 17):
unexpected ()
\begin{document}

I would consider this a (double?) bug, since my code is absolutely well compiled with pdflatex, for instance. Or maybe this is too naive an analysis (pandoc newb here).
I'd be happy to know about a workaround, too.

Cheers,

Vincent

--
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/e6a6d0fb-5d58-405c-9e72-68489c5f0d35n%40googlegroups.com.