[NTG-context] $n\choose k$-issue with OpenType math fonts

Andreas Harder aharder at uni-koblenz.de
Sun Mar 13 17:01:32 CET 2011


Am 13.03.2011 um 16:51 schrieb Aditya Mahajan:

> On Sun, 13 Mar 2011, Andreas Harder wrote:
> 
>> I'm afraid, I don't get it. Here is what I tried:
>> I copied all stack-relevant values from asana-math.tma and put them in =
>> the return section of the goodies file (like showed in lm-math.lfg). But =
>> even if I set all values to zero, the output remains the same. Im I =
>> doing something wrong?=20
>> 
>> [snip]
>> 
>> return {
>>   name = "lm-asana",
>>   version = "1.00",
>>   comment = "Goodies that complement asana.",
>>   author = "Hans Hagen",
>>   copyright = "ConTeXt development team",
>>   parameters = { -- test values
>>      -- data = {
>> 	 metadata = {
>> 	    math = {
>> 	       StackBottomDisplayStyleShiftDown = 0,
>> 	       StackBottomShiftDown = 0,
>> 	       StackDisplayStyleGapMin = 0,
>> 	       StackGapMin = 0,
>> 	       StackTopDisplayStyleShiftUp = 0,
>> 	       StackTopShiftUp = 0,
>> 	       StretchStackBottomShiftDown = 0,
>> 	       StretchStackGapAboveMin = 0,
>> 	       StretchStackGapBelowMin = 0,
>> 	       StretchStackTopShiftUp = 0,
>> 	    },
>> 	 },
>>      -- },
>>   },
>> }
> 
> The return name "lm-asana" is a bit strange. I am not sure if that is relevant or not.

I think "lm-asana" is right, otherwise compilation ends with " Math error: parameter \Umathquad\displaystyle is not set."

Andreas


More information about the ntg-context mailing list