image - 如何使用重构文本嵌入完整的 pdf?

标签 image pdf restructuredtext pelican

如何使用重构文本嵌入 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/

相关文章:

javascript - 在 jQuery 库中预加载图像

image - 如何使用 ImageMagick 的 convert 命令链接图像转换?

html - pdf 中的 CSS 网格/flex

perl - 是否有 PDF 文件的测试套件?

python - 在目录中首先列出本地部分,最后列出链接页面

python-sphinx - 对齐图标题 Sphinx 中的图例文本

c# - 如何在不重新分配的情况下在 Bitmap 和 Bitmapsource 之间共享像素数据?

php - 将图像均匀分布到图库中的列

node.js - Node 中的日期格式生成pdf

multilingual - 单个重构文本文件中的多个翻译