Re: [NTG-context] \everymath problem
Am 19.08.2009 um 16:47 schrieb Hans Hagen: Eythan Weg wrote: Hi, I use luatex 0.43 with yesterday's beta. Running\everymath = {\displaystyle} \starttext ${a\over b}$ \stoptext results in ! Use of \dospecialabout doesn't match its definition. l.4 ${a\over b }$ Plain format under luatex has no problem here. If I change \over to \times it runs with fonts changed to roman (i.e, not math italics). taco and i looked into it (fearing big problems) but it's actually normal; use \everymath = \expandafter{\the\everymath \displaystyle} or \appendtoks \displaystyle \to \everymath as (among other important things) \everymath does initialize \over And with \frac it can be configured at context low level (why no key for \setupmathematics?) \chardef\mathfracmode=1 % 0=auto, 1=displaystyle, 2=textstyle, 3=scriptstyle, 4=scriptscriptstyle, 5=mathstyle $\frac{a}{b}$ Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \everymath problem
Eythan Weg wrote: Hi, I use luatex 0.43 with yesterday's beta. Running \everymath = {\displaystyle} \starttext ${a\over b}$ \stoptext results in ! Use of \dospecialabout doesn't match its definition. l.4 ${a\over b }$ Plain format under luatex has no problem here. If I change \over to \times it runs with fonts changed to roman (i.e, not math italics). taco and i looked into it (fearing big problems) but it's actually normal; use \everymath = \expandafter{\the\everymath \displaystyle} or \appendtoks \displaystyle \to \everymath as (among other important things) \everymath does initialize \over - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \everymath problem
Hi, I use luatex 0.43 with yesterday's beta. Running \everymath = {\displaystyle} \starttext ${a\over b}$ \stoptext results in ! Use of \dospecialabout doesn't match its definition. l.4 ${a\over b }$ Plain format under luatex has no problem here. If I change \over to \times it runs with fonts changed to roman (i.e, not math italics). Thank you. Eythan ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___