![数据写入 PDF 文件后,\pdfminorversion 无法更改](https://linux22.com/image/479169/%E6%95%B0%E6%8D%AE%E5%86%99%E5%85%A5%20PDF%20%E6%96%87%E4%BB%B6%E5%90%8E%EF%BC%8C%5Cpdfminorversion%20%E6%97%A0%E6%B3%95%E6%9B%B4%E6%94%B9.png)
因此,我尝试通过 inkscape 制作一个图形,并将其附加到 pdf 文件中,如本文所建议的那样https://castel.dev/post/lecture-notes-2/博客文章。但是,当我运行脚本以包含 .pdf_tex 图像时,出现了以下错误(如日志文件中所示)
(/usr/share/texmf-dist/tex/latex/stmaryrd/Ustmry.fd) [1
! pdfTeX error (setup): \pdfminorversion cannot be changed after data is writte
n to the PDF file.
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox
\fi \fi
l.24 \maketitle
{}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
我尝试在互联网上查找此错误,但我能找到的最接近的错误是 6-7 年前发生的与 PDF 1.4 相关的错误。我检查了原始脚本,它包含了 .pdf_tex 所需的此文件,因此不应该存在任何问题。任何帮助都将不胜感激。谢谢