summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/lucida/lhpack/lhfont33.en
blob: 3408c3ec2659c1776717a6a9fcfeaf394f88905e (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
=========================================================================
LHFONTS version 3.3                                      file LHFONT33.EN
=========================================================================

(C) A.Berdnikov, A.Khodulev, O.Lapko
(C) Cyrillic TeX Users Group (CyrTUG)

This  package  is freeware product.  The  modification  and  distribution
of modified package without change of its name is forbidden.

Use of this  macro  package  is  not  restricted  provided  each  use  is
acknowledged upon publication.

-------------------------------------------------------------------------

LHFONTS  package  --  package  for  creating  Cyrillic LH-family fonts in
different encodings. It includes a few ways of font creation.


How to create fonts for T2
--------------------------
You  must  create  METAFONT files  for necessary encoding using  TeX file
like 12ex-la.tex in directory LH\TEX.  After TeX's work you get necessary
mf-files  in wrk subdirectory.  Copy these  files to directory opened for
METAFONT's eyes.

emTeX  users may  create mfj-files.  Change \MFJobfalse to \MFJobtrue  in
file setter.tex.


Notes how to use and modify TeX files
-------------------------------------
File 11ex-rx.tex and so on include following commands:

\input cfhead - defaults:
  creation  of  Latin-Russian  font  in  Alternative  encoding  (see file
  01CM-LH).

\def\wrkdir{/wrk} - path for created mf files;
  by default it's wrk subdirectory. It already exists in archive file.
  NOTE for DOS and Windows users:
  in path you must use slash (/) instead of backslash (\)!

\def\fonttwoletters{lh} -  set first two letters of font  which determine
  necessary encoding;

\def\encodingletters{lh} - set two letters of encoding name  if first two
  letters in font differ from encoding name e.g.:
  \def\fonttwoletters{ll}\def\encodingletters{lh}

\def\defamily{<commands>^^J<commands>^^J} - command lines placed in  font
  header; lines should be separated by ^^J

\def\fontfile{beresec} - name  of  data  file  with  list of created font
  headers; there are following files for font creation:
  allfont.tex  - font creation for CM-like fonts i.e. fonts with CM
  font in lower part of font table (0-127);
  alfontec.tex - creation of font headers  for  T2*/X2*  encodings;  these
     fonts are analogues to EC fonts;
  allminec.tex - creation of minimal set of font headers for T2*/X2*
     encodings; there are created font size 10 only;
  beresta.tex - creation of font headers which are necessary for document
     beresta.tex -- CM-like fonts;
  beresec.tex - creation of font headers which are necessary for document
     beresta.tex -- EC-like fonts;
  albaseec.tex - experimental file with short font set of EC-like fonts.
     could be useful if user has not too much disk space.

\def\codebase{enc-t2} - name of data file with encodings.  In version 3.3
     and later the file enc-t2.tex  join both  enc-t2.tex and enc-iso.tex
     files.

The  following  commands  could be  changed  by user.  They all placed in
setter.tex:

\MakeFileHeadsfalse - creation  of  font headers;  false (default) if TeX
   system allows font using patterns otherwise make this option true; for
   SliTeX fonts always \MakeFileHeadstrue.

\MakeDvifalse - creation of DVI-file during creation  of font headers TeX
   creates  the data table  with font names and sizes;  false recommended
   because of it could be useful for CM-like fonts only.

\MakeFontEncfalse - creation of special encoding file: there are  created
   definitions for Cyrillic letters: \@tmpb\CYRA{80}\cyra{A0}; this option
   used by package.

\Babeltrue - work if previous option is true; false in version 3.3 didn't
   tested and could be deleted since it could not useful.

\TFMonlyfalse - creation  of  tfm  files  only;  this  option   works  if
   \MakeFileHeadstrue or \doMFJobtrue.  There are added following line in
   font headers or command line of MFJob file:
   boolean TFMonly; TFMonly=true;
   in this case fonts run much faster but pk or gf files  are not  useful
   and must be deleted

\doMFJobfalse - creation of MFJob file;  default false; the following
   option are satellites to \doMFJobfalse
   \jobviiibittrue       - creation of 8-bit fonts based on CM;
   \jobvirtualfalse      - creation of 8-bit fonts for virtual fonts;
   \def\fmtbase{plain}   - name of base file used MFJob work;
   \def\mfjobscaling{s0} - pattern of scales, default s0;
   \def\jobmodedef{m}    - type of fonts, default laserjet 300dpi.

\doBatchfalse - creation of batch file, default absent; if \doBatchtrue
   there are set following line for font creation:

   \def\BatchOutput#1{
       \BatchLine{$ MF "\string\mode=localfont; input #1"}
   }

you may edit  \BatchOutput by following way:

   \def\BatchOutput#1{
       \BatchLine{...}
        ...
       \BatchLine{...}
   }

i.e. set a few command lines

NOTE. This option heavily borrowed from ecstdedt.tex (EC fonts) and didn't
tested. Edit this stuff if you know what to do :-)

And at last run all necessary files for METAFONT and TeX font stuff:

   a) cod-edt.tex
      creation of necessary encoding file for the font;
      creation of uccode/lccode/mathcode file for this font;
      creation  of file  with macros-letters  for current  encoding  (this
      file is used by Babel's  Russian style (Russian letters)  or  should
      be useful for a Cyrillic letter citations).

   b) rliker.tex
      creation of necessary files  for ligatures  and kerning for  current
      letter assortment;

   c) cfstdedt.tex
      quick   creation  of  file-headers  of  fonts  named  accordingly to
      current encoding and scheme of font creation;

More fonts which you may create
-------------------------------
01CM-LH  - Latin-Russian fonts in Alternative encoding
03CM-WN  - Cyrillic  font  in  WNCYR  encoding  -  for  typesetting  with
           transliteration
04CM-VF  - Russian font in 7-bit encoding

11EX-RX  - file in X2 encoding
12EX-LA  - file in ’2A encoding
13EX-LB  - file in ’2B encoding
14EX-LC  - file in ’2C encoding
13CM-LY  - beta-file with OT2upper part/OT1
14CM-LZ  - beta-file with OT2lower part/OT1

20CM-CT  - Cyrillic in Tatar encoding
21CM-IC  - ISO-8859 Cyrillic
22CM-WC  - Windows-1251 Cyrillic
23CM-MC  - Macintosh Cyrillic
24CM-KC  - KOI8r Cyrillic

30CM-TX  - letters-X2/T2outsiders

Work with Russian language
--------------------------
For  WORK  with  Cyrillic  you  may  use Russian versions of MS DOS  4.01
and later versions (e.  g. MS DOS 6.0,  No. 147-95 UV 600)  with usage of
code page  866.   In this  system you  may in  file config.sys  write the
line:

    COUNTRY=007 866 D:\DOS\COUNTRY.SYS

    If you want to create your documents in Russian with English Alphabet
you  can  use  the  TRANSLIT  program  or  typesetting by transliteration
(use fonts WNCYR).

=========================================================================
LHFONTS version 3.3    				         file LHFONT33.EN
=========================================================================