Re: [NTG-context] Nath bug?

2006-01-22 Thread Giuseppe Bilotta
Thursday, January 12, 2006 Aditya Mahajan wrote:

 The following does not work? Everything is fine if I replace the nath
 module with amsl. Any suggestions on how to make this work.


 \usemodule[nath]
 \starttext
 \startalign
   a = \underbrace{b}_{c} \\
 c = d
 \stopalign
 \stoptext

Sorry for the very late reply. Yes, the ConTeXt nath module
doesn't support this form of alignment. I would say 'yet',
but the hack of the original LaTeX module to adapt it to
ConTeXt has hit the limit of my expertise in both LaTeX and
ConTeXt.

I think the time has come to bring up the topic with Hans
and turn nath into a specification ('define these new
commands that behave this way') to be reimplemented from
scratch in a more ConTeXtish way, keeping in my that the
general idea behind the workings of the nath revolution can
be maintained since they are format-independent.

Hans, do you think you have time to dedicate to this
subject?

-- 
Giuseppe Oblomov Bilotta

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] nath bug

2004-12-23 Thread David Munger
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



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] nath bug

2004-12-23 Thread Hans Hagen
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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] nath bug

2004-12-21 Thread Giuseppe Bilotta
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

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context