Changes

Jump to navigation Jump to search
no edit summary
< [[Bugs and workarounds]]

Problem:
If we switch to french in an environment file:
<pre>
\startenvironment env
\useencoding[ffr]
\mainlanguage[fr]
\stopenvironment
</pre>
Then, there is no space before ; and :
<pre>
\environment env
\starttext
bla: bla? bla! bla; bla.
\stoptext
</pre>

Workaround:
Put this at the end of the environment:
<pre>
\unprotect
\def\reactivateLostActivations{\catcode`:=\@@active
\catcode`;=\@@active}
\appendtoks\reactivateLostActivations\to\everystarttext
\protect
</pre>

Navigation menu