pdfpages在最新版本上产生错误

编程入门 行业动态 更新时间:2024-10-28 02:23:38
本文介绍了pdfpages在最新版本上产生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我今天尝试在乳胶中重新编译我的学士论文,并且遇到pdfpages包问题.当我最初编写论文时,它工作得很好时,却抛出了未定义的控制序列"错误.新的pdfpages程序包在2019年9月24日打包".Miktex控制台版本为2.9.7206

I tried recompiling my bachelor thesis in latex today and encountered problems with the pdfpages package. While it worked perfectly when I originally compiled the thesis it now throws "undefined control sequence" errors. The new pdfpages package is "packaged on 24/09/2019". Miktex console version is 2.9.7206

我尝试使用台式机上仍然有的旧版本进行编译,该版本可以正常工作.更新miktex软件包后,它也在那里停止工作.我还制作了一个最小的文件,除了试图包含pdf文件外什么也不做,这也会产生错误.因此,这不是我在论文中使用的任何其他程序包或代码.

I tried compiling it with an old version I still had on my desktop pc which worked without a problem. After updating the miktex packages it stopped working there as well. I also produced a minimal file which does nothing but trying to include a pdf file and this also produces the error. So it's not any other package or code I used in the thesis.

\documentclass{scrartcl} \usepackage{pdfpages} \begin{document} \includepdf[pages=-]{test.pdf} %Use any pdf you want to try. \end{document}

在旧版本上,它将按预期工作,将pdf文档包含在输出中,更新后的程序包仅抛出6次错误"undefined control sequence"(未定义控制序列)和一个"file filename.pdf not found"错误.

While on the old version it would work as expected including the pdf document in the output the updated package just throws the error "undefined control sequence" 6 times and a single "file filename.pdf not found" error.

推荐答案

感谢Samcarter.似乎是\ includepdf后台使用的graphicx软件包的一个临时miktex问题.还要感谢所有其他答案.

Thanks to Samcarter. Seems to be a temporary miktex problem with the graphicx package which is used in the background of \includepdf. Thanks to all the other answers as well.

@用Samcarters的话说的话,这个问题并没有为我解决.更新所有软件包后,我必须重建格式(miktex控制台->设置->格式->重建(我从用户模式重建乳胶,pdflatex,pdftex)之后,它又可以正常工作了.

@ True to Samcarters words the problem was not fixed for me. After updating all the packages I had to rebuild the formats (miktex console -> settings -> formats -> rebuild (I rebuild latex, pdflatex, pdftex from user mode) After that it worked fine again.

更多推荐

pdfpages在最新版本上产生错误

本文发布于:2023-10-16 17:06:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1498199.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:最新版本   错误   pdfpages

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!