# [lltx] issue with \texorpdfstring{}

Pablo Rodríguez oinos at web.de
Thu Dec 23 10:13:51 CET 2010

Hi there,

I have the following document:

\documentclass{article}
\usepackage[spanish]{babel}
\usepackage{hyperref}
\begin{document}
\section{Ley
(\texorpdfstring{\begin{hyphenrules}{ancientgreek}νόμος\end{hyphenrules}}{νόμος})}
\end{document}

which uses \texorpdfstring to enable hyphenation and aviod problems with
hyperref.

I must be missing something extremely basic, but I don't know why it
doesn't work (I get an error: "! Argument of \@sect has an extra }.").

What am I doing wrong here?