如何使用重构文本嵌入 pdf?使用以下指令,我只获得第一页。
.. image:: /pdfs/cv.pdf
就上下文而言,我正在尝试在基于 Pelican 的博客中执行此操作。
最佳答案
Pelican 的插件 pdf-img描述说:
Searches for any tags within your article for which the source is a PostScript, EPS, or PDF file. It will produce a PNG preview of the file and this PNG will be displayed as the image. This preview will also act as a link to the original file. If the PDF/PS/EPS file is a multi-page document, then only the first page will be used for the preview.
这解释了为什么您会得到这些结果。
我找不到“嵌入 PDF”的插件(我假设您想在 Pelican 博客中嵌入一个 PDF 查看器来显示整个 PDF,允许查看者在 iframe 或类似内容中滚动浏览它)那个),但你可以try searching for others .
关于image - 如何使用重构文本嵌入完整的 pdf?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47046244/