I'm taking a look at nath (via tnath). 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
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 tnath/tamsl (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 spacerace, 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
 Original Message 
From: "William D. Neumann"
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 tnath/tamsl (from december 2003, I believe)?
I have the dec 03 tnath 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 email 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 pragmaade 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
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".
Gary Pajer wrote:
I'm taking a look at nath (via tnath). 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 tnath, I think. gary
Monday, February 16, 2004 Gary Pajer wrote:
Gary Pajer wrote:
I'm taking a look at nath (via tnath). 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 tnath, 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
participants (3)

Gary Pajer

Giuseppe Bilotta

William D. Neumann