I use the following code to produce bookmarks in a pdf document:
\pdfdest num 1 fit
\pdfoutline goto num 1 count 0 {äöüÄÖÜß}
äöüÄÖÜß
... more text ...
The text prints fine. The pdf bookmark shows umlaut characters but not the 'ß' (s-sharp) character. For 'ß' it displays: 'T1ss'. For the bookmark above 'äöüÄÖÜT1ss' gets displayed.
The documentation for \pdfoutline
includes the sentence:
'Note that this is limited to characters in the PDF Document Encoding vector.'
Since 'ß' is printed fine in the document, I assume it must be in the 'PDF Document Encoding vector' (and the 6 umlaut characters get printed and are inserted in the Bookmarks perfectly fine).
Do I need to review the PDF file structure? Where should I look for the 'PDF Document Encoding vector'?
And then, how can I ensure whether or not something gets included there?
I'm using both MikTeX 2.3 and MikTeX 2.9 on a Windows7 32 bit OS. Same result. T1 encoding has been used here for 15+ years, but interestingly, it was only last week that a colleague reported this Problem for the first time.
General document outline:
\pdfoutput=1
\documentclass[german]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{times}
\begin{document}
\pdfdest num 1 fit%
\pdfoutline goto num 1 count 0 {1 äöüÄÖÜß}
1 äöüÄÖÜß - etc. etc.
\eject
filler
\eject
\pdfdest num 2 fit%
\pdfoutline goto num 2 count 0 {2 äöüÄÖÜ{\ss}} % same result
2 äöüÄÖÜß - etc. etc.
\eject
filler
\end{document}
\detokenize{äöüÄÖÜß}
in the argument to\pdfoutline
; but you should perhaps look at thebookmark
package. – egreg Jun 3 '14 at 7:09\detokenize
in the argument to\pdfoutline
works with MikTeX 2.9. For history bufs,\detokenize
yields an 'unrecognized control sequence' error for MikTeX 2.3. I suppose it either hadn't made it's way into the older Version of pdflatex (which I don't believe is that old) or I've got an oddly configured old System on my Hands. – infowanna Jun 20 '14 at 12:46