Mh, no luck then. I tested your example without problems (log file
attached, maybe you see a difference).
Do you set any TeX related environmental variables by hand?

Am 26.08.2011 13:01, schrieb Hans van der Meer:
> This is the requested check:
> 
> 101 ~: mtxrun --locate lmmath-regular.otf
> /Users/hans/TeX/context/tex/texmf-fonts/opentype/public/lm/lmmath-regular.otf
> 
> The font seems to be there.
> Hans van der Meer
> 
> On 26 aug. 2011, at 12:54, Peter Rolf wrote:
> 
>> Am 26.08.2011 12:36, schrieb Hans van der Meer:
>>> I guess I am missing something in my font handling here, but do not know 
>>> what.
>>>
>>> Hans van der Meer
>>>
>>> This is the minimal example:
>>> \def\fontname{antykwa}
>>> \setupbodyfont[\fontname]
>>> \starttext
>>> Requested font = \fontname.\crlf
>>> \showbodyfont
>>> \stoptext
>>>
>>> This is my setup with respect to fonts:
>>> context/tex/texmf-fonts (link to /usr/local/textlive/2011/texmf-dist/fonts
>>>
>>> Executed: mtxrun --script fonts --reload
>>> Executed: mtxrun --script fonts --list --name antykwa
>>> giving as output:
>>> antykwatorunskaregular   antykwatorunskaregular   
>>> AntykwaTorunska-Regular.otf
>>>
>>> Below is the output of the minimal example. Mark that \showbodyfont names 
>>> modern, not antykwa. I get the same result with other fonts mentioned in 
>>> "fonts in context" page 69-71 as preloaded typescripts! 
>>>
>>> For example calling typeface cambria it even gives an error:
>>> ! Math error: parameter \Umathquad\displaystyle is not set.
>>>
>> I don't know if this is related, but I got a similar error message some
>> days ago. The problem here was the missing font 'lmmath-regular.otf'.
>> Can you check that on your installation?
>>
>> mtxrun --locate lmmath-regular.otf
>> R:/tex/texmf/fonts/opentype/public/lm/lmmath-regular.otf
>>
>>> system          > tex > error on line 6 in file test.tex: Math error: 
>>> parameter \Umathquad\displaystyle is not set ...
>>>
>>> 1     \def\fontname{cambria}
>>> 2     \setupbodyfont[\fontname]
>>> 3     \starttext
>>> 4     Requested font = \fontname.\crlf
>>> 5     \showbodyfont
>>> 6 >>  \stoptext
>>> 7     
>>>
>>> \doshowbodyfont ...mr \languageparameter \c!text $
>>>                                                  \quad }\vrule }\cr 
>>> \noalig...
>>> <to be read again> 
>>>                   \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://tex.aanhet.net
>>> archive  : http://foundry.supelec.fr/projects/contextrev/
>>> wiki     : http://contextgarden.net
>>> ___________________________________________________________________________________
>>
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> 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: test.7z
Description: Binary data

___________________________________________________________________________________
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