ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <gip.bilotta@iol.it>
Subject: Re: nath problems and patches
Date: Wed, 25 Aug 2004 22:48:52 +0200	[thread overview]
Message-ID: <388881332.20040825224852@iol.it> (raw)
In-Reply-To: <411CCCF8.80907@mupad.de>

Friday, August 13, 2004 Christopher Creutzig wrote:

> Giuseppe,

>   you may or may not know about these problems already, so I decided to
> simply send them all.  I'm using t-nath.tex 2003.12.08, updated five
> minutes ago from www.tug.org, ConTeXt 2004.6.26, and pdfeTeX 
> 3.14159-1.10b-2.1 (Web2C 7.4.5).

> nath seems to have trouble with $$...$$-formulas. This file won't compile:

> \usemodule[nath]

> \starttext
> \placeformula
> $$a$$
> \stoptext

> Error message:
> Runaway argument?
> \@@dollar {\to \asciiB \ExpandBothAfter \doifincsnameelse \asciiA
> \asciiB \ETC.
> ! File ended while scanning use of \convertargument.

> Replacing $$...$$ by \startformula...\stopformula fixes this,

That's because nath recatcodes the $ signs and the original
definition of \placeformula doesn't work when they are active.
(Hans, can we look into this together, please?)

Don't use $$ ... $$ with \placeformula (they should work ok for
numberless formulas though).

Actually, you've hit on one of the most strange bugs in the
nath module: it didn't support use of \startformula ...
\stopformula either! It *seemed* to work, but it didn't really
act properly. You may want to try your examples with \[ ... \]
instead of \startformula ... \stopformula, and see if you still
have the problems.

In the mean time, I will upload a new version of nath which
should also allow use of \startformula.

> Another bug: t-nath.tex defines \savecatcode and
> \restorecatcode, but these names have already been used in
> verb-ini.tex. I have locally replaced these with
> \nath!savecatcode and \nath!restorecatcode, seems to work.

Thanks for spotting it!

-- 
Giuseppe "Oblomov" Bilotta

      reply	other threads:[~2004-08-25 20:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-13 14:15 Christopher Creutzig
2004-08-25 20:48 ` Giuseppe Bilotta [this message]

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=388881332.20040825224852@iol.it \
    --to=gip.bilotta@iol.it \
    --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).