Re[4]: [NTG-context] Updated math modules

2004-11-24 Thread Giuseppe Bilotta
Tuesday, November 23, 2004 David Munger wrote:

 Giuseppe Bilotta wrote :
 
 Try the attached nath module.
 

 Works great. Thanks.

Cool, I'll upload it to CTAN.

-- 
Giuseppe Oblomov Bilotta

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


Re[2]: [NTG-context] Updated math modules

2004-11-23 Thread Giuseppe Bilotta
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

t-nath.tex.bz2
Description: Binary data
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Re[2]: [NTG-context] Updated math modules

2004-11-23 Thread David Munger
Giuseppe Bilotta wrote :
 
 Try the attached nath module.
 

Works great. Thanks.

David

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


Re: [NTG-context] Updated math modules

2004-11-22 Thread Hans Hagen
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
[EMAIL PROTECTED]@[EMAIL PROTECTED]@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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] Updated math modules

2004-11-22 Thread Giuseppe Bilotta
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
  [EMAIL PROTECTED]@[EMAIL PROTECTED]@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

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


Re: [NTG-context] Updated math modules

2004-11-22 Thread David Munger
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 Mathmatiques 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
\usemodule [nath]
\enableregime [utf]
\starttext
\completecontent
\section{Mathmatiques}
\[ f(x)= \frac 1x \]
\stoptext
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Updated math modules

2004-11-22 Thread David Munger
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

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


[NTG-context] Updated math modules

2004-11-18 Thread Giuseppe Bilotta
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

maths.tar.bz2
Description: Binary data
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Updated math modules

2004-11-18 Thread Nikolai Weibull
* Giuseppe Bilotta [EMAIL PROTECTED] [Nov 18, 2004 17:10]:
 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@ [EMAIL PROTECTED] [EMAIL PROTECTED] \inlinemath {#1}
  [EMAIL PROTECTED] [EMAIL 
PROTECTED]
...
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);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context