home *** CD-ROM | disk | FTP | other *** search
- Some notes on installing dvips 5.5 on OS/2
- by Russell Lang <rjl@monu1.cc.monash.edu.au>, modified
- by Matthias Rabe <rabe@mathematik.uni-bielefeld.de>
-
- These notes are not by Tomas Rokicki.
- Tomas Rokicki does not use OS/2 and so will be unable to answer
- questions about OS/2 problems.
-
- This set of OS/2 files for dvips contains:
- README.OS2 This file.
- makefile.os2 Makefile for nmake2 and emx/gcc.
- config.ps config.ps modified for MSDOS/OS2
- maketexp.cmd OS/2 batch file to make tex pk files.
-
- If you have the Unix tar file, the steps involved in making
- dvips on a PC are:
- - If you don't have bash, sed and rm:
- on Unix, in the dvips directory, give the following commands:
- make texc.lpro
- - If you don't have groff:
- on Unix, in the dvips directory, give the following commands:
- nroff -man dvips.1 > pc/dvips.doc
- nroff -man afm2tfm.1 > pc/afm2tfm.doc
- - Copy dvips/* and dvips/pc/* directories to the PC.
- - copy PStfms/*.tfm to C:\EMTEX\TFM on the PC
- (then optionally delete pst*.tfm, rpst*.tfm, pop*.tfm rpop*.tfm,
- pad*.tfm rpad*.tfm)
- - copy PSvfs/*.vf to C:\EMTEX\VF on the PC
- (then optionally delete pst*.vf, pop*.vf, pad*.vf)
- - edit dvipsmac.tex and replace the line
- \generictrue
- with
- %\generictrue
- - edit paths and directories in pc/makefile.os2 and pc/config.ps.
- - 'nmake -fpc/makefile.os2'
- - if that works, try 'nmake -fpc/makefile.os2 install'.
- - change to another directory (to avoid using the Unix config.ps)
- and then try to run dvips!
-
-
- If you have OS/2 ZIP files, they will contain a compiled version of dvips.
-
- To install this in the emTeX directories on drive C:, use
- pkunzip -d -o dvips* c:\
- or make C:\ the current directory and use
- unzip -o dvips<version>.zip
-
-
- The OS/2 version of dvips differs from the description in
- dvips.tex in the following ways:
- - path separators are ';' not ':'
- - directory separators are '\' not '/'
- - The user's initialization file is "dvips.ini" not ".dvipsrc".
- - Printer configuration files are called <printer-name>.cfg instead of
- config.<printer-name>.
- - The environment variable defining the search path to tfm files is called
- TEXTFM instead of TEXFONTS.
- - MakeTeXPk is a .cmd file called MakeTeXP.cmd. It writes out an mfjob file
- for emTeX. MakeTeXP.cmd will probably need customising for your site.
- (especially printer definitions)
- - To automatically make fonts, you can also use emTeX's dvidrv as follows:
- dvidrv dvips file.dvi
- dvidrv sets an option -pj=mfjobfile for dvips, where mfjobfile
- is the name of a temporary mfjob file.
- If there are missing fonts, dvips will write this mfjob file
- and then ask:
- Exit to make missing fonts now (y/n)?
- If you answer yes, dvips exits with errorlevel 8 which tells
- dvidrv to call mfjob to make the fonts, and then to call dvips again.
- For this to work, dvidrv, dvips, mfjob and mf must be located in
- the PATH, and the environment variables for mfjob and mf set
- correctly. A font mode must be set with the 'M' option in config.ps.
- If the -pj option is set, dvips will not call MakeTeXP.cmd
- - limited emTeX specials. The following ones are supported:
- \special{em:message xxx}
- \special{em:point n}
- \special{em:line a[h|v|p],b[h|v|p] [,width]}
- \special{em:linewidth width}
- \special{em:moveto}
- \special{em:lineto}
- \special{em:graph xxx[,width[,height]]}
- The line cut parameters [h|v|p] of the \special{em:line ...} command
- are ignored. Lines are ended with a rounded cap.
- A maximum of 1613 different point numbers are permitted on each page.
- The \special{em:graph xxx} should work with PCX, MSP1, MSP2 and
- BMP files. Compressed BMP files have not been tested.
- The graph file may be scaled by giving an optional width and
- height (expressed in the same way as TeX dimensions).
- An example: \special{em:graph scrdump.pcx,100mm,75mm}
-
- See the config.ps file for other changes.
-
- If you want to use a different directory arrangement, modify the
- paths in config.ps. If you want to store config.ps or psfonts.map
- in a different place, either recompile dvips or use the environment
- variable TEXCONFIG.
-
- The program dvips can use emTeX font libraries created with the
- fontlib /2 option. PXL fonts within font libraries will be ignored.
-
- Unlike the MS-DOS version, pipes to printers ARE supported.
-
-