From: Christopher Creutzig <christopher@creutzig.de>
Subject: Re: \mathstrut in \underbrace and nath
Date: Fri, 19 Nov 2004 16:12:18 +0100 [thread overview]
Message-ID: <419E0D52.10701@creutzig.de> (raw)
In-Reply-To: <20041118185157.GN9088@puritan.pcp.ath.cx>
Nikolai Weibull wrote:
> ! Undefined control sequence.
> \dodosmash [#1]->\edef \@@smash
> {#1}\futurelet \nexttoken \dododosmash
> \relbar ->\mathrel {\smash
> -}
Uh-uh. The problem is clear: \inlinemath tries (in the definition of
\inlinemath@) to expand the formula (in the sense of TeX macro
expansion). \longrightarrow cum suis are, however, not expandable in
ConTeXt.
Now, I do believe the xdef is a bug in nath, but the following
workaround does work:
\protected\def\longrightarrow {\relbar\joinrel\rightarrow}
Hans, do you have a command that sort of changes an existing
definition as if \protected had been used in the first place?
regards,
Christopher
next prev parent reply other threads:[~2004-11-19 15:12 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
2004-11-19 15:12 ` Christopher Creutzig [this message]
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=419E0D52.10701@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).