0

I have a question regarding the pagenumbering in the toc and also on the pages of my appendices.

TOC: I would like all numbering as for I (chapter) the others are appendix sections and have different numbering style. And I would like them to be aligned right.

enter image description here

PAGES: The appendices are \includepdf files and unfortunately the pages don't get numbered. So from chapter I onwards, there is no pagenumbering on the actual pages.

%% appendix.tex
\part*{Appendices}

\includepdf[pages=1,picturecommand*={\put(133,660){\parbox{\textwidth}{\section{{Test}\label{app:Test}}}}}, scale=0.8, offset=80 -80]{appendices/Test.pdf}

Does anyone have an idea how to fix my issues? Thanks :-)

1 Answers1

0
  1. Option pagecommand of \includepdf sets \thispagestyle{empty} by default. If you don't like this, disable it with pagecommand={}.

  2. Use option addtotoc to generate TOC entries.

\includepdf[
  pages=-,
  addtotoc={1, section, 1, First PDF, sec:first},
  pagecommand={}
]{example-image-a4-numbered.pdf}

To reference this document use \ref{sec:first}.