* nath bug
@ 2004-12-03 20:56 David Munger
2004-12-21 13:15 ` Giuseppe Bilotta
0 siblings, 1 reply; 4+ messages in thread
From: David Munger @ 2004-12-03 20:56 UTC (permalink / raw)
Hello Giuseppe,
I think I found a bug in the nath module. Try the following:
\usemodule[nath]
\starttext
\[ e^{f(x)} \]
\stoptext
And by the way, fractions in exponents are typeset too big:
\usemodule[nath]
\starttext
\[ e^{\frac{1}{\gamma-1}} \]
\stoptext
Best regards,
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nath bug
2004-12-03 20:56 nath bug David Munger
@ 2004-12-21 13:15 ` Giuseppe Bilotta
2004-12-23 17:22 ` David Munger
0 siblings, 1 reply; 4+ messages in thread
From: Giuseppe Bilotta @ 2004-12-21 13:15 UTC (permalink / raw)
Friday, December 3, 2004 David Munger wrote:
> Hello Giuseppe,
> I think I found a bug in the nath module. Try the following:
> \usemodule[nath]
> \starttext
> \[ e^{f(x)} \]
> \stoptext
> And by the way, fractions in exponents are typeset too big:
> \usemodule[nath]
> \starttext
> \[ e^{\frac{1}{\gamma-1}} \]
> \stoptext
I just hit the same bug working on my PhD thesis :)
Basically, the fix that I implemented to solve the problem with
^^ not working to access arbitrary characters when nath was
active causes this bug. A possible solution (as a quick hack
because for the moment I can't look for a better solution) is
to put
\appendtoks
\livesupsub@
\to\everymath
in t-nath.tex after the definition of livesupsub@ and
killsupsub@
Maybe Hans has some suggestion for a better solution: the
problem is that the mathcode is ignored for characters with
code 7 or 8 (sup- or subscript). So I'm currently changing the
catcode of ^ and _ when entering mathmode.
Ideas?
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nath bug
2004-12-21 13:15 ` Giuseppe Bilotta
@ 2004-12-23 17:22 ` David Munger
2004-12-23 17:38 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: David Munger @ 2004-12-23 17:22 UTC (permalink / raw)
Giuseppe Bilotta wrote :
> \appendtoks
> \livesupsub@
> \to\everymath
>
> in t-nath.tex after the definition of livesupsub@ and
> killsupsub@
Hmm... It seemed to work at first, but it just moved the problem. Now
it's (\sum) limits that are typeset like in inline style.
> Maybe Hans has some suggestion for a better solution: the
> problem is that the mathcode is ignored for characters with
> code 7 or 8 (sup- or subscript). So I'm currently changing the
> catcode of ^ and _ when entering mathmode.
I hope he has!
Regards,
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nath bug
2004-12-23 17:22 ` David Munger
@ 2004-12-23 17:38 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2004-12-23 17:38 UTC (permalink / raw)
David Munger wrote:
>>Maybe Hans has some suggestion for a better solution: the
>>problem is that the mathcode is ignored for characters with
>>code 7 or 8 (sup- or subscript). So I'm currently changing the
>>catcode of ^ and _ when entering mathmode.
>
> I hope he has!
wel, then make me a zip with
(1) the nath module you use
(2) some samples that fail
(3) an explanation of the problem
and i'll have a look
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-12-23 17:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-03 20:56 nath bug David Munger
2004-12-21 13:15 ` Giuseppe Bilotta
2004-12-23 17:22 ` David Munger
2004-12-23 17:38 ` Hans Hagen
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).