因此,我尝试通过 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 所需的此文件,因此不应该存在任何问题。任何帮助都将不胜感激。谢谢