Hi! I just began testing the 2.99.1.20041026 release of tetex and nath is acting up. In the following document, the first math-formula works fine, but the second one (display) doesn't: \usemodule[nath] \starttext $A = (B, C, D, E)$ \placeformula \startformula A = (B, C, D, E) \stopformula \stoptext ! Undefined control sequence. l.6 A = ( B, C, D, E) ? X Any ideas? I'm guessing that the activation of ( messes something up. If ( is changed to \{, the first , (after B) gives the same error. If I use $$ ... $$ instead of \startformula ... \stopformula, it seems to work fine though. nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Nikolai Weibull wrote:
\usemodule[nath] \starttext $A = (B, C, D, E)$ \placeformula \startformula A = (B, C, D, E) \stopformula \stoptext
! Undefined control sequence. l.6 A = ( B, C, D, E) ? X
Try \startnathequation ... \stopnathequation instead. Or patch t-nath.tex for the same effect, I have (but this might have side-effects): \let\nath!startformula\startformula \let\nath!stopformula\stopformula \def\startnathequation{% \begingroup \curr@cr@is@wall@cr \nath!startformula \startnatheq \hbox\bgroup \dmathon@ \wall\mathopen{}% } \def\stopnathequation{% \return \dmathoff@ \egroup \stopnatheq \nath!stopformula \endgroup } \let\startformula\startnathequation \let\stopformula\stopnathequation regards, Christopher Creutzig
* Christopher Creutzig
Try \startnathequation ... \stopnathequation instead.
Ah, thanks. Is there still a way to get unnumbered equations? nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Monday, November 15, 2004 Nikolai Weibull wrote:
* Christopher Creutzig
[Nov 15, 2004 17:20]: Try \startnathequation ... \stopnathequation instead.
Ah, thanks. Is there still a way to get unnumbered equations? nikolai
Do not put \placeformula before the equation :) -- Giuseppe "Oblomov" Bilotta
Hello, I'd like to typeset [\partial,B]=0 but \starttext \placeformula \startformula 0= [ A ,B ] = 0 \stopformula gives just "=0" (see below) while \stoptext \starttext \placeformula \startformula 0= [ A ,B ] \stopformula \stoptext works. What is the meaning of [ at the beginning of a formula, and how do I get rid of it? Matthias
Matthias Weber wrote:
Hello,
I'd like to typeset [\partial,B]=0
but
\starttext \placeformula \startformula 0= [ A ,B ] = 0 \stopformula
gives just "=0" (see below) while
\stoptext
\starttext \placeformula \startformula 0= [ A ,B ] \stopformula \stoptext
works. What is the meaning of [ at the beginning of a formula, and how do I get rid of it?
there is a forward scan for [ ] i.e. a reference just put a \relax in front of your intentional [ Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Thanks! Matthias On Nov 16, 2004, at 4:26 PM, h h extern wrote:
Matthias Weber wrote:
Hello, I'd like to typeset [\partial,B]=0 but \starttext \placeformula \startformula 0= [ A ,B ] = 0 \stopformula gives just "=0" (see below) while \stoptext \starttext \placeformula \startformula 0= [ A ,B ] \stopformula \stoptext works. What is the meaning of [ at the beginning of a formula, and how do I get rid of it?
there is a forward scan for [ ] i.e. a reference
just put a \relax in front of your intentional [
Hans
----------------------------------------------------------------- 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 -----------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
At 15:29 -0500 16/11/04, Matthias Weber wrote:
Hello,
I'd like to typeset [\partial,B]=0
Hi Matthias, Despite Hans' suggestion of putting \relax in front of [, in my installation of ConTeXt this works well: \starttext \startformula 0 =[\partial,B] =0. \stopformula Make sure there is no funny invisible characters in front of the square brackets. Best regards: OK
Hi Otared, the actual problem arises with \starttext \startformula [A,B] =0. \stopformula \stoptext or, even worse, with \starttext \startformula [\partial,B] =0. \stopformula \stoptext Hans' solution is to use \relax whenever one has a [ at the beginning of a formula: \starttext \startformula \relax [\partial,B] =0. \stopformula \stoptext Matthias On Nov 17, 2004, at 5:35 AM, Otared Kavian wrote:
At 15:29 -0500 16/11/04, Matthias Weber wrote: Hello,
I'd like to typeset [\partial,B]=0
Hi Matthias,
Despite Hans' suggestion of putting \relax in front of [, in my installation of ConTeXt this works well: \starttext \startformula 0 =[\partial,B] =0. \stopformula
Make sure there is no funny invisible characters in front of the square brackets. Best regards: OK
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
At 7:57 -0500 17/11/04, Matthias Weber wrote:
Hi Otared,
the actual problem arises with \starttext \startformula [A,B] =0. \stopformula \stoptext
or, even worse, with
\starttext \startformula [\partial,B] =0. \stopformula \stoptext
Hi Matthias, Yes are right, indeed... However I tried the following which works as well (replacing \relax with empty braces {}): \starttext \startformula {}[\partial,B] =0. \stopformula and \startformula {}[A,B] =0. \stopformula \stoptext Best regards: OK
participants (7)
-
Christopher Creutzig
-
Giuseppe Bilotta
-
h h extern
-
Matthias Weber
-
Nikolai Weibull
-
Otared Kavian
-
Tobias Burnus