On 10/22/2026 2:42 PM, Jim Diamond wrote:
?! Sorry, are you saying that the example I sent works on your system?If so, do you have the New CM fonts in one of the directories that your setup has already cached?
i only tested the simple example i sent not something with fresh bodyfont switches in a box etc
i put the fonts in tex/texmf-fonts/fonts/data/testonly/cmnewamong the other thousands of fonts i am supposed to check and then ran "mtxrun --generate"
just make sure the order is right, don't mess with content before \starttext unless you're sure a font is loaded (context does not preload (!), only loads lm w@ starttext when no font is loaded yetOK. I didn't *think* I was messing with content before \starttext, but without understanding the full effects of \usefontpath and \usebodyfont I can't be certain of that.
anyway, don't assume any font to be present before \starttext unless some bodyfont has been setup .. otherwise you get some fallback monospace or just nothing
try this: Hi Jim \starttext test \stoptext and closely watch the console, log and pdf
Background: someone wanted ANSS-CE to have small caps working in SS text
(when the document font is LM). Since LM does not have a small caps
variant ("style"?) for SS, someone else suggested using New CM for SS,
since New CM SS *does* have small caps.
oh, just use pseudocaps then ... no one will notice at that size
Now, for my own system, it would be expeditious to just install New CM in
one of the usual places and run those commands, as you suggest. However,
it would be nice it someone downloading the source for ANSS-CE was able to
just untar/unzip/clone it, and then enter the directory of interest and type
context introCTX_eng.tex
Could work but there's always a danger of a clash with fonts in another place then.
or even
make
whatever that does
We could add directions telling the person who wants to process ANSS-CE him/herself to install New CM somewhere and then run those commands, but it would be a lot nicer if things Just Worked™ without asking some (probable) newish ConTeXt user to know where the files should be put before running those commands.
\cap{xxx}
Today I tried my test with TL2026 (2026.09.10) and things are OK there. While I suspect it is working with that version of ConTeXt because TL2026 ships with the New CM fonts installed, I can't be 100% sure of that.then \setupbodyfont should do the job when the "type-imp-foo" file is there with a font setup for "foo" , otherwise \usetypescriptfile + whatever you name it (there are several cm clones now and i suppose with ai present more will show up)When *I* use \setupbodyfont[newcomputermodern] (with or without \usetypescriptfile[newcomputermodern] and \usebodyfont[newcomputermodern]) the Schola table remains messed up.
\usebodyfont[schola]
\usebodyfont[newcomputermodern]
\usebodyfont[pennstander]
\setupbodyfont[dejavu]
\starttext
{\switchtobodyfont[schola]Back to school!}
{\switchtobodyfont[newcomputermodern]Back to old school!}
{\switchtobodyfont[pennstander]Looks nice!}
{Now I get a \unknown}
\stoptext
In particular, the suggested structure from your previous message did not work (for me).the more creative you are with placing fonts in various paths, the more likely it can clash (you can always enable trackers to see where / what / why / how)Please trust me, I am not trying to be creative here! Like R.J. Drofnats, I just want to typeset a beautiful document.
well, that guy is accustoed to be baffled 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
-----------------------------------------------------------------
oeps.pdf
Description: Adobe PDF document
___________________________________________________________________________________ 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 ___________________________________________________________________________________
