ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* nath catcode issues
@ 2004-07-04 13:36 Nikolai Weibull
  2004-07-05 10:01 ` Giuseppe Bilotta
  0 siblings, 1 reply; 8+ messages in thread
From: Nikolai Weibull @ 2004-07-04 13:36 UTC (permalink / raw)


It seems that the code to enable catcode handling in nath math mode
isn't working.  Currently, nath uses

\appendtoks
% \livechars@
\def({\delim@l 1\ch@lparenthesis}
\def){\delim@r 1\ch@rparenthesis}
\def[{\delim@l 1\o@lbrack}
\def]{\delim@r 1\o@rbrack}
\def>{\gt}
\def<{\lt}
\def!{\factorial}
\def,{\@comma}
\def;{\@semicolon}
\def`{\abbreviation}
% \killchars@
\to\everymath

to set it up, but as far as I can see this doesn't actually do anything
as \@comma doesn't get invoked for commas and \dots always renders like
\cdots.  Am I missing something perhaps?

Furthermore,

\def\over{\n@err{Disabled command \string\over }
 {No more a valid command. Replace {A \over B} with \frac A B.}}
\def\atop{\n@err{Disabled command \string\atop }
 {No more a valid command. Use array instead.}}
\def\choose{\n@err{Disabled command \string\choose }
 {No more a valid command. Replace {A \choose B} with \binom A B.}}

also messes up stuff in core-ref.tex for example:

! Disabled command \over.
\n@err ...rrhelp \expandafter {#2}\errmessage {#1}
                                                  \natherrormark
l.46 \indent\inchapter[definitions], \about
                                           [definitions], covers the definit...

?

Which I don't quite understand, but core-ref.tex has the line

\definecommand over {\dospecialover}

which I suppose could be troublesome.
	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);}

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

end of thread, other threads:[~2004-08-25 18:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-04 13:36 nath catcode issues Nikolai Weibull
2004-07-05 10:01 ` Giuseppe Bilotta
2004-07-05 10:44   ` Nikolai Weibull
2004-07-05 11:03     ` Giuseppe Bilotta
2004-07-05 12:42       ` Nikolai Weibull
2004-08-07 14:58         ` Giuseppe Bilotta
2004-08-08 19:28           ` Nikolai Weibull
2004-08-25 18:29             ` 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).