Closed K4zuki closed 7 years ago
It's an upstream bug. See jgm/pandoc#3836.
@K4zuki, it's fixed in https://github.com/jgm/pandoc/commit/3504915e63c68c3a4e91b8dcccb90c93435cf212
I verified this works using https://github.com/pandoc-extras/pandoc-nightly/releases/latest
either wait for the next release of use pandoc-nightly for the meanwhile (which might have unstable features though.)
@ickc Thank you for the help and information! I can wait for a while till next pandoc release.
1.19.2.1
-t latex -o pdf.pdf
option0.10.4/0.10.5
Description
$ pandoc markdown.md -t latex --latex-engine=xelatex --filter=pantable -o latex.tex
$ pandoc markdown.md -t latex --latex-engine=xelatex -o latex2.tex
From the diff the filtered latex contains
\begin{figure}
...\end{figure}
block while inline does not. Can you confirm if this is a bug in pantable/panflute or pandoc itself?Source files
png.png
csv.csv
markdown.md
source files
markdown.md
csv.csv
png.png
commands
pandoc markdown.md -t html --filter=pantable -o html.html
pandoc markdown.md -t latex --latex-engine=xelatex --filter=pantable -o latex.tex
pandoc markdown.md -t latex --latex-engine=xelatex -o latex2.tex
pandoc markdown.md -t latex --latex-engine=xelatex --filter=pantable -o pdf.pdf
pandoc markdown.md -t latex --latex-engine=xelatex -o pdf.pdf