使用 pdfpages 包与 pdflatex 时缺少 \begin{document} 错误

使用 pdfpages 包与 pdflatex 时缺少 \begin{document} 错误

这是我的 .tex 文档,我正在使用 编译为 pdf 格式pdflatex a.tex。它抛出一个错误,

! LaTeX Error: Missing \begin{document}

当我继续之后R,它给出了很多错误,

Missing character: There is no n in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no w in font nullfont!
Missing character: There is no d in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no s in font nullfont!
Missing character: There is no t in font nullfont!
Missing character: There is no l in font nullfont!
Missing character: There is no a in font nullfont!
Missing character: There is no b in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no l in font nullfont!
Missing character: There is no [ in font nullfont!
Missing character: There is no 2 in font nullfont!
Missing character: There is no ] in font nullfont!

文档内容:

\documentclass[11pt]{article}
\usepackage{pdfpages}
\begin{document}
\begin{verbatim}
 On manager end, kafka & zookeeper must be up & running,
#jps
\end{verbatim}
\includepdf{./jps.pdf}
\end{document}

我使用的图像includegraphics正在丢失分辨率。因此,我将它们导出为pdf booksgimp,然后将includepdf它们添加到页面中。

相关内容