Re: [NTG-context] math error in ConTeXt?
On 25-1-2012 17:29, Meer, H. van der wrote: Of these two variants the second works. The first gives as error an old enemy: the \Umathquad error % gives an error: \startsetups[test] $\displaystyle a=1 $ \stopsetups \setup[test] \stoptext % works: \starttext $$\displaylines{a=1\cr b+c+d=3\cr}$$ \stoptext ConTeXt ver: 2012.01.16 18:33 MKIV ! Math error: parameter \Umathquad\displaystyle is not set. \8>:test #1->$\displaystyle a=1$ Why this error? Because no font has been loaded and \starttext will load defaults. So best hav esomeghing \setupbodyfont[whatever-you-want] \startext \stoptext Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] math error in ConTeXt?
Of these two variants the second works. The first gives as error an old enemy: the \Umathquad error % gives an error: \startsetups[test] $\displaystyle a=1 $ \stopsetups \setup[test] \stoptext % works: \starttext $$\displaylines{a=1\cr b+c+d=3\cr}$$ \stoptext ConTeXt ver: 2012.01.16 18:33 MKIV ! Math error: parameter \Umathquad\displaystyle is not set. \8>:test #1->$\displaystyle a=1$ Why this error? Hans van der Meer ___ 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 ___
[NTG-context] math error
Sorry, I found it! \starttext \startformula[] [29;2,2,1]=\frac{206}{7} \stopformula \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] math error
On Thu, Mar 18, 2010 at 1:45 PM, Wolfgang Werners-Lucchini wrote: > Hallo, > > the following example compiles ok > > \starttext > \startformula > \frac{206}{7}=[29;2,2,1] > \stopformula > \stoptext > > while this compiles not > > \starttext > \startformula > [29;2,2,1]=\frac{206}{7} > \stopformula > \stoptext > > Bug or user error? > > Wolfgang Try \starttext \startformula\relax [29;2,2,1]=\frac{206}{7} \stopformula \stoptext I think the [ is taken as starting an optional argument for \startformula. Best regards, Mikael ___ 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 ___
Re: [NTG-context] math error
On 3/18/2010 4:15 PM, Wolfgang Werners-Lucchini wrote: the following example compiles ok \starttext \startformula \frac{206}{7}=[29;2,2,1] \stopformula \stoptext while this compiles not \starttext \startformula [29;2,2,1]=\frac{206}{7} \stopformula \stoptext In context, commands accept options enclosed by [] after their name. In the second example, context expect [29;2,2,1] to be options for \startformula. So replace the second one with \startformula[] [29;2,2,1]=\frac{206}{7} \stopformula Mehdi ___ 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 ___
[NTG-context] math error
Hallo, the following example compiles ok \starttext \startformula \frac{206}{7}=[29;2,2,1] \stopformula \stoptext while this compiles not \starttext \startformula [29;2,2,1]=\frac{206}{7} \stopformula \stoptext Bug or user error? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___