blob: 0a5374562c449024a3f6912498b0608ecb1eb3f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
%D \module
%D [ file=m-tryout,
%D version=2002.05.10,
%D title=\CONTEXT\ Extra Modules,
%D subtitle=Tryout Features,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
\unprotect
%D The following macros make sure that active colons work well
%D in French, a feature enabled with:
%D
%D \starttypen
%D \useencoding[ffr] \mainlanguage[fr]
%D \stoptypen
%D
%D This trick will disappear when proved robust.
\startmode[activecolon]
\gdef\sectionseparator{-}
\gdef\@@filterfirstpart [#1--#2]{#1}
\gdef\@@filtersecondpart [#1--#2]{#2}
\gdef\@@filterblockpart [#1--#2--#3]{#1}
\gdef\@@filternumberpart [#1--#2--#3]{#2}
\gdef\@@filterpagepart [#1--#2--#3]{#3}
\gdef\@@filterblocknumberpart[#1--#2--#3]{#1--#2}
\gdef\@@filterheadpart[#1]{\@EA\@@dofilterheadpart\@EA[#1-0]}
\gdef\@@filtertailpart[#1]{\@EA\@@dofiltertailpart\@EA[#1-0]}
\gdef\@@dofilterheadpart[#1-#2]{#1}
\gdef\@@dofiltertailpart[#1-#2]{#2}
\gdef\@@filterlevelpart[#1--#2--#3]{\@@dofilterlevelpart[#2-0-0-0-0]}
\gdef\@@dofilterlevelpart[#1-0-0-0-#2]{#1}
\reopenutilities
\stopmode
\protect \endinput
|