home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / d / dvips549.zip / DVIPS / PC / README.PC < prev   
Text File  |  1992-10-14  |  5KB  |  111 lines

  1. Some notes on installing dvips 5.5 on MS-DOS
  2. by Russell Lang  <rjl@monu1.cc.monash.edu.au>  9th October 1992
  3.  
  4. These notes are not by Tomas Rokicki.  
  5. Tomas Rokicki does not use MS-DOS ( smart person :-) and so will be 
  6. unable to answer questions about MS-DOS problems.
  7.  
  8. This set of MSDOS files for dvips contains:
  9. README.pc     This file.
  10. makefile.tc   Makefile for Borland C++.
  11. makefile.gcc  Makefile for ndmake and djgpp.
  12. config.ps     config.ps modified for MSDOS
  13. maketexp.bat  Batch file to make tex pk files.
  14.  
  15. If you have the Unix tar file, the steps involved in making 
  16. dvips on a PC are:
  17. -  On Unix, in the dvips directory, give the following commands:
  18.       make texc.lpro
  19.       nroff -man dvips.1 > pc/dvips.doc
  20.       nroff -man afm2tfm.1 > pc/afm2tfm.doc
  21. -  Copy dvips/* and dvips/pc/* directories to the PC.
  22. -  copy PStfms/*.tfm to C:\EMTEX\TFM on the PC 
  23.    (then optionally delete pst*.tfm, rpst*.tfm, pop*.tfm rpop*.tfm,
  24.     pad*.tfm rpad*.tfm)
  25. -  copy PSvfs/*.vf to C:\TEXFONTS\VF on the PC
  26.    (then optionally delete pst*.vf, pop*.vf, pad*.vf)
  27. -  edit dvipsmac.tex and replace the line
  28.       \generictrue
  29.    with
  30.       %\generictrue
  31.  
  32. For Borland C++:
  33. -  edit paths and directories in pc/makefile.tc and pc/config.ps.
  34. -  'make -fpc/makefile.tc'
  35. -  if that works, try 'make -fpc/makefile.tc install'.
  36. -  change to another directory (to avoid using the Unix config.ps)
  37.    and then try to run dvips!
  38.  
  39. For djgpp:
  40. -  edit paths and directories in pc/makefile.gcc and pc/config.ps.
  41. -  'ndmake -f pc/makefile.gcc'
  42. -  if that works, try 'ndmake -f pc/makefile.gcc install'.
  43. -  change to another directory (to avoid using the Unix config.ps)
  44.    and then try to run dvips386!
  45. -  This version of dvips has not been tested thoroughly.
  46.    Since DJ's GCC port to DOS is used, see the djgpp documentation
  47.    for details of the DOS extender.  Be careful of interrupt clashes
  48.    with djgpp.
  49.  
  50. If you have MS-DOS ZIP files, they will contain a compiled version of dvips.  
  51.  
  52. To install this in the emTeX directories on drive C:, use 
  53.         pkunzip -d -o dvips* c:\
  54.  
  55. The MSDOS version of dvips differs from the description in
  56. dvips.tex in the following ways:
  57. - path separators are ';' not ':'
  58. - directory separators are '\' not '/'
  59. - The user's initialization file is "dvips.ini" not ".dvipsrc".
  60. - pipes to printers not supported.  Output must go to a file.
  61. - MakeTeXPk is a batch file.  Since MSDOS has insufficient memory
  62.   to run both dvips and Metafont at the same time, this batch file
  63.   will typically write out a set of commands for running Metafont
  64.   later.  The maketexp.bat supplied writes out an mfjob file for emTeX.
  65.   maketexp.bat will probably need customising for your site.
  66. - To automatically make fonts, use emTeX's dvidrv as follows:
  67.     dvidrv dvips file.dvi
  68.   dvidrv sets an option -pj=mfjobfile for dvips, where mfjobfile
  69.   is the name of a temporary mfjob file.
  70.   If there are missing fonts, dvips will write this mfjob file
  71.   and then ask:
  72.     Exit to make missing fonts now (y/n)?
  73.   If you answer yes, dvips exits with errorlevel 8 which tells 
  74.   dvidrv to call mfjob to make the fonts, and then to call dvips again.
  75.   For this to work, dvidrv, dvips, mfjob and mf must be located in
  76.   the PATH, and the environment variables for mfjob and mf set
  77.   correctly.
  78.   If the -pj option is set, dvips will not call MakeTeXPk.bat
  79. - limited emTeX specials.  The following ones are supported:
  80.   \special{em:message xxx}
  81.   \special{em:point n}
  82.   \special{em:line a[h|v|p],b[h|v|p] [,width]}
  83.   \special{em:linewidth width}
  84.   \special{em:moveto}
  85.   \special{em:lineto}
  86.   The line cut parameters [h|v|p] of the \special{em:line ...} command 
  87.   are ignored.  Lines are ended with a rounded cap.
  88.   A maximum of 1613 different point numbers are permitted on each page.
  89.   The \special{em:graph xxx} is partially implemented.
  90.   PCX, MSP1 and MSP2 files should work.  BMP files are not yet
  91.   implemented.  The graph file may be scaled by giving an optional 
  92.   width and height (expressed in the same way as TeX dimensions):
  93.   \special{em:graph xxx[,width[,height]]}
  94.   An example: \special{em:graph scrdump.pcx,100mm,75mm}
  95.  
  96. See the config.ps file for other changes.
  97.  
  98. If you want to use a different directory arrangement, modify the
  99. paths in config.ps.  If you want to store config.ps or psfonts.map
  100. in a different place, either recompile dvips or use the environment
  101. variable TEXCONFIG.
  102.  
  103. The program dvips can use emTeX font libraries created with the 
  104. fontlib /2 option.  PXL fonts within font libraries will be ignored.
  105.  
  106. Borland C++ gives a large number of 'possible incorrect assignment'
  107. warnings.  
  108.  
  109. If you run out of memory running dvips, try using the `-Z0 -a' or
  110. just the `-a' command line options.
  111.