Latex reader fails parsing \author{}
if it contains empty lines
#6324
Labels
Milestone
\author{}
if it contains empty lines
#6324
pandoc 2.9.2.1
When converting this document with the command
pandoc -s -f latex -t native main.tex
:the parser fails with this error:
It also fails if the empty line comes before
"Me"
.If the
\author
command is moved before\begin{document}
, then the parser fails silently (i.e., no "author" is included in the parsedMeta
).When removing the empty line inside the author block, instead, the command successfully completes and
Meta
containns the author list.Using
pdflatex
, everything rennders perfectly in all cases.My use case is converting the raw
tex
code intomarkdown
, for purposes of text extraction.The text was updated successfully, but these errors were encountered: