summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/extra/showunic.tex
blob: efdbf4d3a94292810a46cc0d5fd6bb17942a0418 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
% author  : Hans Hagen / PRAGMA-ADE
% version : 2005-06-22

% todo: take antiqua (has everything)

% \tracetypescriptstrue

\usetypescriptfile[type-cbg]

% \preloadtypescriptstrue (default at pragma)

% this font does not work ... why
%
% \starttypescript [serif] [hebrew] [default]
%     \definefontsynonym [Serif] [hclassic]
%     \loadmapline[=][hclassic < hclassic.pfb]
% \stoptypescript

\setuppapersize
  [S6][S6]

\setupbodyfont
  [10pt]

\setuplayout
  [backspace=12pt,
   topspace=12pt,
   width=middle,
   height=middle,
   header=0pt,
   footer=0pt]

\setupcolors
  [state=start]

\setupbackgrounds
  [page]
  [background=color,
   backgroundcolor=darkgray]

\definetypeface [main-latin]    [rm] [serif] [latin-modern]    [default][encoding=texnansi]
\definetypeface [main-latin]    [tt] [mono]  [latin-modern]    [default][encoding=texnansi]

\definetypeface [main-math]     [rm] [serif] [latin-modern]    [default][encoding=texnansi]
\definetypeface [main-math]     [tt] [mono]  [latin-modern]    [default][encoding=texnansi]
\definetypeface [main-math]     [mm] [math]  [latin-modern]    [default][encoding=default]

\definetypeface [main-eastern]  [rm] [serif] [latin-modern]    [default][encoding=qx]
\definetypeface [main-eastern]  [tt] [mono]  [latin-modern]    [default][encoding=texnansi]

\definetypeface [main-greek]    [rm] [serif] [cbgreek]         [default][encoding=default]
\definetypeface [main-greek]    [tt] [mono]  [latin-modern]    [default][encoding=texnansi]

\definetypeface [main-cyrillic] [rm] [serif] [computer-modern] [default][encoding=t2a]
\definetypeface [main-cyrillic] [tt] [mono]  [latin-modern]    [default][encoding=texnansi]

% \definetypeface [main-hebrew]   [rm] [serif] [hebrew]          [default][encoding=default]
% \definetypeface [main-hebrew]   [tt] [mono]  [latin-modern]    [default][encoding=texnansi]

% The \showunicodetable macro is defined in unic-run.tex.

\starttext

% latin: western / eastern

\startstandardmakeup
  \setupbodyfont[main-latin]
  \centerbox{\scale[factor=max]{\showunicodetable{000}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-eastern]
  \centerbox{\scale[factor=max]{\showunicodetable{001}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-latin]
  \centerbox{\scale[factor=max]{\showunicodetable{002}}}
\stopstandardmakeup

% greek

\startstandardmakeup
  \setupbodyfont[main-greek]
  \centerbox{\scale[factor=max]{\showunicodetable{003}}}
\stopstandardmakeup

% cyrillic

\startstandardmakeup
  \setupbodyfont[main-cyrillic]
  \centerbox{\scale[factor=max]{\showunicodetable{004}}}
\stopstandardmakeup

% hebrew

% \startstandardmakeup
%   \setupbodyfont[mainhebrew]
%   \centerbox{\scale[factor=max]{\showunicodetable{005}}}
% \stopstandardmakeup

% misc

\startstandardmakeup
  \setupbodyfont[main-latin]
  \centerbox{\scale[factor=max]{\showunicodetable{030}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-latin]
  \centerbox{\scale[factor=max]{\showunicodetable{031}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-latin]
  \centerbox{\scale[factor=max]{\showunicodetable{032}}}
\stopstandardmakeup

% math

\startstandardmakeup
  \setupbodyfont[main-math]
  \centerbox{\scale[factor=max]{\showunicodetable{033}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-math]
  \centerbox{\scale[factor=max]{\showunicodetable{034}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-math]
  \centerbox{\scale[factor=max]{\showunicodetable{039}}}
\stopstandardmakeup

\stoptext