I'm not able to make even this minimal piece of code work when trying to include a pdf file in an IEEEtran document:
\documentclass{IEEEtran}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=-]{file.pdf}
\end{document}
What I get is the following error:
! Undefined control sequence.
\@outputdblcol ...}}\@combinedblfloats \@setmarks
\@outputpage \begingroup \...
If I try to replace the document class with a standard one instead (e.g. article) the PDF file is produced with no errors.
Can you help me figure out what I'm doing wrong?
Thank you in advance
Best Answer
This issue seems to be caused by calling
\includepdf
right after\begin{document}
. You can either add some text, or use\null
to put 'something' without any effect before including yourpdf
: