David Munger wrote:
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
In your cont-new.tex, add: \unprotect \unexpanded\def\directdiscretionary#1% {\convertargument#1\to\discretionarytoken \let\textmodediscretionary\compoundhyphen \expandafter\ifx\csname\@tmd@\string#1\endcsname\relax \prewordbreak \discretionary{\hbox{#1}}{}{\hbox{#1}}% \allowbreak\postwordbreak \else \csname\@tmd@\string#1\endcsname \fi} \protect (or in supp-lan.tex, add the \unexpanded and recompile a format) 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 -----------------------------------------------------------------