Re[4]: [NTG-context] Known nath bugs?

2004-05-30 Thread Giuseppe Bilotta
Saturday, May 29, 2004 Sebastian Sturm wrote:

 Yes, this is generally true. All modules should get loaded
 before \starttext.

 Well, I had loaded it before \starttext in both cases. But when I
 loaded it in the first line of my file, it didn't adjust the 
 delimiters; after moving the \usemodule[nath] line directly above the
 \starttext line, it worked like a charm. Maybe I produced some garbage
 inbetween. :-)

Nath is a very complex module, easily broken. If you can
privately send me your preamble we might be able to find what
was breaking it. Or you can try it yourself: move it up line by
line until delimiters don't work anymore: you'll find what
makes it bomb :)

 Anyway, it looks like the fix is easy: the problem is that
 dimension commands are not protected (unexpandable).

 Thank you very much, I'll try that. If it doesn't work, I can still get
 along without units, though it would have been nice to have that too.

 BTW, is there some kind of manual on aligning nath equations? I tried
 to align multiline equations using \startalign, but that only worked
 (in display mode) as long as no delimiters were used;
 \[ \startalign a = (b \\
 b = c) \stopalign \]
 always produced an error message saying that I had left out an }. I
 probably made some mistake, so a tutorial on aligning equations with
 nath would be great. The nathguide.pdf mentions eqnarray, but I guess
 that's not available in ConTeXt, or is it?

Not yet. Those multi-equation environments are somewhat more
difficult to convert to ConTeXt. And I still haven't got a
complete grasp on how things work in ConTeXt (esp wrt
numbering), so it's a double effort. It's on my TODO list
though.

-- 
Giuseppe Oblomov Bilotta


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


[NTG-context] %%BoundingBox: (atend)

2004-05-30 Thread Peter Mnster
Hello,
ConTeXt does not find the EPS-BoundingBox in EPS files generated by xmgrace.
Such a file begins like this:

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: (atend)

and it ends like this:

%%Trailer
%%BoundingBox: 64 72 709 527
%%DocumentNeededResources: font Times-Roman
%%EOF

When using \externalfigure, one gets the following error:
ERROR: Missing number, treated as zero.

--- TeX said ---
to be read again 
   (
\EPSllx -(
   atend)
\dogetEPSboundingbox ...m \EPSfound 0 #2=\EPSllx 
  bp#4=\EPSurx bp#3=\EPSlly ...

Would it be possible, to enable ConTeXt to read such a file?
If not, I'm going to write a script, that converts the file.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Re[4]: [NTG-context] Known nath bugs?

2004-05-30 Thread Sebastian Sturm
Hi,
Nath is a very complex module, easily broken. If you can
privately send me your preamble we might be able to find what
was breaking it. Or you can try it yourself: move it up line by
line until delimiters don't work anymore: you'll find what
makes it bomb :)
OK, I'll try that. At the moment I'm having all kinds of issues with 
nath (even without any preamble at all), like \binom{\frac 12}{a} not 
working, \to, \ot and \otto arrows not adjusting to the lengths of 
their subscripts, etc... and I can hardly imagine that all of these are 
nath bugs, so maybe something's wrong with my TeX installation. I'm 
using the latest i-Installer teTeX for MacOS X package (with non-beta 
ConTeXt version), configuration files unchanged.
So if someone else is using nath with Gerben Wieda's teTeX 
installation, it would be helpful to know if he/she is experiencing 
similar problems.

Anyway, the nath module looks very promising; I'm really looking 
forward to its next revision!

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