Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-22 Thread Christopher Creutzig
Hans Hagen wrote: Ok, then what's \protected? Is it performing an \unprotect/\protect pair around the definition? But then, why did it work? in context protext/unprotect is to be used when ! @ ? are used inmacro names which was not the case here I know. So, does ConTeXt's \protected\def

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-21 Thread h h extern
Giuseppe Bilotta wrote: Friday, November 19, 2004 h h extern wrote: Giuseppe Bilotta wrote: Shall this go in nath? Or, Hans, will you protect those macros? if so, i need to protect the lot, any system/logic behind what to protect ? I have no idea. Everything? What's the downside of protecting

Re[2]: [NTG-context] \mathstrut in \underbrace and nath

2004-11-20 Thread Giuseppe Bilotta
Friday, November 19, 2004 h h extern wrote: Giuseppe Bilotta wrote: Shall this go in nath? Or, Hans, will you protect those macros? if so, i need to protect the lot, any system/logic behind what to protect ? I have no idea. Everything? What's the downside of protecting a macro? --

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-19 Thread Christopher Creutzig
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@)

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-19 Thread Christopher Creutzig
Hans Hagen wrote: first of all, \protected is not what you think it is; i had a \protected before etex was around; the context name is \unexpanded Ok, then what's \protected? Is it performing an \unprotect/\protect pair around the definition? But then, why did it work?

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-19 Thread Hans Hagen
Christopher Creutzig wrote: Hans Hagen wrote: first of all, \protected is not what you think it is; i had a \protected before etex was around; the context name is \unexpanded Ok, then what's \protected? Is it performing an \unprotect/\protect pair around the definition? But then, why did it

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-19 Thread Nikolai Weibull
* Hans Hagen [EMAIL PROTECTED] [Nov 19, 2004 16:40]: \let\unprotectedlongrightarrow\longrightarrow \unexpanded\def\longrightarrow{\unprotectedlongrightarrow} Thanks, that works fine, nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA

Re[2]: [NTG-context] \mathstrut in \underbrace and nath

2004-11-19 Thread Giuseppe Bilotta
Friday, November 19, 2004 Nikolai Weibull wrote: * Hans Hagen [EMAIL PROTECTED] [Nov 19, 2004 16:40]: \let\unprotectedlongrightarrow\longrightarrow \unexpanded\def\longrightarrow{\unprotectedlongrightarrow} Thanks, that works fine, nikolai Shall this go in nath? Or, Hans, will you

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-19 Thread h h extern
Giuseppe Bilotta wrote: Shall this go in nath? Or, Hans, will you protect those macros? if so, i need to protect the lot, any system/logic behind what to protect ? Hans - Hans Hagen | PRAGMA

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-18 Thread Nikolai Weibull
* Giuseppe Bilotta [EMAIL PROTECTED] [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,

[NTG-context] \mathstrut in \underbrace and nath

2004-11-17 Thread Nikolai Weibull
Example: \usemodule[nath] \starttext \startnathequation \underbrace{\mathstrut rr\dots r}_{n \text{times}} \stopnathequation \stoptext Error: ! Missing } inserted. inserted text } to be read again [EMAIL PROTECTED] [EMAIL PROTECTED] -[EMAIL PROTECTED]