【发布时间】:2014-09-09 21:20:03
【问题描述】:
我希望将我的 Markdown 书转换为 PDF。
我做了很多研究,看来 Pandoc 是最好的选择。 pandoc 似乎将降价转换为乳胶,然后转换为 PDF。
我遇到的问题是包含外部图像。理想情况下,我会让该过程从网上抓取远程图像并将它们放入 pdf 中。
我遇到了这个错误:
pandoc: Error producing PDF from TeX source.
! Package pdftex.def Error: File `http://wes.io/QYGG/content.png' not found.
See the pdftex.def package documentation for explanation.
Type H <return> for immediate help.
...
l.84 ...degraphics{http://wes.io/QYGG/content.png}
我已经安装了 MacTex,我正在运行的命令是 pandoc test.md -o test.pdf
我以前从未使用过乳胶,所以我有点不知道如何解决这个问题。
【问题讨论】: