On 4/28/2018 3:11 PM, Ulrike Fischer wrote:
I have no idea how to transpose the following latex example to
context. Also in my opinion the input is wrong, it should be written
as \mathtestbase{fb}^{-1} (and this works fine).

so what is \mathtestbase doing? (i don't see a fb lig in that font (unless i have the wrong font of course))

So I'm only posting this for the case that it indicates some hidden
problem in the fontloader.

The error I get from the document below is

! error:  (nodes): attempt to double-free math_char node 100300,
ignored
!  ==> Fatal error occurred, no output PDF file produced!

The fonts used are

[latinmodern-math.otf]:mode=base;script=math;language=DFLT;
and
STIXTwoText:mode=base;script=latn;language=DFLT;

Imho the relevant points to trigger the error are
- a math alphabet which uses mode=base
- a ligature in this font (fb here)
- a following math symbol directly behind the ligature (\int would
give an error too).

\documentclass{article}
\usepackage{unicode-math}
\setmathfontface\mathtestbase{STIX Two Text}[Renderer=Basic]
\begin{document}
  $\mathtestbase{fb^{-1}}$
\end{document}



--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to