I have a chapter of attachments which contains pdf files in this format, using the awesome pdfpages package:
\chapter{Title}
Lots of multipage pdfs following
\includepdf[pages=-,frame,scale=0.9]{abc.pdf}
\includepdf[pages=-,frame,scale=0.9]{def.pdf}
...
This works, but apparently clears out the header and page numbers of the parent document. What setting do I have to change to get back the header and page numbers?
Best Answer
You can use the
pagecommand
key to declare the desired page style for the included pages:The file b.tex used to produce
b.pdf
is:The resulting document, after the inclusion is (notice that the included pages have the
fancy
page style of the parent document):