> On 15 Apr 2017, at 00:22, Hans Hagen <pra...@wxs.nl> wrote:
> 
> On 4/14/2017 12:42 PM, Hans Åberg wrote:
>> With the STIX Two fonts [1-2], one can choose say Stylistic Set 8 <ss08> for 
>> more upright integrals. How is that done in ConTeXt with XITS?
>> 
>> 1. https://sourceforge.net/projects/stixfonts/
>> 2. https://en.wikipedia.org/wiki/STIX_Fonts_project#STIX_2.0.0
> 
> see stix-two-math.lfg
> 
> \setmathfontalternate{whatever}

On MacOS, it does not load the fonts: In the example below (also not working 
with 'xits' or 'stix'), I get:
fonts           > typescripts > unknown library 'stix-two-math'
fonts           > preloading latin modern fonts (third stage)
fonts           > 'fallback modern-designsize rm 10pt' is loaded

They are installed as system fonts.

Also, though \iiiint now seems defined, the limits are still underneath with 
the option 'integral=nolimits'.


----
%\setupbodyfont[xits,10pt]
%\setupbodyfont[stix,10pt]
\setupbodyfont[stix-two-math,10pt]

%\setupmathematics[integral=nolimits, lcgreek=normal, default=normal, 
stylealternative={upright}]
\setupmathematics[integral=nolimits, lcgreek=normal, default=normal]

\appendtoks
  \catcode`∫=\activecatcode
  \letcharcode `∫ \int
  \catcode`∬=\activecatcode
  \letcharcode `∬ \iint
  \catcode`∭=\activecatcode
  \letcharcode `∭ \iiint
  \catcode`⨌=\activecatcode
  \letcharcode `⨌ \iiiint
\to \everymathematics


\starttext

\startformula
  ⨌_𝐴 𝑓(𝑥)\, d𝑥 = ∫_𝐵 ∭_𝐶 𝑓(𝑡, 𝒙)⊗g\, d𝑡 d𝒙
\stopformula

\startformula
\setmathfontalternate{upright,circled}
  ⨌_𝐴 𝑓(𝑥)\, d𝑥 = ∫_𝐵 ∭_𝐶 𝑓(𝑡, 𝒙)⊗g\, d𝑡 d𝒙
\stopformula

\stoptext
----


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to