3
votes

I am using the pdfpages package to include a PDF document as appendix into my main latex document as follows:

\usepackage{pdfpages}
\includepdf[pages=-]{myfile.pdf}

In general, this approach works but I have the following issues:

  • The page orientation of the pages of the included PDF file vary: some are portrait and some are landscape. When including the PDF like described above all included pages have portrait orientation. Is it possible to use the original orientation of each included page?
  • The pages of the Latex PDF document are numbered. The pages of the included PDF are not numbered. Is it possible to continue the normal numbering also for the included pages?

Thanks!

1

1 Answers

7
votes

To continue normal numbering:

\includepdf[pages=-,pagecommand=\thispagestyle{plain}]{myfile.pdf}