简体   繁体   中英

No images in PDF generated by Pandoc XeLatex Engine

Ive tried using <img> tag as well as the pandoc markdown format to add images.

## Architecture

<img src="blah.jpeg" title="Default title" alt="alt text" style="display: block; margin: auto;" />
![a](blah.jpeg "text"){width=30%}

Both of these worked when i converted MD to HTML and DOCX. I do not have any error messages even when I convert to a PDF. is there something wrong with my Pandoc? and different image formats do not help either.

Here is an image of the PDF

生成的 PDF 只是有一个空格

Same issue here. But uninstalling and reinstalling MacTeX solved the bug.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM