home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / t / tex / !dvips / Documents / Fonts / Source / h / paths < prev   
Encoding:
Text File  |  1994-10-23  |  2.9 KB  |  107 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.  
  9. #define OUTPATH ""
  10. /*   (Actually OUTPATH will be overridden by an `o' line in config.ps.) */
  11. /*
  12.  *   Names of config and prologue files:
  13.  */
  14. #if defined MSDOS || defined OS2
  15. #define DVIPSRC "dvips.ini"
  16. #else
  17. #ifdef VMCMS  /* IBM: VM/CMS */
  18. #define DVIPSRC "dvips.profile"
  19. #else
  20. #ifdef MVSXA  /* IBM: MVS/XA */
  21. #define DVIPSRC "dvips.profile"
  22. #else
  23. #ifdef RISCOS
  24. #define DVIPSRC "!dvipsrc"
  25. #else
  26. #define DVIPSRC ".dvipsrc"
  27. #endif  /* IBM: VM/CMS */
  28. #endif
  29. #endif
  30. #endif
  31.  
  32. #ifdef RISCOS /* For RISC OS it is better to use `extension' directories */
  33. #define HEADERFILE "pro.tex"
  34. #define CHEADERFILE "pro.texc"
  35. #define PSFONTHEADER "pro.texps"
  36. #define IFONTHEADER "pro.finclude"
  37. #define SPECIALHEADER "pro.special"
  38. #define COLORHEADER "pro.color"  /* IBM: color */
  39. #define CROPHEADER "pro.crop"
  40. #define PSMAPFILE "map.psfonts"
  41. #ifndef CONFIGFILE
  42. #define CONFIGFILE "config.ps"
  43. #endif
  44. #else
  45. #define HEADERFILE "tex.pro"
  46. #define CHEADERFILE "texc.pro"
  47. #define PSFONTHEADER "texps.pro"
  48. #define IFONTHEADER "finclude.pro"
  49. #define SPECIALHEADER "special.pro"
  50. #define COLORHEADER "color.pro"  /* IBM: color */
  51. #define CROPHEADER "crop.pro"
  52. #define PSMAPFILE "psfonts.map"
  53. #ifndef CONFIGFILE
  54. #define CONFIGFILE "config.ps"
  55. #endif
  56. #endif
  57.  
  58. /* arguments to fopen */
  59. #define READ            "r"
  60.  
  61. /* directories are separated in the path by PATHSEP */
  62. /* DIRSEP is the char that separates directories from files */
  63. #ifdef RISCOS
  64. #define READBIN         "rb"
  65. #define PATHSEP         ',' /* use same syntax as VMS */
  66. #define DIRSEP          '.'
  67. #else
  68. #ifdef __THINK__
  69. #define READBIN         "rb"    /* Macintosh OS will use binary mode */
  70. #define PATHSEP         ',' /* use same syntax as VMS */
  71. #define DIRSEP          ':'
  72. #else
  73. #if defined MSDOS || defined OS2
  74. #define READBIN         "rb"    /* MSDOS and OS/2 must use binary mode */
  75. #define PATHSEP         ';'
  76. #define DIRSEP          '\\'
  77. #else
  78. #ifdef VMS
  79. #define READBIN         "rb"    /* VMS must use binary mode */
  80. #define PATHSEP         ','
  81. #define DIRSEP          ':'
  82. #else
  83. #ifdef VMCMS /* IBM: VM/CMS */
  84. #define READBIN         "rb" /* VMCMS must use binary mode */
  85. #define PATHSEP         ' '
  86. #define DIRSEP          ' '
  87. #else
  88. #ifdef MVSXA /* IBM: MVS/XA */
  89. #define READBIN         "rb" /* MVSXA must use binary mode */
  90. #define PATHSEP         ':'
  91. #define DIRSEP          '.'
  92. #else
  93. #define READBIN         "r"     /* UNIX doesn't care */
  94. #define PATHSEP         ':'
  95. #define DIRSEP          '/'
  96. #endif  /* IBM: VM/CMS */
  97. #endif
  98. #endif
  99. #endif
  100. #endif
  101. #endif
  102.  
  103. extern void error() ;
  104.  
  105. /* paths are all in the Makefile; by not supplying defaults, we force
  106.    the installer to set them up. */
  107.