home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / PRINTING / DVIPS386.ZIP / PATHS.H < prev    next >
C/C++ Source or Header  |  1990-11-25  |  3KB  |  99 lines

  1. /*
  2.  *   OUTPATH is where to send the output.  If you want a .ps file to
  3.  *   be created by default, set this to "".  If you want to automatically
  4.  *   invoke a pipe (as in lpr), make the first character an exclamation
  5.  *   point or a vertical bar, and the remainder the command line to
  6.  *   execute.
  7.  */
  8. #define OUTPATH ""
  9. /*   (Actually OUTPATH will be overridden by an `o' line in config.ps.) */
  10. /*
  11.  *   Names of config and prologue files:
  12.  */
  13. #ifndef CONFIGFILE
  14. #define CONFIGFILE "config.ps"
  15. #endif
  16.  
  17. #ifdef MSDOS
  18. #define DVIPSRC "dvips.ini"
  19. #else
  20. #define DVIPSRC ".dvipsrc"
  21. #endif
  22.  
  23. #define HEADERFILE "tex.pro"
  24. #define CHEADERFILE "texc.pro"
  25. #define PSFONTHEADER "texps.pro"
  26. #define IFONTHEADER "finclude.pro"
  27. #define SPECIALHEADER "special.pro"
  28. #define PSMAPFILE "psfonts.map"
  29.  
  30. /* arguments to fopen */
  31. #define READ            "r"
  32.  
  33. /* directories are separated in the path by PATHSEP */
  34. /* DIRSEP is the char that separates directories from files */
  35. #ifdef MSDOS
  36. #define READBIN        "rb"    /* MSDOS must use binary mode */
  37. #define PATHSEP         ';'
  38. #define DIRSEP        '\\'
  39. #else
  40. #ifdef VMS
  41. #define READBIN        "rb"    /* VMS must use binary mode */
  42. #define PATHSEP         ','
  43. #define DIRSEP        ':'
  44. #else
  45. #define READBIN        "r"    /* UNIX doesn't care */
  46. #define PATHSEP         ':'
  47. #define DIRSEP          '/'
  48. #endif
  49. #endif
  50.  
  51. extern void error() ;
  52.  
  53. #ifdef VMS
  54. #define TFMPATH "TEX$FONTS:"
  55. #define PKPATH "TEX_PK"
  56. #define VFPATH  "TEX_VF:"
  57. #define CONFIGPATH "TEX$POSTSCRIPT"
  58. #define HEADERPATH  "TEX$POSTSCRIPT:,SYS$LOGIN:"
  59. #define FIGPATH  "TEX$POSTSCRIPT:"
  60. #define FLIPATH ""
  61. #define FLINAME ""
  62. #else
  63. #ifdef MSDOS
  64. #define TFMPATH "c:\\emtex\\tfm"
  65. #define PKPATH "c:\\texfonts\\pixel.lj\\%ddpi\\%f.%p"
  66. #define VFPATH  "c:\\texfonts\\vf"
  67. #define HEADERPATH  ".;c:\\emtex\\ps"
  68. #define FIGPATH  ".;c:\\emtex\\texinput"
  69. #define CONFIGPATH ".;c:\\emtex\\ps"
  70. #define FLIPATH  "c:\\texfonts"
  71. #define FLINAME  "lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5a;lj_5b;lj_sli"
  72. #else
  73. #ifndef TFMPATH
  74. #define TFMPATH "/usr/lib/tex/fonts/tfm"
  75. #endif
  76. #ifndef PKPATH
  77. #define PKPATH  "/usr/lib/tex/fonts/pk"
  78. #endif
  79. #ifndef VFPATH
  80. #define VFPATH  "/usr/lib/tex/fonts/vf"
  81. #endif
  82. #ifndef CONFIGPATH
  83. #define CONFIGPATH  "/usr/lib/tex/ps"
  84. #endif
  85. #ifndef HEADERPATH
  86. #define HEADERPATH  "/usr/lib/tex/ps"
  87. #endif
  88. #ifndef FIGPATH
  89. #define FIGPATH  ".:..:/usr/lib/tex/inputs"
  90. #endif
  91. #ifndef FLIPATH
  92. #define FLIPATH ".:/usr/lib/tex/fonts"
  93. #endif
  94. #ifndef FLINAME
  95. #define FLINAME "lj_0:lj_h:lj_1:lj_2:lj_3:lj_4:lj_5a:lj_5b"
  96. #endif
  97. #endif
  98. #endif
  99.