Closed
Description
Some times, when use pdflatex
to compile .tex
get using pandoc from .html
I got a error when .html
has h4
or h5
inside a blockquote
.
HTML sample
$ cat h4.html
<html>
<body>
<blockquote>
<h4>My header</h4>
<p>Some text.</p>
</blockquote>
</body>
</html>
Steps to reproduce
$ pandoc --version
pandoc 1.12.3.3
$ pdflatex --version
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
$ FILENAME=h4; pandoc --standalone -f html -t latex -o ${FILENAME}.tex ${FILENAME}.html && pdflatex ${FILENAME}.tex
pdflatex
error
! LaTeX Error: Something's wrong--perhaps a missing \item.
Tip to solve this issue
As far as I can tell, the cause of this issue is \paragraph
(and \subparagraph
for the case of h5
) inside quote
environment.
Metadata
Metadata
Assignees
Labels
No labels