Difference between revisions of "No space before punctuation"
Jump to navigation
Jump to search
(4 intermediate revisions by one other user not shown) | |||
Line 26: | Line 26: | ||
\protect | \protect | ||
</pre> | </pre> | ||
+ | |||
+ | Proposed Solution HH (in kernel): | ||
+ | |||
+ | <pre> | ||
+ | \appendtoks | ||
+ | \enablelanguagespecifics[\currentlanguage]% | ||
+ | \to \everystarttext | ||
+ | </pre> | ||
+ | |||
+ | [[Category:deletemeperhaps]] |
Latest revision as of 03:30, 16 December 2010
Problem: If we switch to french in an environment file:
\startenvironment env \useencoding[ffr] \mainlanguage[fr] \stopenvironment
Then, there is no space before ; and :
\environment env \starttext bla: bla? bla! bla; bla. \stoptext
Workaround: Put this at the end of the environment:
\unprotect \def\reactivateLostActivations{\catcode`:=\@@active \catcode`;=\@@active} \appendtoks\reactivateLostActivations\to\everystarttext \protect
Proposed Solution HH (in kernel):
\appendtoks \enablelanguagespecifics[\currentlanguage]% \to \everystarttext