ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: t-nath difficulty
  2004-02-16 18:13 t-nath difficulty Gary Pajer
@ 2004-02-16  7:52 ` William D. Neumann
  2004-02-18  2:45   ` Gary Pajer
  2004-02-16 18:43 ` Gary Pajer
  1 sibling, 1 reply; 6+ messages in thread
From: William D. Neumann @ 2004-02-16  7:52 UTC (permalink / raw)


On Mon, 16 Feb 2004, Gary Pajer wrote:

> In the following code, the first formula typesets as I want, and the
> second doesn't.  But the syntax in the second looks correct.
> Bug or feature?  or setup problem?
>
> \usemodule[nath]
> \starttext
>
> $ y = (1 + \frac{}{a}{b}) $
>
> $ y = (1 + \frac{a}{b}) $
> \stoptext

What problem are you having?  I tried this example and got the following
output (only typset nicely, of course):

y = (1 + (/a)b)
y = (1 + a/b)

Which appears to be the correct output.  Are you using the current
t-nath/t-amsl (from december 2003, I believe)?

William D. Neumann

---

"Well I could be a genius, if I just put my mind to it.
And I...I could do anything, if only I could get 'round to it.
Oh we were brought up on the space-race, now they expect you to clean toilets.
When you've seen how big the world is, how can you make do with this?
If you want me, I'll be sleeping in - sleeping in throughout these glory days."

	-- Jarvis Cocker

^ permalink raw reply	[flat|nested] 6+ messages in thread

* t-nath difficulty
@ 2004-02-16 18:13 Gary Pajer
  2004-02-16  7:52 ` William D. Neumann
  2004-02-16 18:43 ` Gary Pajer
  0 siblings, 2 replies; 6+ messages in thread
From: Gary Pajer @ 2004-02-16 18:13 UTC (permalink / raw)


I'm taking a look at nath (via t-nath).  Here's the very first thing I 
tried:

In the following code, the first formula typesets as I want, and the 
second doesn't.  But the syntax in the second looks correct.
Bug or feature?  or setup problem?

\usemodule[nath]
\starttext

$ y = (1 + \frac{}{a}{b}) $

$ y = (1 + \frac{a}{b}) $
\stoptext

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: t-nath difficulty
  2004-02-16 18:13 t-nath difficulty Gary Pajer
  2004-02-16  7:52 ` William D. Neumann
@ 2004-02-16 18:43 ` Gary Pajer
  2004-02-18 15:23   ` Re[2]: " Giuseppe Bilotta
  1 sibling, 1 reply; 6+ messages in thread
From: Gary Pajer @ 2004-02-16 18:43 UTC (permalink / raw)


Gary Pajer wrote:

> I'm taking a look at nath (via t-nath).  Here's the very first thing I 
> tried:
>
> In the following code, the first formula typesets as I want, and the 
> second doesn't.  But the syntax in the second looks correct.
> Bug or feature?  or setup problem?
>
> \usemodule[nath]
> \starttext
>
> $ y = (1 + \frac{}{a}{b}) $
>
> $ y = (1 + \frac{a}{b}) $
> \stoptext


Furthermore:  I tried the LaTeX version of nath.  It works as expected 
(i.e. the second line produces a fraction)
So,  ... it's looking like a bug in t-nath, I think.

-gary

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: t-nath difficulty
  2004-02-16  7:52 ` William D. Neumann
@ 2004-02-18  2:45   ` Gary Pajer
  2004-02-19 17:10     ` Gary Pajer
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Pajer @ 2004-02-18  2:45 UTC (permalink / raw)



----- Original Message ----- 
From: "William D. Neumann" <wneumann@cs.unm.edu>


> On Mon, 16 Feb 2004, Gary Pajer wrote:
>
> > In the following code, the first formula typesets as I want, and the
> > second doesn't.  But the syntax in the second looks correct.
> > Bug or feature?  or setup problem?
> >
> > \usemodule[nath]
> > \starttext
> >
> > $ y = (1 + \frac{}{a}{b}) $
> >
> > $ y = (1 + \frac{a}{b}) $
> > \stoptext
>
> What problem are you having?  I tried this example and got the following
> output (only typset nicely, of course):
>
> y = (1 + (/a)b)
> y = (1 + a/b)
>
> Which appears to be the correct output.  Are you using the current
> t-nath/t-amsl (from december 2003, I believe)?

I have the dec 03 t-nath and version 2003.12.10 ConTeXt.

for the first line I get

y=(1 + a/b)

what I get for the second line is hard to type, but it's what you would
expect from
$y = (1 + a\frac{b}{)}  $

so it's as if it's screwing up the arguments:  looking for three of them,
putting the first in front of the fraction, the second in the numerator and
the third in the denom.  I've tried several different examples.  They all
behave exactly as if the arguments are munged in this way.

I must be doing something wrong.  But I cut and pasted the code from the
e-mail I sent out and processed it, and I got the error I describe.

If I run it through LaTeX, I get what you describe (and what one would
expect).
It's odd that we get different results. FWIW  I'm on WinXP using MikTeX but
with a ConTeXt from pragma-ade installed in localtexmf.
Oh ... I get the same wrong result on Mac OSX/teTeX/brand new ConTeXt.
I must be doing something wrong.  Clues?

-gary

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re[2]: t-nath difficulty
  2004-02-16 18:43 ` Gary Pajer
@ 2004-02-18 15:23   ` Giuseppe Bilotta
  0 siblings, 0 replies; 6+ messages in thread
From: Giuseppe Bilotta @ 2004-02-18 15:23 UTC (permalink / raw)


Monday, February 16, 2004 Gary Pajer wrote:

> Gary Pajer wrote:

>> I'm taking a look at nath (via t-nath).  Here's the very first thing I
>> tried:
>>
>> In the following code, the first formula typesets as I want, and the
>> second doesn't.  But the syntax in the second looks correct.
>> Bug or feature?  or setup problem?
>>
>> \usemodule[nath]
>> \starttext
>>
>> $ y = (1 + \frac{}{a}{b}) $
>>
>> $ y = (1 + \frac{a}{b}) $
>> \stoptext


> Furthermore:  I tried the LaTeX version of nath.  It works as expected
> (i.e. the second line produces a fraction)
> So,  ... it's looking like a bug in t-nath, I think.

I flagged your message. I will look into the problem as soon as
I have at the time (sorry, pretty busy right now).

-- 
Giuseppe "Oblomov" Bilotta

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: t-nath difficulty
  2004-02-18  2:45   ` Gary Pajer
@ 2004-02-19 17:10     ` Gary Pajer
  0 siblings, 0 replies; 6+ messages in thread
From: Gary Pajer @ 2004-02-19 17:10 UTC (permalink / raw)



Furthermore:  in

\usemodule[nath]
\starttext

$ y = (1 + \frac{}{a}{b}) $

$ y = (1 + \frac{a}{b}) $

$ y = (1 + a\frac{b}{c}{d})$

$$ y = (1 + \frac{}{a}{b}) $$

$$ y = (1 + \frac{a}{b}) $$

$$ y = (1 + a\frac{b}{c}{d})$$

\stoptext

The displayed equation is correct, but the inline isn't.    I'm probing this
in my "spare time".

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-19 17:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-16 18:13 t-nath difficulty Gary Pajer
2004-02-16  7:52 ` William D. Neumann
2004-02-18  2:45   ` Gary Pajer
2004-02-19 17:10     ` Gary Pajer
2004-02-16 18:43 ` Gary Pajer
2004-02-18 15:23   ` Re[2]: " Giuseppe Bilotta

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).