Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.6k
Closed
Labels
Description
The followingfoo.tex
compiles withpdflatex
but notpandoc
:
\documentclass{article}\usepackage{graphicx}\title{Foo}\begin{document}\includegraphics{bar}\end{document}
Directory layout:
.├── bar.png└── foo.tex
Pandoc command:
> pandoc --self-contained foo.tex --output foo.htmlFile bar not found in resource path
Expected result: no error.
Without--self-contained
, the output is also unexpected (missing.png
extension):
<p><imgsrc="bar"alt="image"/></p>
Version:
> pandoc --versionpandoc 2.2.3.2Compiled with pandoc-types 1.17.5.1, texmath 0.11.1, skylighting 0.7.3Default user data directory: /home/bertrand/.pandocCopyright (C) 2006-2018 John MacFarlaneWeb: http://pandoc.orgThis is free software; see the source for copying conditions.There is no warranty, not even for merchantability or fitnessfor a particular purpose.