Closed adunning closed 6 years ago
Yuck. I'm not sure what I can do here. I could just take the euro sign out of unicode-math, but it sounds like people may be relying on it.
At the moment the machinery that defines \euro
is pretty deep but it's not set in concrete — I've had thoughts to change it around for quite some time now.
The way to fix this particular problem is just to write
\AtBeginDocument{\renewcommand{\euro}{€}}
instead — is that enough to overcome the problem for the time being?
Thanks for the suggestion! We solved the problem by switching to writing the Unicode euro symbol directly and using the textcomp
package to allow compilation with pdfLaTeX, but the alternate approach is good to know about in case it comes up again.
(Sorry for the slow reply, by the way!)
Not at all! Thanks for looking at it!
When creating a
\newcommand
using the unicode-math (2017/08/02 v0.8f) and hyperref packages, LuaLaTeX or XeLaTeX fail when parsing the command:Error:
This came up via https://github.com/jgm/pandoc/issues/3801. It works if one writes € directly instead of
\euro
, but Pandoc wasn't doing that in the past for compatibility with pdfLaTeX.Oddly, one can avoid the problem under LuaLaTeX but not XeLaTeX by using the
bookmark
package instead ofhyperref
.