pdfpages generating errors on newest version

ε祈祈猫儿з 提交于 2019-12-11 05:26:17

问题


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

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}

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.


回答1:


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.

@Edit: 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.



来源:https://stackoverflow.com/questions/58342549/pdfpages-generating-errors-on-newest-version

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!