symb-imp-cow.mkiv /size: 5738 b    last modification: 2020-07-01 14:35
1
%D \module
2
%D [ file=symb-cow,
3
%D version=2006.06.23,
4
%D title=\CONTEXT\ Symbol Libraries,
5
%D subtitle=Cow Symbols,
6
%D author=Hans Hagen,
7
%D date=\currentdate,
8
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9
%C
10
%C This module is part of the \CONTEXT\ macro||package and is
11
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12
%C details.
13 14
\definefontsynonym
[
Cows
]
[
koeielett
]
15
\definefontsynonym
[
CowsContour
]
[
koeielett
-
contour
]
16
\definefontsynonym
[
CowsLogo
]
[
koeielogos
]
17
\definefontsynonym
[
CowsLogoContour
]
[
koeielogos
-
contour
]
18 19
\definecolor
[
lsky
]
[
r
=
.
6
,
g
=
.
6
,
b
=
1
]
20
\definecolor
[
dsky
]
[
r
=
.
1
,
g
=
.
1
,
b
=
1
]
21
\definecolor
[
lground
]
[
r
=
.
3
,
g
=
.
9
,
b
=
.
3
]
22
\definecolor
[
dground
]
[
r
=
0
,
g
=
.
5
,
b
=
0
]
23
\definecolor
[
cspots
]
[
r
=
.
3
3
,
g
=
.
1
,
b
=
0
]
24 25
\definecolor
[
tlsky
]
[
t
=
.
5
,
a
=
1
,
r
=
.
6
,
g
=
.
6
,
b
=
1
]
26
\definecolor
[
tdsky
]
[
t
=
.
5
,
a
=
1
,
r
=
.
1
,
g
=
.
1
,
b
=
1
]
27
\definecolor
[
tlground
]
[
t
=
.
5
,
a
=
1
,
r
=
.
3
,
g
=
.
9
,
b
=
.
3
]
28
\definecolor
[
tdground
]
[
t
=
.
5
,
a
=
1
,
r
=
0
,
g
=
.
5
,
b
=
0
]
29
\definecolor
[
tcspots
]
[
t
=
.
5
,
a
=
1
,
r
=
.
3
3
,
g
=
.
1
,
b
=
0
]
30 31
\definepalet
32
[
cow
]
33
[
normal
=
lground
,
34
contour
=
dground
,
35
sky
=
lsky
]
36 37
\def
\CowNormal
#
1
%
38
{
\dontleavehmode
\hbox
{
\color
[
cow
:
normal
]
{
\getnamedglyphdirect
{
Cows
}{
#
1
}}}}
39 40
\def
\ScaledCowNormal
#
1
#
2
%
41
{
\dontleavehmode
\hbox
{
\color
[
cow
:
normal
]
{
\definedfont
[
Cows
sa
#
1
]#
2
}}}
42 43
\def
\ScaledCowOverlay
#
1
#
2
%
44
{
\dontleavehmode
\hbox
45
{
\color
[
cow
:
contour
]
{
\hsmash
{
\definedfont
[
CowsContour
sa
#
1
]#
2
}}
%
46
\color
[
cow
:
normal
]
{
\definedfont
[
Cows
sa
#
1
]#
2
}}}
47 48
\def
\CowOverlay
#
1
%
49
{
\dontleavehmode
\hbox
50
{
\color
[
cow
:
contour
]
{
\hsmash
{
\getnamedglyphdirect
{
CowsContour
}{
#
1
}}}
%
51
\color
[
cow
:
normal
]
{
\getnamedglyphdirect
{
Cows
}
{
#
1
}}}}
52 53
\def
\CowContour
#
1
%
54
{
\dontleavehmode
\hbox
55
{
\color
[
cow
:
contour
]
{
\hsmash
{
\getnamedglyphdirect
{
CowsLogoContour
}{
#
1
}}}
%
56
\color
[
cow
:
normal
]
{
\getnamedglyphdirect
{
CowsLogo
}
{
#
1
}}}}
57 58
\def
\CowLogo
{
\getnamedglyphdirect
{
CowsLogo
}}
% #1
59
\def
\CowContourLogo
{
\getnamedglyphdirect
{
CowsLogoContour
}}
% #1
60 61
\chardef
\CowPragmaNormal
=
1
62
\chardef
\CowPragmaShaded
=
2
0
63 64
\startsymbolset
[
cownormal
]
65 66
\definesymbol
[
CowPragmaADE
]
[
\CowLogo
{
P
_
r
_
a
_
g
_
m
_
a
_
A
_
d
_
e
}
]
67
\definesymbol
[
CowPragma
]
[
\CowLogo
{
p
_
r
_
a
_
g
_
m
_
a
_
a
_
d
_
e
}
]
68
\definesymbol
[
CowConTeXt
]
[
\CowLogo
{
c
_
o
_
n
_
t
_
e
_
x
_
t
}
]
69
\definesymbol
[
CowConTeXtComplete
]
[
\CowLogo
{
contextlogo
}
]
70
\definesymbol
[
CowConTeXtShadow
]
[
\CowLogo
{
contextlogo
.
shadow
}
]
71
\definesymbol
[
CowConTeXtContour
]
[
\CowLogo
{
contextlogo
.
contour
}
]
72
\definesymbol
[
CowConTeXtOutline
]
[
\CowLogo
{
contextlogo
.
skeleton
}
]
73
\definesymbol
[
CowConTeXtDots
]
[
\CowLogo
{
contextlogo
.
dots
}
]
74
\definesymbol
[
CowMP
]
[
\CowLogo
{
M
_
P
}
]
75
\definesymbol
[
CowMPComplete
]
[
\CowLogo
{
mplogo
}
]
76
\definesymbol
[
CowTeX
]
[
\CowLogo
{
T
_
e
_
X
}
]
77
\definesymbol
[
CowTeXComplete
]
[
\CowLogo
{
texlogo
.
alt
}
]
78
\definesymbol
[
CowBoo
]
[
\CowLogo
{
boo
}
]
79
\definesymbol
[
CowCow
]
[
\CowLogo
{
cow
}
]
80
\definesymbol
[
CowExampleComplete
]
[
\CowLogo
{
E
_
x
_
a
_
m
_
p
_
l
_
e
}
]
81
\definesymbol
[
CowFoxetComplete
]
[
\CowLogo
{
F
_
o
_
X
_
e
_
t
}
]
82
\definesymbol
[
CowMetafun
]
[
\CowLogo
{
m
_
e
_
t
_
a
_
f
_
u
_
n
}
]
83
\definesymbol
[
CowMetafunComplete
]
[
\CowLogo
{
metafunlogo
}
]
84
\definesymbol
[
CowTEXComplete
]
[
\CowLogo
{
texlogo
}
]
85
\definesymbol
[
CowWikiComplete
]
[
\CowLogo
{
wikilogo
}
]
86
\definesymbol
[
CowPragmaADEComplete
][
\CowLogo
{
PragmaADElogo
}
]
87
\definesymbol
[
CowPragmaComplete
]
[
\CowLogo
{
pragmaadelogo
}
]
88
\definesymbol
[
CowExample
]
[
\CowLogo
{
examplelogo
}
]
89
\definesymbol
[
CowFoxet
]
[
\CowLogo
{
foxetlogo
}
]
90
\definesymbol
[
CowTEX
]
[
\CowLogo
{
T
_
E
_
X
}
]
91
\definesymbol
[
CowWiki
]
[
\CowLogo
{
W
_
i
_
k
_
i
}
]
92
\definesymbol
[
CowCowTeXtComplete
]
[
\CowLogo
{
cowtextlogo
}
]
93
\definesymbol
[
CowCowTeXt
]
[
\CowLogo
{
C
_
o
_
w
_
t
_
e
_
x
_
t
}
]
94 95
\stopsymbolset
96 97
\startsymbolset
[
cowcontour
]
98 99
\definesymbol
[
CowPragmaADE
]
[
\CowLogo
{
P
_
r
_
a
_
g
_
m
_
a
_
A
_
d
_
e
}
]
100
\definesymbol
[
CowPragma
]
[
\CowLogo
{
p
_
r
_
a
_
g
_
m
_
a
_
a
_
d
_
e
}
]
101
\definesymbol
[
CowConTeXt
]
[
\CowLogo
{
c
_
o
_
n
_
t
_
e
_
x
_
t
}
]
102
\definesymbol
[
CowConTeXtComplete
]
[
\CowLogo
{
contextlogo
}
]
103
\definesymbol
[
CowConTeXtShadow
]
[
\CowLogo
{
contextlogo
.
shadow
}
]
104
\definesymbol
[
CowConTeXtContour
]
[
\CowLogo
{
contextlogo
.
contour
}
]
105
\definesymbol
[
CowConTeXtOutline
]
[
\CowLogo
{
contextlogo
.
skeleton
}
]
106
\definesymbol
[
CowConTeXtDots
]
[
\CowLogo
{
contextlogo
.
dots
}
]
107
\definesymbol
[
CowMP
]
[
\CowLogo
{
M
_
P
}
]
108
\definesymbol
[
CowMPComplete
]
[
\CowLogo
{
mplogo
}
]
109
\definesymbol
[
CowTeX
]
[
\CowLogo
{
T
_
e
_
X
}
]
110
\definesymbol
[
CowTeXComplete
]
[
\CowLogo
{
texlogo
.
alt
}
]
111
\definesymbol
[
CowBoo
]
[
\CowLogo
{
boo
}
]
112
\definesymbol
[
CowCow
]
[
\CowLogo
{
cow
}
]
113
\definesymbol
[
CowExampleComplete
]
[
\CowLogo
{
E
_
x
_
a
_
m
_
p
_
l
_
e
}
]
114
\definesymbol
[
CowFoxetComplete
]
[
\CowLogo
{
F
_
o
_
X
_
e
_
t
}
]
115
\definesymbol
[
CowMetafun
]
[
\CowLogo
{
m
_
e
_
t
_
a
_
f
_
u
_
n
}
]
116
\definesymbol
[
CowMetafunComplete
]
[
\CowLogo
{
metafunlogo
}
]
117
\definesymbol
[
CowTEXComplete
]
[
\CowLogo
{
texlogo
}
]
118
\definesymbol
[
CowWikiComplete
]
[
\CowLogo
{
wikilogo
}
]
119
\definesymbol
[
CowPragmaADEComplete
][
\CowLogo
{
PragmaADElogo
}
]
120
\definesymbol
[
CowPragmaComplete
]
[
\CowLogo
{
pragmaadelogo
}
]
121
\definesymbol
[
CowExample
]
[
\CowLogo
{
examplelogo
}
]
122
\definesymbol
[
CowFoxet
]
[
\CowLogo
{
foxetlogo
}
]
123
\definesymbol
[
CowTEX
]
[
\CowLogo
{
T
_
E
_
X
}
]
124
\definesymbol
[
CowWiki
]
[
\CowLogo
{
W
_
i
_
k
_
i
}
]
125
\definesymbol
[
CowCowTeXtComplete
]
[
\CowLogo
{
cowtextlogo
}
]
126
\definesymbol
[
CowCowTeXt
]
[
\CowLogo
{
C
_
o
_
w
_
t
_
e
_
x
_
t
}
]
127 128
\stopsymbolset
129 130
\endinput
131