[pdftex] hyperref and chapter with empty names

Heiko Oberdiek oberdiek at uni-freiburg.de
Tue Dec 19 22:52:33 CET 2006


On Tue, Dec 19, 2006 at 05:19:32PM +0000, Turlupin wrote:

> I use hyperref to have the "bookmarks" in a pdfreader.
> My text has chapter with empty name, in the table of content i have
> something like that :
> 
> I.............
> II...........
> III..........
> 
> (i'm use \Roman)
> 
> The best would be to have something like "Chapter I" instead of "I", my most

\pdfstringdefDisableCommands{%
  \def\thechapter{\chaptername\space\Roman{chapter}}%
}

or something like this.

> important problem is that in the bookmarks, chapters appear as "undefined"

This is unclear --> provide a complete, but minimal example.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the pdftex mailing list