On 10/22/2026 5:10 PM, Jim Diamond wrote:
mkxl run stats > loaded fonts: 3 files: latinmodernmathcompanion-regular.otf,
latinmodern-math.otf, lmroman10-regular.otf
Specifically, I ask myself "Why did it load the math fonts?".
because we can have symbols (by name) that come from a math font just
like we can have verbatim, so we always have a math and monospace
defined; now, the reason why thereis some math font loaded is that we
can't delay it: when we switch to some bodyfont we need to set up math
parameters because they all relate to the whole setup (old school plain
tex users like that guy called Jim might want to inspect some font dimen
and don't like a crash on a missing text0 font or so)
Our friend Pablo prefers Pagella, and so I added a mode switch to ANSS-CE
(English version) so that all the Pablos of the world could see ANSS-CE in
Pagellic majesty. And, to avoid ruining their aesthetic pleasure (this is
all about nice looking documents, right?), I didn't want to corrupt the
Pagellite's small caps. It was suggested (I'm not mentioning any names
here) to use NCM to solve this problem. As they say, "it seemed like a
good idea at the time".
in that case yuu can always test if a font exists or so .. you can of
course delegate to pablo anyway (or just go for pagella and forget about
some lm clone for the sake of making tex great again)
That's true, although since (experiments show) that if someone has NCM in
their cached fonts, their context will pick those up. And if they have a
font claiming to be NCM which is different enough to cause problems, I
think that is a problem for another time.
indeed, so assume pablo has a proper font setup, no one liked a ton of
fonts in some local path
Max wrote a Makefile for ANSS-CE so that incanting
make
will create (or update as neccesary) all of the different languages and (if
desired) all of the different versions (screen, paper) of the documents.
context --parallelmodes=screen,paper --pattern=whatever-*.tex
(with the latest, i added --parallelmodes, otherwise just make a text
file with lines to process, see workflow manual)
(is more portable than a makefile and it uses by default 8 cores but in
your case --runners=12 might you all your cores)
add --terminal=ansi for more fun
What I could have used was a macro that said
if using some font for which there is no \sc variant,
use \cap
else
use \sc
But then I would need to either set some flags (or equivalent) earlier, or
learn how to interrogate the SS style of the global font and ask it how it
feels about the small caps issue.
could -> should
This gets back to knowing all of the fonts that are going to be used in the
document and listing them in the environment file. Doable, but possibly
error-prone.
well, doable imo, we do it for the math manual and actually it then runs
much faster too
Increasingly, so am I. Perhaps there is some support group he and I can
join.
the "context group" comes to mind .. more users should join .. only
members have a real say in matters
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________