1
2
3
4
5
6
7
8
9
10
11
12
13
14\writestatus { loading }{ ConTeXt Language Macros Spacing }
15
16
17
18
19
20
21\unprotect
22
23\definehspace [ \s!fr ] [ quotation ] [ \flexiblespaceamount { . 8 }{ . 3 }{ . 8 } ]
24\definehspace [ \s!fr ] [ sentence ] [ \fixedspaceamount { 1 } ]
25
26
27
28
29\definehspace [ \s!fr ] [ interquotation ] [ \zeropoint ]
30\definehspace [ \s!fr ] [ intersentence ] [ \zeropoint ]
31
32\definehspace [ \string : ] [ \zeropoint ]
33\definehspace [ \string ; ] [ \zeropoint ]
34\definehspace [ \string ! ] [ \zeropoint ]
35\definehspace [ \string ? ] [ \zeropoint ]
36
37\definehspace [ \s!fr ] [ \string : ] [ \spaceamount ]
38\definehspace [ \s!fr ] [ \string ; ] [ . 1 6 6 6 7 em ]
39\definehspace [ \s!fr ] [ \string ! ] [ . 1 6 6 6 7 em ]
40\definehspace [ \s!fr ] [ \string ? ] [ . 1 6 6 6 7 em ]
41
42
43
44
45
46
47
48
49\definetextmodediscretionary : { \removeunwantedspaces \wordboundary\kern \hspaceamount \currentlanguage { : } : }
50\definetextmodediscretionary ; { \removeunwantedspaces \wordboundary\kern \hspaceamount \currentlanguage { ; } ; }
51\definetextmodediscretionary ? { \removeunwantedspaces \wordboundary\kern \hspaceamount \currentlanguage { ? } ? }
52\definetextmodediscretionary ! { \removeunwantedspaces \wordboundary\kern \hspaceamount \currentlanguage { ! } ! }
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74\protect \endinput
75 |