How can I remove the numbering of section of an icluded pdf on the table of contents. The picture shows what I have on the top and what I want on the bottom. I want it to appear the included pdf on te TOC as P05-001, without 9. Here is the code:

\chapter*{Anexo: Procedimientos}
\addcontentsline{toc}{chapter}{Anexo: Procedimientos}
\markboth{Anexo: Procedimientos}{}
\includepdf[pages={-},addtotoc={1, section, 2, P05-001, P05-001}, scale=0.7, pagecommand={}]{pdf/proc_2015/p05_001_2015.pdf}    

enter image description here

  • I don´t want to edit the pdf, I want to edit the TOC
    – jon
    Commented Dec 19, 2014 at 12:05
  • sorry I misread your example (easily done when it's a fragment that can't be used locally) I deleted my comment. Commented Dec 19, 2014 at 12:17

1 Answer 1


In the \backmatter chapters are not numbered, but go automatically in the table of contents; so if you have several of these “anexos”, it's better to use this feature.




\section{Blurb blurb}

\setcounter{secnumdepth}{-1} % no level is numbered

\chapter{Anexo: Procedimientos}

  addtotoc={1, section, 2, P05-001, P05-001},


enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .