summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/symb-glm.tex
blob: 0b01ca7dfdb15995ab7ad949579a1dff4eea03ab (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
%D \module
%D   [       file=symb-glm,
%D        version=2002.05.07,
%D          title=\CONTEXT\ Symbol Libraries,
%D       subtitle=Guillemots,
%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.

%D Watch the \type {x} before the local symbols.

% \loadmapfile [ec-public-lm.map]
% \loadmapfile [ec-lm.map]
\loadmapfile [lm-ec.map]

% this used to be:
%
% \definefontsynonym [GuilSerif]            [plr10]    [encoding=ec]
% \definefontsynonym [GuilSerifBold]        [plbx10]   [encoding=ec]
% \definefontsynonym [GuilSerifItalic]      [plti10]   [encoding=ec]
% \definefontsynonym [GuilSerifSlanted]     [plsl10]   [encoding=ec]
% \definefontsynonym [GuilSerifBoldItalic]  [plbxti10] [encoding=ec]
% \definefontsynonym [GuilSerifBoldSlanted] [plbxsl10] [encoding=ec]
%
% \definefontsynonym [GuilSans]             [plss10]   [encoding=ec]
% \definefontsynonym [GuilSansBold]         [plssbx10] [encoding=ec]
% \definefontsynonym [GuilSansItalic]       [plssi10]  [encoding=ec]
% \definefontsynonym [GuilSansSlanted]      [plssi10]  [encoding=ec]
% \definefontsynonym [GuilSansBoldItalic]   [plssbi10] [encoding=ec]
% \definefontsynonym [GuilSansBoldSlanted]  [plssbi10] [encoding=ec]
%
% \definefontsynonym [GuilMono]             [pltt10]   [encoding=ec]
%
% but was also one of the reasons for triggering the lm project, so:

\definefontsynonym [GuilSerif]            [ec-lmr10]    [encoding=ec]
\definefontsynonym [GuilSerifBold]        [ec-lmbx10]   [encoding=ec]
\definefontsynonym [GuilSerifItalic]      [ec-lmti10]   [encoding=ec]
\definefontsynonym [GuilSerifSlanted]     [ec-lmsl10]   [encoding=ec]
\definefontsynonym [GuilSerifBoldItalic]  [ec-lmbxti10] [encoding=ec]
\definefontsynonym [GuilSerifBoldSlanted] [ec-lmbxsl10] [encoding=ec]

\definefontsynonym [GuilSans]             [ec-lmss10]   [encoding=ec]
\definefontsynonym [GuilSansBold]         [ec-lmssbx10] [encoding=ec]
\definefontsynonym [GuilSansItalic]       [ec-lmssi10]  [encoding=ec]
\definefontsynonym [GuilSansSlanted]      [ec-lmssi10]  [encoding=ec]
\definefontsynonym [GuilSansBoldItalic]   [ec-lmssbi10] [encoding=ec]
\definefontsynonym [GuilSansBoldSlanted]  [ec-lmssbi10] [encoding=ec]

\definefontsynonym [GuilMono]             [ec-lmtt10]   [encoding=ec]
%definefontsynonym [GuilMonoBold]         [ec-lmtt10]   [encoding=ec]
%definefontsynonym [GuilMonoSlanted]      [ec-lmtt10]   [encoding=ec]
%definefontsynonym [GuilMonoItalic]       [ec-lmtt10]   [encoding=ec]
%definefontsynonym [GuilMonoBoldItalic]   [ec-lmtt10]   [encoding=ec]
%definefontsynonym [GuilMonoBoldSlanted]  [ec-lmtt10]   [encoding=ec]

\definesymbol [xleftguillemot]   [\getglyph{Guil}{\char19}]
\definesymbol [xrightguillemot]  [\getglyph{Guil}{\char20}]

\definesymbol [xguilsingleleft]  [\getglyph{Guil}{\char14}]
\definesymbol [xguilsingleright] [\getglyph{Guil}{\char15}]

%D A strange place, but okay (the \type {\relax} prevents space gobbling)

\startencoding [default]

  \definecharacter leftguillemot     {\symbol[xleftguillemot]\relax}
  \definecharacter rightguillemot    {\symbol[xrightguillemot]\relax}

  \definecharacter guilsingleleft    {\symbol[xguilsingleleft]\relax}
  \definecharacter guilsingleright   {\symbol[xguilsingleright]\relax}

\stopencoding

\endinput