[Tex/LaTex] Include PDF with small page size

external filespdfpages

I want to include an external PDF in my document. The PDF looks like this (except not redacted). As you can see, the last page is smaller than the others. Using \includepdf with pdfpages, the last page's content has been centered on a normal size page. I want the pages to appear in the document as they are in the pdf.

Best Answer

\documentclass{article}

\usepackage{pdfpages}


\begin{document}

\includepdf[page=1,fitpaper]{mooi}
\includepdf[page=2,fitpaper]{mooi}
\end{document}

EDIT

\documentclass{article}

\usepackage{pdfpages}
\usepackage{pgffor}

\begin{document}
\foreach \x in {1,2}
 {\includepdf[page=\x,fitpaper]{mooi}}
\end{document}