Replies: 1 comment 1 reply
-
This error is coming from xelatex/pdflatex. pdflatex can't handle jfif. Maybe xelatex can, but it's having trouble determining the size. All of this is outside of pandoc's control. More puzzling is why pandoc would have converted an embedded jpeg to jfif. But to comment on that I'd need to see the html you converted from... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The attached docx has a JFIF file but the conversion fails on my mac running Mac OS Sonoma 14.5 on M1 Macbook pro, pandoc 3.2.1. How can I convert docx containing JFIF? Docx file attached.
What's more confusing is that the docx was generated using pandoc from an html file. The html file contained and embedded JPG, which pandoc converted to JFIF in the docx. And now it can't open it back up.
Command:
pandoc --from docx --to pdf --pdf-engine=pdflatex -o 1.pdf 1.docx
Command:
pandoc --from docx --to pdf --pdf-engine=xelatex -o 1.pdf 1.docx
Beta Was this translation helpful? Give feedback.
All reactions