1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17\doifelsefontpresent{ccicons.otf} {
18 \definefontfeature
19 [creativecommons]
20 [mode=base,
21 goodies=ccicons,
22 unicoding=yes]
23 \definefontsynonym
24 [creativecommons]
25 [ccicons*creativecommons]
26} {
27 \definefontfeature
28 [creativecommons]
29 [mode=base,
30 goodies=ccicons,
31 unicoding=yes]
32 \definefontsynonym
33 [creativecommons]
34 [ccicons*creativecommons]
35}
36
37\startsymbolset[cc]
38
39 \definesymbol [sa] [\getnamedglyphdirect{creativecommons}{sa}]
40 \definesymbol [by] [\getnamedglyphdirect{creativecommons}{by}]
41 \definesymbol [cc] [\getnamedglyphdirect{creativecommons}{cc}]
42 \definesymbol [nd] [\getnamedglyphdirect{creativecommons}{nd}]
43 \definesymbol [nc] [\getnamedglyphdirect{creativecommons}{nc}]
44 \definesymbol [ncus] [\getnamedglyphdirect{creativecommons}{nc}]
45 \definesymbol [nceu] [\getnamedglyphdirect{creativecommons}{nceu}]
46 \definesymbol [ncjp] [\getnamedglyphdirect{creativecommons}{ncjp}]
47 \definesymbol [pd] [\getnamedglyphdirect{creativecommons}{pd}]
48 \definesymbol [sampling] [\getnamedglyphdirect{creativecommons}{sampling}]
49 \definesymbol [share] [\getnamedglyphdirect{creativecommons}{share}]
50 \definesymbol [remix] [\getnamedglyphdirect{creativecommons}{remix}]
51 \definesymbol [zero] [\getnamedglyphdirect{creativecommons}{zero}]
52 \definesymbol [logo] [\getnamedglyphdirect{creativecommons}{logo}]
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70 \unexpanded\def\creativecommons#1
71 {\dontleavehmode\lower.15\exheight\hbox\bgroup
72 \overloaded\let\inbetween\relax
73 \processseparatedlist[#1][]{\inbetween\overloaded\let\inbetween\enspace\directsymbol{cc}}
74 \egroup}
75
76 \definesymbol [ccbysanc] [\creativecommons{ccbysanc}]
77
78\stopsymbolset
79
80\continueifinputfile{symbimpcc.mkiv}
81
82\starttext
83
84 \showsymbolset[cc]
85
86 \symbol[cc][ccbysanc]
87
88\stoptext
89 |