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
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
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
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 -----------------------------------------------------------------
participants (3)
-
David Munger
-
Giuseppe Bilotta
-
Hans Hagen