ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Christopher Creutzig <christopher@creutzig.de>
Subject: Re: nath and \(start|stop)formula
Date: Mon, 15 Nov 2004 17:15:53 +0100	[thread overview]
Message-ID: <4198D639.8080605@creutzig.de> (raw)
In-Reply-To: <20041114181758.GA8445@puritan.pcp.ath.cx>

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

  reply	other threads:[~2004-11-15 16:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-14 18:17 Nikolai Weibull
2004-11-15 16:15 ` Christopher Creutzig [this message]
2004-11-15 22:18   ` Nikolai Weibull
2004-11-16 18:34     ` Re[2]: " Giuseppe Bilotta
2004-11-16 19:19       ` Tobias Burnus
2004-11-16 20:29         ` "[" at beginning of formula ? Matthias Weber
2004-11-16 21:26           ` h h extern
2004-11-16 21:33             ` Matthias Weber
2004-11-17 10:35           ` Otared Kavian
2004-11-17 12:57             ` Matthias Weber
2004-11-17 13:38               ` Otared Kavian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4198D639.8080605@creutzig.de \
    --to=christopher@creutzig.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).