\documentclass{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{textalpha} \usepackage[unicode]{hyperref} \begin{document} Test the problem with `makeatother' in textalpha.sty. \section{Ἀριστοτέλης} When commenting out the `makeat...' lines, there is spurious output (command parts from the indirectly loaded greek-fontenc) before the document starts. \section{\ensuregreek{\accpsili\textAlpha\textrho\textiota\textsigma\texttau \textomicron\texttau\'\textepsilon\textlambda\texteta\textfinalsigma}} Without loading `puenc.def', this heading becomes >Αριστοτέλη in the PDF sidebar. \end{document}