blob: 3797aac864beff437696754bca3d787566f1d18c (
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
|
%
% beresta.tex
%
%% Cyrillic font container with T2 encoding beta-support
%
% This file is future part of lxfonts package
% Version 3.4 // Patchlevel=0
% (c) O.Lapko
%
% This package belongs to the public domain under conditions similar to
% those of D. E. Knuth specified for the Computer Modern family of fonts.
% In particular, only the authors are entitled to modify this file
% and to save it under the same name.
%
% Content:
%
% Start file; runs documentation files
% with list of all T2 letters created in LHFONTS package in:
% English; Russian languages;
% Russian: Alternative alt; T2 encoding (here: =Windows 1251) win; KOI-8 koi
% ~~~ ~~~ ~~~
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% necessary fonts:
%
% CM fonts
% ========
% ===============================================
% rxrm (0700) 1000 (1200) 1440
% rxti 1000 1440
% rxss 1000 1440
% rxcsc 1000 1440
% rxtt 1000 1440
%
% additional fonts:
%
% LHfonts: (01cm-lh.tex) Alternative
% lhr 7 10 12
% lhsltt 10
% lhsl 10
% lhti 10
% lhbx 10
%
% txrm 1000 1440
% txti 1000 1440
% txss 1440
% txtt 1440
% txcc 1440
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newif\ifrussiandoc % documentation in Russian
\newif\ifmainencoding % documentation in T2 encoding?
\newif\ifalt % documentation in Alternative (or Koi-8) encoding?
\newif\ifpoortype % only font with T2 encoding used?
\newlinechar`\^^J
\def\help{
\message{
\string\eng = English^^J
\string\rus = Alternative^^J
}%
\message{@Name of language/encoding or type \string\help\ = ^^J}
\read-1 to\startdoc
}
\def\eng {\russiandocfalse}
\def\rus {\russiandoctrue\mainencodingfalse\alttrue}
\def\poor{\poortypetrue}
\def\full{\poortypefalse}
\message{^^JName of language/encoding or type \string\help\ = ^^J}%
\read-1 to\startdoc
\startdoc
\message{Could you use additional non-T2 fonts^^J
or you use full font assortment^^J
(\string\poor/\string\full)?^^J}
\read-1 to\startdoc
\startdoc
%%%%%%%%%
\overfullrule=0pt
\hsize185mm\hoffset-.5in
\parindent0pt
\raggedbottom\raggedright
\catcode`\_=11
\input rxcodes
\input rscodes
\input txcodes
\input lacodes
\input lbcodes
\input lccodes
\input ldcodes
\def\lowtoup{.2ex}
% FONTS
% Common fonts:
% for Latin alphabet
\font\xivrm cmr10 scaled \magstep2
\font\xivcsc cmcsc10 scaled \magstep2
\font\xivti cmti10 scaled \magstep2
\font\xivss cmss10 scaled \magstep2
\font\xivtt cmtt10 scaled \magstep2
%
\font\dc rxrm1000
\font\dcit rxti1000
%
\font\dcr rxrm1440
\font\dcti rxti1440
\font\dcss rxss1440
\font\dctt rxtt1440
\font\dccsc rxcc1440
\let\xrm\rm
\let\xti\it
\let\xsl\sl
\let\xbf\bf
% fonts for documentation
\ifrussiandoc % Russian doc
\font\rm lhr10
\font\sevenrm lhr7
\font\twelverm lhr12
\font\it lhti10
\font\sl lhsl10
\font\bf lhbx10
\fi
\rm
% additional fonts
\ifpoortype
\else
%%%
\font\dctwox txrm1000
\font\dcittwox txti1000
\font\dctwos rsrm1000
\font\dcittwos rsti1000
\font\dctwoa larm1000
\font\dcittwoa lati1000
\font\dctwob lbrm1000
\font\dcittwob lbti1000
\font\dctwoc lcrm1000
\font\dcittwoc lcti1000
\font\dctwod ldrm1000
\font\dcittwod ldti1000
%%%
\font\dcrtwox txrm1440
\font\dctitwox txti1440
\font\dcsstwox txss1440
\font\dctttwox txtt1440
\font\dccsctwox txcc1440
%
\font\dcrtwos rsrm1440
\font\dctitwos rsti1440
\font\dcsstwos rsss1440
\font\dctttwos rstt1440
\font\dccsctwos rscc1440
%
\font\dcrtwoa larm1440
\font\dctitwoa lati1440
\font\dcsstwoa lass1440
\font\dctttwoa latt1440
\font\dccsctwoa lacc1440
%
\font\dcrtwob lbrm1440
\font\dctitwob lbti1440
\font\dcsstwob lbss1440
\font\dctttwob lbtt1440
\font\dccsctwob lbcc1440
%
\font\dcrtwoc lcrm1440
\font\dctitwoc lcti1440
\font\dcsstwoc lcss1440
\font\dctttwoc lctt1440
\font\dccsctwoc lccc1440
%
\font\dcrtwod ldrm1440
\font\dctitwod ldti1440
\font\dcsstwod ldss1440
\font\dctttwod ldtt1440
\font\dccsctwod ldcc1440
\fi
% DEFINITIONS
\def\ifpoor#1#2{\ifpoortype{\dc #1 }\else
\ifx\dctwox\undefined{--}\else{#2}\fi\fi}
\def\tableonemacros{%
%
\def\: ##1 ##2 ##3 //##4//{%
\vtop{\raggedright\rightskip0ptplus200pt\tt\hsize9em
\strut CYR_##1:\hfil\break\strut ##3\par}%
& \vtop{\offinterlineskip\dcr\hsize7pc
\hbox{\hbox to1.5pc{\csname CYR_##1\endcsname\hss}\nobreak
\unskip\hbox to1.5pc{\dccsc\csname CYR_##1\endcsname\hss}\nobreak
\unskip\hbox to1.5pc{\dcti \csname CYR_##1\endcsname\hss}\nobreak
\unskip\hbox to1.5pc{\dcss \csname CYR_##1\endcsname\hss}\nobreak
\unskip\hbox to1pc {\dctt \csname CYR_##1\endcsname\hss}%
}\par}%
& \vtop{\raggedright
\rightskip0ptplus200pt\hsize4cm\xrm##4\strut\par}%
& \vtop{\raggedright
\rightskip0ptplus200pt\hsize7.75cm\xrm##2\strut\par}%
\cr
\noalign{\vskip.5ex}
}
\def\;##1 ##2 ##3 ##4 //##5//{%
\vtop{\raggedright\rightskip0ptplus200pt\tt\hsize9em
\strut CYR_##2:\hfil\break\strut ##4\par}%
& \vtop{\offinterlineskip\dcr\hsize7pc
\hbox {\hbox to1.5pc{\ifpoor{--}
{\csname dcrtwo##1\endcsname\csname ##1CYR_##2\endcsname}\hss}\nobreak
\unskip\hbox to1.5pc{\ifpoor{--}%
{\csname dccsctwo##1\endcsname\csname ##1CYR_##2\endcsname}\hss}\nobreak
\unskip\hbox to1.5pc{\ifpoor{--}%
{\csname dctitwo##1\endcsname\csname ##1CYR_##2\endcsname}\hss}\nobreak
\unskip\hbox to1.5pc{\ifpoor{--}%
{\csname dcsstwo##1\endcsname\csname ##1CYR_##2\endcsname}\hss}\nobreak
\unskip\hbox to1pc {\ifpoor{--}%
{\csname dctttwo##1\endcsname\csname ##1CYR_##2\endcsname}\hss}\ignorespaces
}\par}%
& \vtop{\raggedright
\rightskip0ptplus200pt\hsize4cm\xsl##5\strut\par}%
& \vtop{\raggedright
\rightskip0ptplus200pt\hsize7.75cm\xsl##3\strut\par}%
\cr
\noalign{\vskip.5ex}
}
%
\def\COD##1##2##3##4##5{%
\def\chk####1####2{\def\tempa{--}\def\tempb{''}\def\tempx{####2}\def\tempy{####1}%
\ifx\tempx\tempa\ifx\tempy\empty{\rm--}\else|\fi\else
\ifx\tempx\tempb{####1|}\else{\ifx\tempy\empty\else####1:\fi####2|}\fi\fi}%
\hbox to\hsize{\chk{}{##1}|\chk{A}{##2}\chk{B}{##3}\chk{C}{##4}\chk{D}{##5}\hss}}
%
\long\def\> ##1+##2 ##3##4 ##5 //##6//{%
\vtop{\raggedright\rightskip0ptplus200pt\tt\hsize9em
\strut CYR_##1,\hfil\break\strut CYR_##2:\hfil\break
\strut ##3##4\par}%
& \vtop{\offinterlineskip\dcr\hsize7pc
\hbox{\hbox to1.5pc{\csname CYR_##1\endcsname\hfil}\nobreak
\unskip\hbox to1.5pc
{\dccsc\csname CYR_##1\endcsname\hss}\nobreak
\unskip\hbox to1.5pc
{\dcti \csname CYR_##1\endcsname\hss}\nobreak
\unskip\hbox to1.5pc
{\dcss \csname CYR_##1\endcsname\hss}\nobreak
\unskip\hbox to1pc
{\dctt \csname CYR_##1\endcsname\hss}\ignorespaces
}\par
\lineskip3pt\lineskiplimit3pt
\hbox{\hbox to1.5pc{\csname CYR_##2\endcsname\hfil}\nobreak
\unskip\hbox to1.5pc
{\dccsc\csname CYR_##2\endcsname\hss}\nobreak
\unskip\hbox to1.5pc
{\dcti \csname CYR_##2\endcsname\hss}\nobreak
\unskip\hbox to1.5pc
{\dcss \csname CYR_##2\endcsname\hss}\nobreak
\unskip\hbox to1pc
{\dctt \csname CYR_##2\endcsname\hss}\ignorespaces
}\par
}%
& \vtop{\raggedright
\rightskip0ptplus200pt\hsize4cm\xrm##5\strut\par
}%
& \vtop{\raggedright
\rightskip0ptplus200pt\hsize7.75cm\rm##6\strut\par
}%
\cr
\noalign{\vskip.5ex}
}
%
\long\def\<##1 ##2+##3 ##4##5 ##6 //##7//{%
\vtop{\raggedright\rightskip0ptplus200pt\tt\hsize9em
\strut CYR_##2,\hfil\break\strut CYR_##3:\hfil\break
\strut ##4##5\par}%
& \vtop{\offinterlineskip\dcr\hsize7pc
\hbox{\hbox to1.5pc{\csname dcrtwo##1\endcsname\csname ##1CYR_##2\endcsname\hfil}\nobreak
\unskip\hbox to1.5pc
{\csname dccsctwo##1\endcsname\csname ##1CYR_##2\endcsname\hss}\nobreak
\unskip\hbox to1.5pc
{\csname dctitwo##1\endcsname\csname ##1CYR_##2\endcsname\hss}\nobreak
\unskip\hbox to1.5pc
{\csname dcsstwo##1\endcsname\csname ##1CYR_##2\endcsname\hss}\nobreak
\unskip\hbox to1pc
{\csname dctttwo##1\endcsname\csname ##1CYR_##2\endcsname\hss}\ignorespaces
}\par
\lineskip3pt\lineskiplimit3pt
\hbox{\hbox to1.5pc{\csname dcrtwo##1\endcsname\csname ##1CYR_##3\endcsname\hfil}\nobreak
\unskip\hbox to1.5pc
{\csname dccsctwo##1\endcsname\csname ##1CYR_##3\endcsname\hss}\nobreak
\unskip\hbox to1.5pc
{\csname dctitwo##1\endcsname\csname ##1CYR_##3\endcsname\hss}\nobreak
\unskip\hbox to1.5pc
{\csname dcsstwo##1\endcsname\csname ##1CYR_##3\endcsname\hss}\nobreak
\unskip\hbox to1pc
{\csname dctttwo##1\endcsname\csname ##1CYR_##3\endcsname\hss}\ignorespaces
}\par
}%
& \vtop{\raggedright
\rightskip0ptplus200pt\hsize4cm\xrm##6\strut\par
}%
& \vtop{\raggedright
\rightskip0ptplus200pt\hsize7.75cm\rm##7\strut\par
}%
\cr
\noalign{\vskip.5ex}
}%
}
%%%
\catcode`\@=11
\def\tabletwomacros{%
%
\def\> ##1 ##2 ##3-- {$\bullet$
& \vtop{\raggedright\rightskip0ptplus200pt\hsize4cm\rm ##1\strut}
& ##2
& \vtop{\hsize=10cm\rm ##3\strut}
\cr
}%
%
%% macros for letters
%
\def\Excl ##1 {{\dc \csname CYR_##1\endcsname}\ }%
%
\def\Excls##1 {{\dc \csname CYR_##1\endcsname}\
({\dcit\csname CYR_##1\endcsname})\ }%
%
%
\ifpoortype
%\relax
\else
%
\def\Point ##1 ##2 {{\csname dctwo##1\endcsname\csname CYR_##2\endcsname}\ }%
%
\def\Points##1 ##2 {{\csname dctwo##1\endcsname\csname CYR_##2\endcsname}\
({\csname dcittwo##1\endcsname\csname CYRI_##2\endcsname})\ }%
%
\fi
%
}
\catcode`\@12
%%%
\def\CYR_ {}
\def\CYRI_{}
\def\EXTRA#1{\noalign{\medskip\bf #1\hfil\medskip}}
\def\Sign #1{\ifdim\lastskip>0pt\unskip\fi$^{#1}$}
\def\){\unskip)}
% "language" macros:
\ifrussiandoc
\def\Var{{\it ¢ ਠâ\/}: }
\def\accented{\hfil\break{\it ªæ¥â¨à®¢ ë¥ ¡ãª¢ë\/}:\hfil\break}
\def\modified{\hfil\break{\it ¡ãª¢ë á ¬®¤¨ä¨ª â®à ¬¨\/}:\hfil\break}
\long\def\twolang#1#2{\bgroup#2\egroup\ignorespaces}
\else
\def\Var{{\it variant\/}: }
\def\accented{\hfil\break{\it accented letters\/}:\hfil\break}
\def\modified{\hfil\break{\it modified letters\/}:\hfil\break}
\long\def\twolang#1#2{\bgroup#1\egroup\ignorespaces}
\fi
\input berestax
\bye
|