Skip to content

能否嵌入 PDF 文件?

能否嵌入 PDF 文件?

✅ Typst 0.14 已改进

#6623 已经支持直接image("file.pdf", page: 5, width: …),详见 Image Function – Typst Documentation

不过尚不支持获取 PDF 总页数。

Typst 0.13 及之前不支持,但是你可以先使用以下任意一种方法将 PDF 文件转换为 SVG 文件,然后嵌入 SVG 文件。

另请参见

贡献者

The avatar of contributor named as Y.D.X. Y.D.X.
The avatar of contributor named as QuadnucYard QuadnucYard
The avatar of contributor named as 梦飞翔 梦飞翔

页面历史

Comments
  • Latest
  • Oldest
  • Hottest

基于 MIT 许可发布