You should probably use the command \texorpdfstring{TEXstring}{PDFstring}

See Hyperref-manualpdf p. 19 :

hyperref takes the text for bookmarks from the arguments of commands like \section, which can contain things like math, colors, or font changes, none of which will display in bookmarks as is.

\texorpdfstring{TEXstring}{PDFstring}
For example,
\section{Pythagoras:
\texorpdfstring{$ a^2 + b^2 = c^2 $}{%
a\texttwosuperior\ + b\texttwosuperior\ =
c\texttwosuperior
}%
}
\section{\texorpdfstring{\textcolor{red}}{}{Red} Mars}

Jean

Le 11/05/2018 à 14:32, Sasho Popov a écrit :
I use MikTeX 2.9. Now, according to the requirements of an AIMS journal, I should use package hyperref. I obtain 27 warnings of the type

Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref)                removing `\omega' on input line 512.

I do not know what to do and need help. Thank you in advance.

Sasho


---
This email has been checked for viruses by AVG.
http://www.avg.com


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Q: How can I leave the mailing list?
A: See https://miktex.org/faq/how-can-i-leave-the-mailing-list


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Q: How can I leave the mailing list?
A: See https://miktex.org/faq/how-can-i-leave-the-mailing-list

Reply via email to