Am Tue, 12 May 2020 16:00:25 +0200 schrieb Pierre Dupond:

> What is curious is that the name of the font seems to be correctly
> recognised like it is shown in this log extract:
>    
> (/opt/texlive/2019/texmf-local/tex/latex/unicode-math/unicode-math-table.tex)))
>    )
>    kpathsea: Running mktextfm Asana-Math.otf/OT

messages often do more expansion than the actual code. 

> Any ideas?

Expand the var. And better use a tl-var instead of str-var. the
comparision code of font spec don't expect a string there.

\tl_const:Nn \c__test_MathFont_tl {Asana-Math.otf}
\exp_args:No\setmathfont{\tl_use:N \c__test_MathFont_tl}

> \AtBeginDocument{\ExplSyntaxOff}

Better remove this. It is unneeded.


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

Reply via email to