Hello everybody,
I encounter a problem to add the TOC in the TOC without however make it visible like other sections. The goal being to be able to reach it since Acrobat Reader or Apercu since the panel of navigation.
Just like in the picture attached.
By thanking you in advance for your assistance, sorry for my English
General ⇒ Add ToC Entry only to Bookmarks
Add ToC Entry only to Bookmarks
- Attachments
-
- toc2.jpg (17.5 KiB) Viewed 5627 times
-
- toc.jpg (16.35 KiB) Viewed 5627 times
Last edited by momsse on Mon Aug 15, 2011 7:03 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Add ToC Entry only to Bookmarks
What code are you using now? \addcontentsline? If so, don't use that. Use the \pdfbookmark command from the hyperref package. See its documentation, page 17.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Add ToC Entry only to Bookmarks
Hi,
obviously you would like to create a PDF bookmark but no entry to the table of contents. This should be no problem. The hyperref package provides commands to produce bookmarks, the bookmark package is even better for customizing PDF bookmarks. Just avoid making a TOC entry then, perhaps you used the tocbibind package or something else.
If you need details, show details, such as a compilable minimal working example of your code, which might consist mostly of cour preamble.
Stefan
obviously you would like to create a PDF bookmark but no entry to the table of contents. This should be no problem. The hyperref package provides commands to produce bookmarks, the bookmark package is even better for customizing PDF bookmarks. Just avoid making a TOC entry then, perhaps you used the tocbibind package or something else.
If you need details, show details, such as a compilable minimal working example of your code, which might consist mostly of cour preamble.
Stefan
LaTeX.org admin
Add ToC Entry only to Bookmarks
Thank you both of you, i resolve my problem with your help.
I combined the tocbibind package for removing them from the TOC and used the pdfbookmark command for put it as i wanted it.

I combined the tocbibind package for removing them from the TOC and used the pdfbookmark command for put it as i wanted it.
Code: Select all
\usepackage[nottoc, notlof, notlot]{tocbibind}
\pdfbookmark{Table des matières}{contents}
\tableofcontents
