Wandmalfarbe / pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
BSD 3-Clause "New" or "Revised" License
6.09k stars 959 forks source link

Unable to display pictures with Eisvogel #165

Closed Etturaz closed 4 years ago

Etturaz commented 4 years ago

Already checked the similar question posed by issue #139 which doesn't solve my problem. In my case, if I use the deafault.latex template I can see the images on the converted document, none if use eisvogel.latex. I' ve tried with .png, .jpg, .pdf and even .svg which works under the deafault.latex. I use:

P.S.: sorry, I' ve forgotten to say that the floats are there, but it stays white. Even the captions are not shown.

Wandmalfarbe commented 4 years ago

Could you provide a full example (like a folder structure that you just zip)? That helps me to understand the problem.

Please provide additional information such as the full output log (obtained with the flag --verbose) or the source document.

wtraylor commented 4 years ago

I had the same issue that PNG figures would not always be rendered. Merge #164 has fixed it for me by replacing \usepackage{graphicx} with \usepackage{graphicx,grffile}.

pengpoo commented 4 years ago

remove graphicx dependency #164 by replacing \usepackage{graphicx,grffile} with \usepackage{graphicx} worked for me.

Wandmalfarbe commented 4 years ago

This should be resolved. If there are still any problems don't hesitate to open a new issue.

lrmatheen commented 1 month ago

I am able to apply eisvogel template to a md file where there are no images. md file with images are not converted to pdf. Attaching my zipped folder here. Error show is: Error producing PDF. ! Undefined control sequence. l.404 \pandocbounded experiment.zip experiment.zip