I am using babel with hyperref, but get the following message repeated several times during compile when I include arabic (provided by the 'arabi' package) as an option of babel:
The default document language is English.Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding)
I'd like to know what exactly this is caused by, and how the message can be eliminated.
Below is an MWE:
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage[cp1256,latin1]{inputenc}\usepackage[arabic,english]{babel}\usepackage[LAE,T1]{fontenc}\usepackage{hyperref}\begin{document}\selectlanguage{english}\section{Section 1}\subsection{Subsection 1}\subsection{Subsection 2}\section{Section 2}\subsection{Subsection 1}\subsection{Subsection 2}\end{document}