Is startalign broken in mkiv?
\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 - Matthias
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 -----------------------------------------------------------------
Thanks - I wasn't aware that the human readable version had been deprecated :(
Matthias
On Jul 17, 2012, at 7:17 PM, Hans Hagen
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
___________________________________________________________________________________ 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 ___________________________________________________________________________________
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
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
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 -----------------------------------------------------------------
___________________________________________________________________________________ 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 ___________________________________________________________________________________
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
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
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).
Thanks. Now I have my own little sacrilege in the environment file.
Matthias
On Jul 17, 2012, at 11:13 PM, "Rogers, Michael K"
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
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
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 ___________________________________________________________________________________
On Tue, Jul 17, 2012 at 09:48:31PM -0400, Matthias Weber wrote:
It was never a problem in TeX to modify the control characters used according to your own pleasure.
Except that is not the kind of thing ConTeXt users are supposed to mess with, I feel guilty every time I mess with catcodes in my style file. Regards, Khaled
participants (4)
-
Hans Hagen
-
Khaled Hosny
-
Matthias Weber
-
Rogers, Michael K