# Inserting a PDF inputs it on the next page

I'm building an appendix, and there are a lot of PDF-documents. Each document should be its own appendix, that is each should be its own chapter.

The problem is that I want the PDF inserted right after the chapter-heading, but in practice its pushed to the next page.

\usepackage{pdfpages} % in config-file
\begin{appendices}
\chapter{Appendix name }
\label{app:label}
\includepdf[pages={-}]{appendices/mypdf.pdf}
\end{appendices}


That is: I get a page with a chapter-header, and no content, then a new page where the PDF is inserted. I haven't found any resources that explain this.

I looked in the answer given here, but that does not work either. (\includepdf[scale=0.8,pages=1,pagecommand=\chapter{chapname}]{testpdf} ), gives the following result:

The other answer in the same question is to do the following (except it wants to do it section not chapter:

\includepdf[pages=1,pagecommand=\chapter{Chapter Heading}]{appendices/backend-README.pdf}

• Please try \includegraphics[options]{appendices/mypdf.pdf} ? The options may be used as: page=2,trim={5cm 3cm 3cm 3cm} – Sunilkumar KS Nov 11 '15 at 12:33