ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nikolai Weibull <mailing-lists.context-users@rawuncut.elitemail.org>
Subject: Re: \mathstrut in \underbrace and nath
Date: Thu, 18 Nov 2004 19:51:57 +0100	[thread overview]
Message-ID: <20041118185157.GN9088@puritan.pcp.ath.cx> (raw)
In-Reply-To: <179845091.20041118163421@iol.it>

* Giuseppe Bilotta <gip.bilotta@iol.it> [Nov 18, 2004 16:40]:
> > \usemodule[nath]
> > \starttext
> > \startnathequation
> >   \underbrace{\mathstrut rr\dots r}_{n \text{times}}
> > \stopnathequation
> > \stoptext

> > Error:

> > ! Missing } inserted.
> > <inserted text>

> > My guess is that the expansion of \mathstrut, being \vphantom(, is being
> > misinterpreted as a delimiter (as '(' is active in nath), but that's
> > just a layman's guess.

> Bingo. In nath this is now fixed by letting \mathstrut use |
> instead of (.

:-)

> I'll try to get the new amsl and nath modules out today.

Thanks, great work.

I don't want to rain on your parade, but I just found another bug:

\usemodule[nath]
\starttext
$A \longrightarrow B$
\stoptext

gives

! Undefined control sequence.
\dodosmash [#1]->\edef \@@smash
                                {#1}\futurelet \nexttoken \dododosmash
\relbar ->\mathrel {\smash
                           -}
\longrightarrow ->\relbar
                          \joinrel \rightarrow
<argument> A \longrightarrow
                             B
\inlinemath ...inemath@ {\noexpand \wrapfrac@ { #1
                                                  }} \endgroup \protectinlin...

\imath@ ...mathoptions@on \o@math \inlinemath {#1}
                                                  \o@math \mathoptions@off
...
l.19 $A \longrightarrow B$

? 

which seems a bit more difficult to fix.  I can't do it anyway,
	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);}

  reply	other threads:[~2004-11-18 18:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-17 16:00 Nikolai Weibull
2004-11-18 15:34 ` Giuseppe Bilotta
2004-11-18 18:51   ` Nikolai Weibull [this message]
2004-11-19 15:12     ` Christopher Creutzig
2004-11-19 15:38       ` Hans Hagen
2004-11-19 15:58         ` Christopher Creutzig
2004-11-19 17:34           ` Hans Hagen
2004-11-22  9:20             ` Christopher Creutzig
2004-11-19 17:16         ` Nikolai Weibull
2004-11-19 17:53           ` Re[2]: " Giuseppe Bilotta
2004-11-19 22:10             ` h h extern
2004-11-20 11:35               ` Re[2]: " Giuseppe Bilotta
2004-11-21 22:19                 ` h h extern

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=20041118185157.GN9088@puritan.pcp.ath.cx \
    --to=mailing-lists.context-users@rawuncut.elitemail.org \
    --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).