Seeing the code wasn't producing the expected result I did two change
in one go, without clearly noticing it: my mistake.
The script as it is, with or without the force, keep drawing the
blackboard glyphs with Latin Modern Math. I put the script again so
that there is no ambiguity:
\definefontfamily [mainface] [rm] [Latin Modern Roman]
\definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math]
[range=uppercasedoublestruck,force=yes]
%\definefontfamily [mainface] [mm] [TeX Gyre Termes Math]
\definefontfamily [mainface] [mm] [Latin Modern Math]
\setupbodyfont[mainface]
\starttext
\startformula
ABC \quad {\blackboard ABCN} \char"2115 % still Latin Modern Math
\stopformula
\stoptext
Chris
On Sun, Dec 22, 2013 at 5:40 PM, Wolfgang Schuster
Am 22.12.2013 um 17:33 schrieb Elspeth McGullicuddy
: I've done the install with the script and it worked just out of the box.
I've found all the sources I was looking for (pity (or not), they are not indexed by google).
I've made this tiny change to have the behavior I was looking for:
\definefontfamily [mainface] [rm] [Latin Modern Roman]
\definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] [range=uppercasedoublestruck] [force=no]
The “range” and “force” settings have to be set in the same argument and even then I don’t think you want “force=no” because this would take the glyphs from Latin Modern and your fallback font is ignored.
The purpose of the “force” and “check” keys is explained in the source for the fallback mechanism:
% check : only replace when present in replacement font (default: no) % force : force replacent even when basefont has glyph (default: yes)
Wolfgang ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________