![](https://secure.gravatar.com/avatar/331902f4bde5e73f4eeac8719040822f.jpg?s=120&d=mm&r=g)
Hello guys, attached to the following please find a .tar.bz2-packed file containing updated t-amsl and t-nath. Those of you that had any problems, please try these modules. In particular, when you had to use a workaround (e.g. \startnathequation) revert to the original (e.g. \startformula) and check that things now work correctly. If you find any problems and/or find I forgot to apply some patches, please repost your problems/patches as an answer to this email. I'll also send the updates to CTAN. -- Giuseppe "Oblomov" Bilotta
![](https://secure.gravatar.com/avatar/de231c8f10866e1ade625f00d831d359.jpg?s=120&d=mm&r=g)
* Giuseppe Bilotta
Those of you that had any problems, please try these modules. In particular, when you had to use a workaround (e.g. \startnathequation) revert to the original (e.g. \startformula) and check that things now work correctly. If you find any problems and/or find I forgot to apply some patches, please repost your problems/patches as an answer to this email.
I posted this to another thread, but there's a problem with \longrightarrow: \usemodule[nath] \starttext $A \longrightarrow B$ \stoptext gives ! Undefined control sequence. \dodosmash [#1]->\edef \@@smash {#1}\futurelet \nexttoken \dododosmash \relbar ->\mathrel {\smash -} \longrightarrow ->\relbar \joinrel \rightarrow <argument> A \longrightarrow B \inlinemath ...inemath@ {\noexpand \wrapfrac@ { #1 }} \endgroup \protectinlin... \imath@ ...mathoptions@on \o@math \inlinemath {#1} \o@math \mathoptions@off ... l.19 $A \longrightarrow B$ ? Sorry I couldn't get you this sooner, nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
![](https://secure.gravatar.com/avatar/3d86d93abcc56d7b5843cc1ce58bbfd6.jpg?s=120&d=mm&r=g)
Giuseppe Bilotta wrote:
attached to the following please find a .tar.bz2-packed file containing updated t-amsl and t-nath.
\def\startnathequation{% \begingroup \curr@cr@is@wall@cr \let\startdysplaymath\relax \let\stopdysplaymath\relax \contextstartformula \startnatheq \hbox\bgroup \dmathon@ \wall\mathopen{}% } What is \startdysplaymath? As an aside: Hans, are therespecified naming conventions yet for “internal” macros? I don't expect \contextstartformula and the like to clash with anything, but somehow I still felt more at ease with \nath!startformula. (Then again, that may be bad ConTeXt style inherited from the LaTeX package mess I've worked with way too much.) cu, ccr
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Christopher Creutzig wrote:
Giuseppe Bilotta wrote:
attached to the following please find a .tar.bz2-packed file containing updated t-amsl and t-nath.
\def\startnathequation{% \begingroup \curr@cr@is@wall@cr \let\startdysplaymath\relax \let\stopdysplaymath\relax \contextstartformula \startnatheq \hbox\bgroup \dmathon@ \wall\mathopen{}% }
What is \startdysplaymath?
As an aside: Hans, are therespecified naming conventions yet for “internal” macros? I don't expect \contextstartformula and the like to clash with anything, but somehow I still felt more at ease with \nath!startformula. (Then again, that may be bad ConTeXt style inherited from the LaTeX package mess I've worked with way too much.)
i'd go for: \NATHstartformula (or better, find out what is needed to let nath work with a not overloaded macro) 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/331902f4bde5e73f4eeac8719040822f.jpg?s=120&d=mm&r=g)
Friday, November 19, 2004 Christopher Creutzig wrote:
Giuseppe Bilotta wrote:
attached to the following please find a .tar.bz2-packed file containing updated t-amsl and t-nath.
\def\startnathequation{% \begingroup \curr@cr@is@wall@cr \let\startdysplaymath\relax \let\stopdysplaymath\relax \contextstartformula \startnatheq \hbox\bgroup \dmathon@ \wall\mathopen{}% }
What is \startdysplaymath?
Ugh. That should be \startdisplaymath and \stopdisplaymath. -- Giuseppe "Oblomov" Bilotta
![](https://secure.gravatar.com/avatar/292cc62613e42686c1bc9c88b6176a8a.jpg?s=120&d=mm&r=g)
Hello Giuseppe, Thanks for your good work. Sorry for reminding this bug to you, but it's the only reason why I can't use nath even though I wish a lot. About the problem unicode characters in toc. Ref.: http://www.ntg.nl/pipermail/ntg-context/2004/005306.html I attached a minimal example unicode file. You'll get garbage instead of the expected the "e acute" on the word "Mathématiques" in the table of contents. No matter wheter I use the amsl module or not, I get the following entry in my tuo file: \listentry{section}{1}{1}{Math^^c3^^a9matiques}{2::0:0:1:0:0:0:0::1}{1} Moreover, if you replace [nath] with just [amsl], you'll get different alignment of the formula. BTW: my TeX doesn't seem to like DOS-style newlines in t-amsl.tex, so I had to convert them to Unix-style ones. David
![](https://secure.gravatar.com/avatar/292cc62613e42686c1bc9c88b6176a8a.jpg?s=120&d=mm&r=g)
Ok. I got a simpler example (no TOC): \usemodule [nath] \enableregime [utf] \starttext ^^c3^^a9 \stoptext With nath, I get "^^c3^^a9" in the output; without, I get "é". Thanks for any help, David
![](https://secure.gravatar.com/avatar/331902f4bde5e73f4eeac8719040822f.jpg?s=120&d=mm&r=g)
Monday, November 22, 2004 David Munger wrote:
Ok. I got a simpler example (no TOC):
\usemodule [nath] \enableregime [utf] \starttext ^^c3^^a9 \stoptext
With nath, I get "^^c3^^a9" in the output; without, I get "é".
Try the attached nath module. -- Giuseppe "Oblomov" Bilotta
participants (5)
-
Christopher Creutzig
-
David Munger
-
Giuseppe Bilotta
-
Hans Hagen
-
Nikolai Weibull