[pdftex] problems with \texorpdfstring
Victor Ivrii
vivrii at gmail.com
Sat Dec 9 10:54:33 CET 2006
On 12/9/06, Heiko Oberdiek <oberdiek at uni-freiburg.de> wrote:
> On Sat, Dec 09, 2006 at 03:53:14AM -0500, Victor Ivrii wrote:
>
> > I encountered strange problem possibly due to wrong setup (new hyperref sits in
> > /usr/local/teTeX/share/texmf.local/tex/latex/hyperref
> >
> >
> > While say
> >
> > \section{\texorpdfstring{$\beta$}{\textbeta}} works well
> >
> > \section{\texorpdfstring{$\beta$}{\textalpha}} fails (undefined )
> >
> > What is more with preamble containing
> > \DeclareTextCommand{\textalfa}{PU}{\83\261}
> >
> > I get tex capacity exceeded
>
> PDFDocEncoding (PD1):
>
> \documentclass{article}
> \usepackage{hyperref}
> \begin{document}
> \section{\texorpdfstring{}{\textalpha}}
> \end{document}
>
> ! Undefined control sequence.
> <argument> \textalpha
>
> PDFDocEncoding doesn't support alpha. However beta is indirectly
> supported by \ss. Best approximation for alpha is probably "a":
>
> \documentclass{article}
> \usepackage{hyperref}
> \DeclareTextCommand{\textalpha}{PD1}{a}
> \begin{document}
> \section{\texorpdfstring{x}{\textalpha}}
> \end{document}
>
> No errors or warnings.
>
>
> Unicode (PU):
>
> \documentclass{article}
> \usepackage[unicode]{hyperref}
> \begin{document}
> \section{\texorpdfstring{}{\textalpha}}
> \end{document}
>
> No errors or warnings.
Thanks a lot! Stupid me - forgot unicode switch!!
>
> > hyperref: 2006/09/06 v6.75e
>
> 2006/11/30 v6.75h
I am using mpm for UNIX mainly and it causes some updating delay
Updating manually
Victor
>
> Yours sincerely
> Heiko <oberdiek at uni-freiburg.de>
> --
> _______________________________________________
> pdftex mailing list
> pdftex at tug.org
> http://tug.org/mailman/listinfo/pdftex
>
--
========================
Victor Ivrii, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii
More information about the pdftex
mailing list