Hello! I observed a strange thing when experimenting with colored text.
---8<---- \documentclass{article} \usepackage{xcolor} \usepackage{bookmark} \begin{document} \tableofcontents \newpage \section{One} \section{\color{red}Two} \section{Three} \end{document} --8<------ I ran this through xelatex (texlive 2018 on windows 10-64) three times to get the toc right. There is a pdf bookmark for each section, but the second one is "redTwo" instead of "Two". Is there a way to avoid that? Regards Hartmut -- Siemens Mobility GmbH SMO RS LMC EN LM CCI2 CCU DIAG Siemenspromenade 5 91058 Erlangen, Germany Phone: +49 (9131) 17-50518 Mobile: +49 (173) 5342327 mailto:hartmut.niem...@siemens.com www.siemens.com [Logo] Siemens Mobility GmbH; Chairman of the Supervisory Board: Roland Busch; Management Board: Karl Blaim, Michael Peter; Registered office: Munich, Germany; Commercial registry Munich, HRB 237219; WEEE-Reg.-No. DE 92917817