On 16 Apr 2017, at 19:15, Hans Hagen
wrote: On 4/16/2017 6:01 PM, Hans Åberg wrote:
So far I have only used \setupbodyfont[xits,10pt], but found no info about how to specifically selecting fonts for the different modes or ranges.
\setupbodyfont[termes] \setupbodyfont[pagella] \setupbodyfont[bonum]
But that sets it for all, text and math, right?
just use a text font .. why does texinfo needs a math font? only for math i assume
Right, and writing the Unicode math characters in the UTF-8 source file, in part because they will be also used as such in the source code of a program. One can otherwise embed formulas using traditional TeX syntax.
it's a bit more complex in the tex world: users are accustomed to seeing the a in $a$ becoming a math italic a and $\bf a$ getting a bold a .. both are in the unicode math alphabet so a macro package has to support both these switch driven inputs and direct unicode math (also because cut and paste from a pdf should work)
We discussed that by option \setupmathematics[lcgreek=normal, default=normal], which makes sure math characters are untranslated. I have used that for some time now, and that works fine.
(the way macro packages implement that can be fundamental different)
(there is a font project under way that will provide monospaced math characters for editing)
We discussed that, too. ASCII computer code that has been written in monospace using space to produce column looks weird in a variable width font, but otherwise, it is just a style.
Also, in script/calligraphic, STIX2 seems to have is the other way around relative stix-two-math.lfg: setting the feature 'ss01' yields the traditional English script style, whereas the default is the AMS calligraphic style.
that's also a design issue
Not anymore, perhaps, as some mathematicians seem to think of them as different semantic styles.
if so, then that will be reflected in unicode alphabets (just make a string case for it)
It has been discussed on the Unicode list. Personally, I think the calligraphic style looks wrong. The script style is essentially an English handwritten style, also used in Sweden.