Thanks. Now I have my own little sacrilege in the environment file. Matthias
On Jul 17, 2012, at 11:13 PM, "Rogers, Michael K" <mrog...@emory.edu> wrote: > Here's a backward-compatibility hack that works on your minimal example. > Maybe it will save the dozens of files without changing all the &s: > > \let\oldstartalign=\startalign > \let\oldstopalign=\stopalign > \let\oldbs=\\ > \def\startalign{\catcode`&=4\let\\=\cr\oldstartalign} > \def\stopalign{\oldstopalign\catcode`&=12\let\\=\oldbs} > \starttext > This \& that & the other thing: > \startformula \startalign > v &= u + at \\ > h &= ut + \frac12 gt^2 \\ > \stopalign \stopformula > That \& this & yet another thing. > \stoptext > > Hope that helps. > > Michael > > On Jul 17, 2012, at 6:48 PM, Matthias Weber wrote: > >> It was never a problem in TeX to modify the control characters used >> according to your own pleasure. For me, the problem is now to change the >> 200+ occurrences of start/stopaligns distributed over dozens of files to the >> politically correct syntax. >> >> Matthias >> >> On Jul 17, 2012, at 7:41 PM, Khaled Hosny <khaledho...@eglug.org> wrote: >> >>> The use of & (which is a common symbol) as a control character is a long >>> standing idiosyncrasy of TeX that I'm glad ConTeXt has got rid of. >>> >>> On Tue, Jul 17, 2012 at 07:32:09PM -0400, Matthias Weber wrote: >>>> Thanks - I wasn't aware that the human readable version had been >>>> deprecated :( >>>> >>>> Matthias >>>> >>>> On Jul 17, 2012, at 7:17 PM, Hans Hagen <pra...@wxs.nl> wrote: >>>> >>>>> On 18-7-2012 00:22, Matthias Weber wrote: >>>>>> \starttext >>>>>> \startformula \startalign >>>>>> v &= u + at \\ >>>>>> h &= ut + \frac12 gt^2 \\ >>>>>> \stopalign \stopformula >>>>>> \stoptext >>>>>> >>>>>> >>>>>> ---->> >>>>>> >>>>>> ConTeXt ver: 2012.07.17 16:42 MKIV fmt: 2012.7.17 int: english/english >>>>>> (...) >>>>>> ! Missing $ inserted. >>>>>> >>>>>> system > tex > error on line 3 in file test.tex: Missing $ >>>>>> inserted ... >>>>>> >>>>>> 1 \starttext >>>>>> 2 \startformula \startalign >>>>>> 3 >> v &= u + at \\ >>>>>> 4 h &= ut + \frac12 gt^2 \\ >>>>>> 5 \stopalign \stopformula >>>>>> 6 \stoptext >>>>>> >>>>>> Thanks - >>>>> >>>>> the context way is: >>>>> >>>>> \startformula \startalign >>>>> \NC v \NC = u + at \NR >>>>> \NC h \NC = ut + \frac12 gt^2 \NR >>>>> \stopalign \stopformula >>>>> >>>>> >>>>> ----------------------------------------------------------------- >>>>> 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 >>>>> ----------------------------------------------------------------- > > > ________________________________ > > This e-mail message (including any attachments) is for the sole use of > the intended recipient(s) and may contain confidential and privileged > information. If the reader of this message is not the intended > recipient, you are hereby notified that any dissemination, distribution > or copying of this message (including any attachments) is strictly > prohibited. > > If you have received this message in error, please contact > the sender by reply e-mail message and destroy all copies of the > original message (including attachments). > ___________________________________________________________________________________ > 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 ___________________________________________________________________________________