I did the following (just in case):
  export DOFONTDIR=
  mtxrun --script font --reload
  context simplefonts-error.tex

The file simplefonts-error.tex is just what Wolfgang suggested:
  \definetypeface[mainface][rm][serif][modern]
  \definetypeface[mainface][mm][math] [modern]

  \setupbodyfont[mainface]

  \starttext
  \startformula
   \binom{1}{2}
  \stopformula
  \stoptext

After perusing the log file, here are the font files that are loaded:
/DATA/context-minimals/tex/texmf/fonts/opentype/public/lm/lmmath.otf
/DATA/context-minimals/tex/texmf/fonts/opentype/public/lm/lmroman10-regular.otf.

I really wish to use Calluna with Latin/Computer Modern math because I
find palatino too narrow.


PS: if I should send files in private mails only, just tell me.

-- Cédric



On Mon, May 23, 2011 at 15:20, Aditya Mahajan <adit...@umich.edu> wrote:
> On Mon, 23 May 2011, Wolfgang Schuster wrote:
>
>>
>> Am 23.05.2011 um 12:13 schrieb Cedric Mauclair:
>>
>>> Hi list,
>>>
>>> I have some troubles with the simplefonts module. The following worked
>>> fine before (2011.02.25 22:03, need to add '\usemodule[newmat]'), but
>>> doesn't anymore (2011.05.18 22:26).
>>
>>
>> It’s the fault of the OpenType version of the LM Math fonts which
>> are used when you use the simplefonts module:
>>
>> \definetypeface[mainface][rm][serif][modern]
>> \definetypeface[mainface][mm][math] [modern]
>>
>> \setupbodyfont[mainface]
>>
>> \starttext
>> \startformula
>>  \binom{1}{2}
>> \stopformula
>> \stoptext
>
> If I don't use any font setup, then the result is correct. Isn't opentype
> math setup used in both cases?
>
> Aditya
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>

Attachment: simplefonts-error.pdf
Description: Adobe PDF document

Attachment: simplefonts-error.log
Description: Binary data

Attachment: simplefonts-error.tex
Description: TeX document

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to