[NTG-context] placeformula with active colon

David Munger mungerd at users.sourceforge.net
Mon Oct 25 22:53:10 CEST 2004


Hello,


Making the colon active results in errors when using colons in formula
labels. Example:

\useencoding[ffr]
\mainlanguage [fr]
\starttext
\placeformula[eq:foo]
\startformula
  a = 0
\stopformula
\stoptext

Log:


 TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004

[...]

ConTeXt  ver: 2004.10.19  fmt: 2004.10.23  int: english  mes: english

[...]

! Undefined control sequence.
<argument> \discretionarytoken

\convertargument #1\to #2->\dodoglobal \edef #2
                                               {\detokenize {#1}}
\directdiscretionary ...#1\to \discretionarytoken
                                                  \let
\textmodediscretionar...
<argument> eq:
              foo
\doifelse #1#2->\edef \!!stringa {#1
                                    }\edef \!!stringb {#2}\ifx \!!
stringa \!...

\dodoplaceformula [#1]#2->\doifelse {#1}{-}
                                            {\setfalse
\handleformulanumber ...
...
l.5 \startformula



Thanks for any help,

David Munger



More information about the ntg-context mailing list