| 1 |
======================================================================== |
| 2 |
|
| 3 |
These are generic installation instructions for the CM-LGC font package. |
| 4 |
|
| 5 |
Below, we assume that your TeX system is compliant to the TDS (TeX |
| 6 |
Directory Structure) standard. If it is not so, refer to documentation of |
| 7 |
your TeX system for the proper locations of files of various types. |
| 8 |
|
| 9 |
To install the CM-LGC font package in teTeX, fpTeX, TeX Live, MikTeX |
| 10 |
or VTeX/Free systems: |
| 11 |
|
| 12 |
1. Copy everything in package's fonts/ directory to the directory of the |
| 13 |
same name inside one of your TEXMF trees (e. g. /usr/share/texmf/fonts/ or |
| 14 |
C:\texmf\fonts\). Thus all *.pfb, *.afm, *.tfm, *.vf, *.ofm and *.ovf |
| 15 |
files will be copied to the appropriate subdirectories where they should |
| 16 |
reside. |
| 17 |
|
| 18 |
2. Again, copy everything in tex/ and (optionally) omega/ directories to |
| 19 |
the directories of the same name inside a TEXMF tree in order to make all |
| 20 |
*.fd files and style packages available to LaTeX and Omega/Lambda. |
| 21 |
|
| 22 |
3. (a) [not for VTeX/Free] Repeat the step above also for package's |
| 23 |
dvips/ directory. |
| 24 |
|
| 25 |
(b) [for VTeX/Free only] For VTeX special font mapping files are |
| 26 |
required, which are not compatible with those used by dvips. |
| 27 |
Previously, these files resided in texmf/vtex/, but the directory |
| 28 |
structure has been changed in recent VTeX/Free versions (I have tested |
| 29 |
CM-LGC 0.5 with VTeX/Free 8.44), so that now all files responsible for |
| 30 |
font mapping should be placed into the common texmf/fonts/ directory |
| 31 |
instead. This is very inconvenient, because now you can't copy |
| 32 |
everyting in vtex/ to your texmf/vtex/ directory, as it is performed |
| 33 |
for all other files. On the other hand, I can't put my VTeX-specific |
| 34 |
stuff to the main fonts/ directory of the package, since this directory |
| 35 |
should contain only files needed for *all* TeX distributions. |
| 36 |
|
| 37 |
So beginning from v. 0.5 the vtex/ directory of the CM-LGC package |
| 38 |
contains one subdirectory, called fonts/. You should copy everything |
| 39 |
found in this subdirectory (basically, *.ali and *.enc files) to the |
| 40 |
texmf/fonts/ directory of your VTeX installation rather than to |
| 41 |
texmf/vtex. |
| 42 |
|
| 43 |
5. Instruct your TeX (pdftex, vtex, etc.) or drivers (dvips, dvipdfm, |
| 44 |
etc.) to use your new fonts. To accomplish this, do one of the following |
| 45 |
points which corresponds to your TeX system (if it is not listed here, |
| 46 |
please refer to the documentation). |
| 47 |
|
| 48 |
(a) [for teTeX or fpTeX] Edit the file web2c/updmap.cfg inside your |
| 49 |
$VARTEXMF tree (or your main $TEXMF tree) and add the following line: |
| 50 |
|
| 51 |
Map cm-lgc.map |
| 52 |
|
| 53 |
Then run the `updmap' script to update font mapping files for |
| 54 |
dvips, pdfTeX and dvipdfm. |
| 55 |
|
| 56 |
(b) [for MikTeX] Edit the file updmap.cfg which resides inside your local |
| 57 |
TeX tree, e. g. C:\localtexmf\miktex\config\updmap.cfg (you |
| 58 |
should first create this file if it doesn't exist) and add the |
| 59 |
same line as for teTeX or fpTeX, i. e.: |
| 60 |
|
| 61 |
Map cm-lgc.map |
| 62 |
|
| 63 |
(c) [for VTeX/Free only] Edit the files .../texmf/vtex/config/ps.fm |
| 64 |
and .../texmf/vtex/config/pdf.fm, and add the following line into the |
| 65 |
TYPE1 section: |
| 66 |
|
| 67 |
cm-lgc.ali |
| 68 |
|
| 69 |
Optionally you may also add the cm-lgc-vf.ali file to the VF3 section |
| 70 |
of your pdf.fm file (create this section, if it doesn't exist). |
| 71 |
According to the VTeX documentation, adding a special mapping file for |
| 72 |
virtual fonts should enable searching in pdf files generated by VTeX, |
| 73 |
as well as copying text (including non-ASCII characters) into another |
| 74 |
applications. However, using this file really seems to have no effect, |
| 75 |
at least in VTeX/Free v. 8.44. |
| 76 |
|
| 77 |
6. [not for VTeX/Free] Update the filename search database: run "mktexlsr" |
| 78 |
on teTeX, TeX Live, or fpTeX; run "initexmf -u" on MikTeX (or go to |
| 79 |
"MikTeX Options" -> "General" -> "File name database" and do the same by |
| 80 |
pressing the "Refresh now" button). |
| 81 |
|
| 82 |
7. [not for VTeX/Free] update font mapping files for dvips, pdfTeX and |
| 83 |
dvipdfm: run the "updmap" script on teTeX, TeX Live, or fpTeX; run |
| 84 |
"initexmf --mkmaps" on MikTeX. |
| 85 |
|
| 86 |
8. You can install the CM-LGC fonts as regular Windows fonts, if you |
| 87 |
wish to use them in non-TeX applications (e.g. packages for preparation |
| 88 |
of graphics which are to be included into your TeX documents, or even |
| 89 |
word processors, etc.) |
| 90 |
|
| 91 |
If you use Windows 9*/Me or Windows NT 4.0, you will need Adobe Type |
| 92 |
Manager (either a regular version, or the Lite version, which is available |
| 93 |
for free from the Adobe web site). |
| 94 |
|
| 95 |
Place all corresponding PFB, AFM, and INF files which you need to |
| 96 |
install into the same directory, and feed it to ATM (or to the standard |
| 97 |
Windows font installation utility under Windows 2000/XP). |
| 98 |
|
| 99 |
======================================================================== |