Trying to build the following MWE fails (at least here: TL2019, lualatex)


%\usepackage{datatool}%<-- loading the package here seems to be fine
\setmathfont{Cambria Math}
\usepackage{datatool}%<-- loading the package here, fails with errors



As a workaround I just moved the \usepackage{datatool} before the \setmathfont command. Is this safe? Or does this potentially cause other sideeffects in the future?

  • 2
    datatool loads amsmath, and amsmath should (currently) be loaded before unicode-math. – Ulrike Fischer Jul 18 '19 at 18:27
  • @UlrikeFischer your explaination is fine for me. Should I delete this trivial seeming question? Or would you like to answer (I would accept it). – lAtExFaN Jul 18 '19 at 18:47
  • Unless it's a duplicate, this seems valuable information that would deserve an answer in my opinion (even a short one). Especially if there is a typical error message, so that people Googling for the message can find the info. – frougon Jul 18 '19 at 19:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.