hyperref can't handle in bookmarks commands which have been \let to a char: https://github.com/ho-tex/hyperref/issues/63. After looking quite some time in the hyperref code I don't see a way out which works also with xetex as one would need an expandable test for such commands.
unicode-math creates quite a lot of such commands. Is this necessary or could the definitions be changed to the equivalent of \edef\euro{\string€} instead?
Description
hyperref can't handle in bookmarks commands which have been \let to a char: https://github.com/ho-tex/hyperref/issues/63. After looking quite some time in the hyperref code I don't see a way out which works also with xetex as one would need an expandable test for such commands.
unicode-math creates quite a lot of such commands. Is this necessary or could the definitions be changed to the equivalent of \edef\euro{\string€} instead?