Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need to write $E_{\text{s}}$ in a pdf-bookmark, but

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage[unicode]{hyperref}
%209B ;LATIN SUBSCRIPT SMALL LETTER S;Lm;0;L;<sub> 0073;;;;N;;;;;
\DeclareTextCommand{\textsinferior}{PU}{\9040\233}%
\begin{document}
\section{\texorpdfstring{$E_{\text{s}}$}{E\textsinferior}}
\end{document}

gives bookmark as bookmark (at least in Adobe Reader 10.1.3 and Sumatra, both @ Win XP) and no error in the log-file. What is my mistake, and how is it done right?

I have placed the pdf at https://www.zeta-uploader.com/1675640013 (link will rot at 2012/06/19).

Edit: As was confirmed by tests performed by fellow tex.SE users (thanks!), on some systems the pdf displays all right, on other systems it does not. Thus this is a viewer/os/installed fonts/... issue and not a TeX one. Sorry to have bothered you & thanks for testing (.tex as well as .pdf).

share|improve this question

closed as off topic by Stephen, Seamus, egreg, lockstep, Marco Daniel Jun 15 '12 at 15:19

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
It seems to be pdf-reader dependent. I have no problem with the bookmark in either Evince or Okular on Linux. What version of Adobe Reader do you use? –  aagaard Jun 12 '12 at 10:05
    
Using Adobe reader X I have no problems at all. –  Rick de Groot Jun 12 '12 at 10:14
    
I concur with @aagaard: the font used by Adobe Reader must have the character in order to show it. On my machine it shows indeed a (very tiny) "subscript s". –  egreg Jun 12 '12 at 10:20
    
@egreg: Could you please check whether my pdf is OK? https://www.zeta-uploader.com/1675640013 If it is, it's not TeX-related at all but some font problem on this PC. –  Stephen Jun 12 '12 at 11:28
    
@Stephen It shows exactly like my test. –  egreg Jun 12 '12 at 12:03

Browse other questions tagged or ask your own question.