Re: [NTG-context] Strange behavior with square brackets in formula and \rm subscripts
thank you Hans and Luigi for the clarification 2011/5/12 luigi scarso > On Thu, May 12, 2011 at 2:11 PM, Hans Hagen wrote: > > On 12-5-2011 2:05, Julian Becker wrote: > >> > >> just realized: is it perhaps that in the first case, the square brackets > >> are > >> interpreted as a list of parameters to \startformula? > > > > indeed, so add \relax after \startformula > or use > \left[ and \right] > > -- > luigi > > ___ > 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 > > ___ > -- Julian Becker Institut für Angewandte Physik, R.123 Westfälische Wilhelms-Universität Münster Corrensstr. 2/4 48149 Münster / Westfalen Tel. 0251 83-3 61 53 Mob. 0151 599 848 29 e-mail: j_bec...@uni-muenster.de "Keep thy heart with all diligence; for it is the wellspring of life." ___ 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] Strange behavior with square brackets in formula and \rm subscripts
On Thu, May 12, 2011 at 2:11 PM, Hans Hagen wrote: > On 12-5-2011 2:05, Julian Becker wrote: >> >> just realized: is it perhaps that in the first case, the square brackets >> are >> interpreted as a list of parameters to \startformula? > > indeed, so add \relax after \startformula or use \left[ and \right] -- luigi ___ 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] Strange behavior with square brackets in formula and \rm subscripts
On 12-5-2011 2:05, Julian Becker wrote: just realized: is it perhaps that in the first case, the square brackets are interpreted as a list of parameters to \startformula? indeed, so add \relax after \startformula - 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 ___
Re: [NTG-context] Strange behavior with square brackets in formula and \rm subscripts
just realized: is it perhaps that in the first case, the square brackets are interpreted as a list of parameters to \startformula? 2011/5/12 Julian Becker > I just found out that I cannot (with MkIV on Windows XP, ConTeXt ver. > 2011.02.09 16:42) compile the following > > \starttext > This formula produces an error: > \startformula > [r_{\rm test}]=a > \stopformula > \stoptext > \starttext > However, this works: > \startformula > a=[r_{\rm test}] > \stopformula > > What's going on here? Using \mathrm instead of \rm in the subscript is > compiling without complaint, but produces the wrong output. > > Julian > -- Julian Becker Institut für Angewandte Physik, R.123 Westfälische Wilhelms-Universität Münster Corrensstr. 2/4 48149 Münster / Westfalen Tel. 0251 83-3 61 53 Mob. 0151 599 848 29 e-mail: j_bec...@uni-muenster.de "Keep thy heart with all diligence; for it is the wellspring of life." ___ 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] Strange behavior with square brackets in formula and \rm subscripts
I just found out that I cannot (with MkIV on Windows XP, ConTeXt ver. 2011.02.09 16:42) compile the following \starttext This formula produces an error: \startformula [r_{\rm test}]=a \stopformula \stoptext \starttext However, this works: \startformula a=[r_{\rm test}] \stopformula What's going on here? Using \mathrm instead of \rm in the subscript is compiling without complaint, but produces the wrong output. Julian ___ 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 ___