| 1 |
Using dvidrv.btm [emTeX for DOS and OS/2] |
| 2 |
------------------------------------------- |
| 3 |
|
| 4 |
This batch file does the same as MakeTeXPK does; it is a replacement for |
| 5 |
dvidrv.exe of emTeX which can handle ttf2pk, hbf2gf, and ps2pk additionally |
| 6 |
(the ps2pk part is untested yet; it uses ps2pkmfj of the 4allTeX |
| 7 |
distribution and was basically copied from a similar script, also part of |
| 8 |
4allTeX). |
| 9 |
|
| 10 |
First of all, create and install a set of TFM files as described in the |
| 11 |
previous section. |
| 12 |
|
| 13 |
Then configure the following variables in dvidrv.btm: |
| 14 |
|
| 15 |
ps2pk ... set it to `yes' if you want to use this program |
| 16 |
ttf2pk ... ditto |
| 17 |
hbf2gf ... ditto |
| 18 |
|
| 19 |
pkdir ... the place where PK files created by ps2pk, ttf2pk, |
| 20 |
or hbf2gf should go to. dvidrv.btm adds |
| 21 |
`\modeless\XXXdpi' resp. `\modeless\dpiXXX' to this |
| 22 |
string (depending on the variables `pre_dpi' and |
| 23 |
`post_dpi') |
| 24 |
|
| 25 |
ttfonts ... where the TrueType fonts files reside |
| 26 |
ttfcfg ... where the auxiliary data files of ttf2pk reside |
| 27 |
|
| 28 |
hbfonts ... where the HBF files reside |
| 29 |
hbfcfg ... the place where the hbf2gf configuration files are |
| 30 |
|
| 31 |
The last four variables in the above list support trailing `!' and `!!' for |
| 32 |
recursive directory searching (see the dvidrv.doc of the emTeX package for |
| 33 |
details). |
| 34 |
|
| 35 |
Alternatively, you can set these variables in the environment; please note |
| 36 |
that no spaces are allowed before and after the equal sign, e.g. |
| 37 |
|
| 38 |
set foo=bar |
| 39 |
|
| 40 |
is OK, but |
| 41 |
|
| 42 |
set foo = bar |
| 43 |
|
| 44 |
will fail. |
| 45 |
|
| 46 |
Rename dvidrv.exe to dvidrv.ori or something similar and copy dvidrv.btm to |
| 47 |
a directory in the path. |
| 48 |
|
| 49 |
Don't forget to update the DVIDRVFONTS and TEXTFM environment variables if |
| 50 |
necessary. |
| 51 |
|
| 52 |
Under OS/2 dvips will call mfjob or hbf2gf itself; under DOS it will create |
| 53 |
a batch file which must be called afterwards. |
| 54 |
|
| 55 |
|
| 56 |
--- end of dvidrv.doc --- |