home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fonts 1 / freshfonts1.bin / bbs / programs / amiga / pastex13.lha / DVIPS / dvips5519.lha / dvips / pc / README.pc < prev    next >
Text File  |  1993-01-27  |  5KB  |  114 lines

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