[XeTeX] Xetex, Latex3, unicode-math and Math font not found
Pierre Dupond
76nemo76 at gmx.ch
Wed May 13 15:22:19 CEST 2020
Hi Phelype,
On Wed, 13 May 2020 09:08:03 -0300
Phelype Oleinik <phe.h.o1 at gmail.com> wrote:
> \tl_use:N doesn't fully expand with one expansion step, so you have to
> use e or x (f could also be used, but that might consume a space at the
> head of the token list).
>
> With \exp_args:No \cmd { [ \tl_use:N \c_some_tl ] }, the \expandafter
> will hit the [, and do nothing at all. x or e expansion will also do the
> trick here:
>
> \exp_args:Nxx \setmathfont
> { \tl_use:N \c__test_MathFont_tl }
> { [ \tl_use:N \c__test_MathFontSpec_tl ] }
>
Thanks for the explanations but this form does not work.
I had already tried it and the font "Asana-Math" is made
by METAFONT with the following error message (meaning that the
optionnal parameter "[Extension=.otf]" has not been understood)
(/opt/texlive/2019/texmf-local/tex/latex/unicode-math/unicode-math-table.tex)))
kpathsea: Running mktextfm Asana-Math/OT
/opt/texlive/2019/texmf-dist/web2c/mktexnam: Could not map source abbreviation O for OT.
/opt/texlive/2019/texmf-dist/web2c/mktexnam: Need to update /opt/texlive/2019/texmf-dist/fonts/map/fontname/special.map?
> or
>
> \use:x
> {
>
> \setmathfont { \tl_use:N \c__test_MathFont_tl }
> [ \tl_use:N \c__test_MathFontSpec_tl ]
> }
This version of the command works correctly. I have no idea why
the first form does not work and the second is correct.
I have decided to write a style to solve a problem and to learn
LaTeX3. The learning is harder than I have thought...
Thanks for the help,
Pierre
--
Pierre Dupond <76nemo76 at gmx.ch>
More information about the XeTeX
mailing list.