Hi all, in my environment file, I have defined a math font: \definefontfamily [thomas] [math] [XITS Math] and as far as I can see in the log file, this font is found: system > 9: filename=xits-math.lfg filetype=tex foundname=/Users/lmtx/tex/texmf-context/tex/context/fonts/mkiv/xits-math.lfg fullname=/Users/lmtx/tex/texmf-context/tex/context/fonts/mkiv/xits-math.lfg usedmethod=database system > 14: filename=XITSMath-Regular.otf filetype=otf format=otf foundname=/Users/lmtx/tex/texmf/fonts/opentype/public/xits/XITSMath-Regular.otf fullname=/Users/lmtx/tex/texmf/fonts/opentype/public/xits/XITSMath-Regular.otf usedmethod=database mkiv lua stats > loaded fonts: 16 files: texgyretermes-bold.otf, texgyretermes-italic.otf, texgyretermes-regular.otf, xitsmath-regular.otf, dejavusansmono.ttf, gentiumalt-i.ttf, gentiumalt-r.ttf, myriadpro-it.otf, myriadpro-regular.otf, kadmosu.otf, monotype - timesnrmtpro-bold.otf, monotype - timesnrmtpro-italic.otf, monotype - timesnrmtpro.otf, timesbold.ttf, timesitalic.ttf, times-roman.ttf nevertheless, on the terminal and in the log file, I get dozens of lines with this message fonts > math: unset for global bodyfont thomas at 11pt This is with the latest 2020.01.26 19:19. I have a slight suspicion that this behavior is new, but I’m not totally sure. It’s just a small nuisance, but something is wrong here, I would say? All best Thomas
On Fri, 7 Feb 2020 15:01:42 +0100
"Thomas A. Schmitz"
Hi all,
in my environment file, I have defined a math font:
\definefontfamily [thomas] [math] [XITS Math]
and as far as I can see in the log file, this font is found:
system > 9: filename=xits-math.lfg filetype=tex foundname=/Users/lmtx/tex/texmf-context/tex/context/fonts/mkiv/xits-math.lfg fullname=/Users/lmtx/tex/texmf-context/tex/context/fonts/mkiv/xits-math.lfg usedmethod=database
system > 14: filename=XITSMath-Regular.otf filetype=otf format=otf foundname=/Users/lmtx/tex/texmf/fonts/opentype/public/xits/XITSMath-Regular.otf fullname=/Users/lmtx/tex/texmf/fonts/opentype/public/xits/XITSMath-Regular.otf usedmethod=database
mkiv lua stats > loaded fonts: 16 files: texgyretermes-bold.otf, texgyretermes-italic.otf, texgyretermes-regular.otf, xitsmath-regular.otf, dejavusansmono.ttf, gentiumalt-i.ttf, gentiumalt-r.ttf, myriadpro-it.otf, myriadpro-regular.otf, kadmosu.otf, monotype - timesnrmtpro-bold.otf, monotype - timesnrmtpro-italic.otf, monotype - timesnrmtpro.otf, timesbold.ttf, timesitalic.ttf, times-roman.ttf
nevertheless, on the terminal and in the log file, I get dozens of lines with this message
fonts > math: unset for global bodyfont thomas at 11pt
This is with the latest 2020.01.26 19:19. I have a slight suspicion that this behavior is new, but I’m not totally sure. It’s just a small nuisance, but something is wrong here, I would say?
Does this also happen when you use \definetypeface to set the math font? \definetypeface [thomas] [mm] [math] [xits] [default] Wolfgang
On 2/7/2020 3:34 PM, Thomas A. Schmitz wrote:
On 7. Feb 2020, at 15:14, Wolfgang Schuster
wrote: Does this also happen when you use \definetypeface to set the math font?
\definetypeface [thomas] [mm] [math] [xits] [default]
No, with this change, the warnings are gone. New syntax? Or user error?
I bet on user error. We always need a math font because the math machinery has to be set up and context will kick in a fallback font when none has been set but that is done as last resort when \starttext happens. When this is done locally you will get the warnings. When you get a real error (abort), you probably have some content before fonts are set up. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Thomas A. Schmitz
-
Wolfgang Schuster