[XeTeX] color name in headline bleeds into pdf bookmarks
heiko.oberdiek at googlemail.com
Thu Jan 13 19:46:25 CET 2022
On 2022-01-12 16:41, Niemann, Hartmut wrote:
> I observed a strange thing when experimenting with colored text.
> There is a pdf bookmark for each section, but the second one is “redTwo”
> instead of “Two”.
> Is there a way to avoid that?
Yes, use \textcolor instead of \color. The former macro is disabled
in bookmarks, the latter is not supported.
More information about the XeTeX