Re: hyperref, \%, umlaut and a difference between xelatex and pdflatex
"Niemann, Hartmut" <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <1AE3002F400CE4498072DFDF74A843CC04D19474@DEFTHW99EH3MSX.ww902.siemens.net> |
Hello François, merci beaucoup for this tip, it works indeed. I have sent an email to Heiko Oberdiek, the hyperref and bookmark author, maybe he can fix the root cause. Mit freundlichen Grüßen Dr.Hartmut Niemann > -----Ursprüngliche Nachricht----- > Von: Pétiard François [mailto:[email protected]] > Gesendet: Mittwoch, 9. Oktober 2013 11:55 > An: [email protected] > Betreff: Re: [MiKTeX] hyperref, \%, umlaut and a difference between > xelatex and pdflatex > > Le 09/10/2013 11:14, Niemann, Hartmut a écrit : > > Hello! > > > > I have trouble with a fragile command in a headline, and a subtle > difference between pdflatex and xelatex. > > > > I need a percent sign in a headline. > > When switching from pdflatex to xelatex, hyperref breaks in an > interesting way: > > If I have an "ü" umlaut (\"u) and a \% in a headline, the hyperref > > bookmark file can not be parsed in the next pass. > > I thought \protect was meant to solve such problems, but for a reason > > I do not know the \protect has no effect. > > The translation of special characters to \0xx must be disabled > somehow. > > > > (this is a fairly recent MiKTeX 2.9 on Win7) > > > > Does anybody have an idea what is going on here and who could/should > fix what? > > Hello > > With the package bookmark, there is no problem : > > \documentclass{article} > \usepackage{hyperref}% > \usepackage{bookmark} > \begin{document} > \tableofcontents > \section{Hallo} > \section*{Meldung 541: Level \protect\textgreater{} 95 \protect\%} > \addcontentsline{toc}{section}{Meldung 541: Level > \protect\textgreater{} > 95 \protect\%} > \section*{Meldung 542: Fullstand \protect\textgreater{} 95 \protect\%} > \addcontentsline{toc}{section}{Meldung 542: Fullstand > \protect\textgreater{} 95 \protect\%} \section*{Meldung 543: > F\"ullstand \protect\textgreater{} 95 \protect\%} > \addcontentsline{toc}{section}{Meldung 543: F\"ullstand > \protect\textgreater{} 95 \protect\%} \end{document} > > > François > > > -- > [email protected] ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk