summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/lh/INSTALL
blob: ca3fd20515cb4029663dc257b84da000082d169d (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
These are installation instructions for the LH fonts package version 3.4g.

The following sections are for teTeX and emTeX users; however, it is
simple to install LH fonts on any TeX system, as these instructions
are quite generic.

First of all, an important note. Please, REMOVE (i.e., backup) all old
LH fonts (all MF, PK, TFM and VF files) from your TEXMF tree, since
otherwise the name conflicts and unpredictable errors are guaranteed.
The fonts with names wn*.mf (e.g. wnr10.mf) which actually use LH
fonts also should be removed. However, the AMS Washington Cyrillic
fonts with names wncy*.mf (e.g. wncyr10.mf) can happily coexist with
the LH fonts and should not be deleted.

After installing the fonts, you can test your setup with

  "tex testfont" or "latex nfssfont" or "tex fontchart"

specifying e.g. larm1000 as the font (testfont.tex is part of emTeX's
Metafont package).


teTeX:
------

First, you can get the latest version of teTeX, --- it already includes
LH fonts properly installed (in particular, you should upgrade from
teTeX-0.4 to teTeX-1.0 or later).

Just run the script inst-lh.sh. It will do the work automatically,
or do the work manually:

1) Unpack the LH fonts package.

2) Go to the `tex' directory and run (plain) tex on 99allenc.tex to
   produce the base files for la, lb, lc, ld, rx, wn, and lh fonts for
   encodings T2A, T2B, T2C, T2D, X2, OT2, LCY, respectively.

   If your version of TeX does not support automatic (on the fly)
   generation of METAFONT files (for creation of TFM files), you may
   need to change the command \MakeFileHeadsfalse to \MakeFileHeadstrue
   in the file `tex/setter.tex' first.

   Note that the `inst-lh.sh' script produces more complete font set,
   e.g. supporting SliTeX and concrete fonts.

3) Copy the just created .mf files (in the wrk subdir) into the proper
   $TEXMF/fonts/source/lh/... subdir, e.g. rxbase.mf to lh-x2 etc.

4) Copy the contents of `mf' directory to $TEXMF/fonts/source/lh/base,
   retaining the subdirectory structure.

5) Run mktexlsr (or texhash) to have all new files `registered'.

emTeX:
------

Do steps 1) and 2) from above.

3) Copy the just created .mf files (in the wrk subdir) to a directory
   which is specified in the %MFINPUT% environment variable, e.g.
   emtex\mfinput\lh.

4) Do the same for all files from `mf' directory. To enable subdirectory
   searching, don't forget to have `!' or `!!' (whatever is appropriate
   for you) appended to the directory names in %MFINPUT%.

5) Replace the file emtex\mfjob\dvidrv.mfj with lh\dvidrv.mfj
   to enable automatic .pk font creation for all standard lh encodings.

6) Run necessary ##**-<xx>.tex file (where <xx> -- font in necessary encoding)
   to create mfjob file.

7) Create the .tfm files you'll need, using the <xx>job.mfj files. This
   will *not* create PK files to save time.


  Happy TeXing!