home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d7xx / d795 / pstools.lha / PSTools / PSTools1.lha / source / paths.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-15  |  3.1 KB  |  127 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. #ifdef AMIGA
  21. #define DVISRC "s:dvips.ini"
  22. #endif
  23. #define DVIPSRC ".dvipsrc"
  24. #endif
  25.  
  26. #ifdef _DCC
  27. #define HEADERFILE "tex.lpro"
  28. #define CHEADERFILE "texc.lpro"
  29. #define PSFONTHEADER "texps.lpro"
  30. #define IFONTHEADER "finclude.lpro"
  31. #define SPECIALHEADER "special.lpro"
  32. #else
  33. #define HEADERFILE "tex.pro"
  34. #define CHEADERFILE "texc.pro"
  35. #define PSFONTHEADER "texps.pro"
  36. #define IFONTHEADER "finclude.pro"
  37. #define SPECIALHEADER "special.pro"
  38. #endif
  39. #define PSMAPFILE "psfonts.map"
  40.  
  41. /* arguments to fopen */
  42. #define READ            "r"
  43.  
  44. /* directories are separated in the path by PATHSEP */
  45. /* DIRSEP is the char that separates directories from files */
  46. #ifdef MSDOS
  47. #define READBIN        "rb"    /* MSDOS must use binary mode */
  48. #define PATHSEP         ';'
  49. #define DIRSEP        '\\'
  50. #else
  51. #ifdef VMS
  52. #define READBIN        "rb"    /* VMS must use binary mode */
  53. #define PATHSEP         ','
  54. #define DIRSEP        ':'
  55. #else
  56. #ifdef AMIGA
  57. #define READBIN        "r"    /* AMIGA might like binary (I think not) */
  58. #define PATHSEP         ';'
  59. #define DIRSEP          ':'
  60. #else
  61. #define READBIN        "r"    /* UNIX doesn't care */
  62. #define PATHSEP         ':'
  63. #define DIRSEP          '/'
  64. #endif
  65. #endif
  66. #endif
  67.  
  68. extern void error() ;
  69.  
  70. #ifdef VMS
  71. #define TFMPATH "TEX$FONTS:"
  72. #define PKPATH "TEX_PK"
  73. #define VFPATH  "TEX_VF:"
  74. #define CONFIGPATH "TEX$POSTSCRIPT"
  75. #define HEADERPATH  "TEX$POSTSCRIPT:,SYS$LOGIN:"
  76. #define FIGPATH  "TEX$POSTSCRIPT:"
  77. #define FLIPATH ""
  78. #define FLINAME ""
  79. #else
  80. #ifdef AMIGA
  81. #define TFMPATH "TEXFONTS:"
  82. #define PKPATH "TEXPKS:"
  83. #define VFPATH  "TEXVFS:"
  84. #define CONFIGPATH "TEXCONFIG:"
  85. #define HEADERPATH  "TEXCONFIG:"
  86. #define FIGPATH  "TEXCONFIG:"
  87. #define FLIPATH "TEXCONFIG:"
  88. #define FLINAME ""
  89. #else
  90. #ifdef MSDOS
  91. #define TFMPATH "c:\\emtex\\tfm"
  92. #define PKPATH "c:\\texfonts\\pixel.lj\\%ddpi\\%f.%p"
  93. #define VFPATH  "c:\\texfonts\\vf"
  94. #define HEADERPATH  ".;c:\\emtex\\ps"
  95. #define FIGPATH  ".;c:\\emtex\\texinput"
  96. #define CONFIGPATH ".;c:\\emtex\\ps"
  97. #define FLIPATH  "c:\\texfonts"
  98. #define FLINAME  "lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5a;lj_5b;lj_sli"
  99. #else
  100. #ifndef TFMPATH
  101. #define TFMPATH "/usr/lib/tex/fonts/tfm"
  102. #endif
  103. #ifndef PKPATH
  104. #define PKPATH  "/usr/lib/tex/fonts/pk"
  105. #endif
  106. #ifndef VFPATH
  107. #define VFPATH  "/usr/lib/tex/fonts/vf"
  108. #endif
  109. #ifndef CONFIGPATH
  110. #define CONFIGPATH  "/usr/lib/tex/ps"
  111. #endif
  112. #ifndef HEADERPATH
  113. #define HEADERPATH  "/usr/lib/tex/ps"
  114. #endif
  115. #ifndef FIGPATH
  116. #define FIGPATH  ".:..:/usr/lib/tex/inputs"
  117. #endif
  118. #ifndef FLIPATH
  119. #define FLIPATH ".:/usr/lib/tex/fonts"
  120. #endif
  121. #ifndef FLINAME
  122. #define FLINAME "lj_0:lj_h:lj_1:lj_2:lj_3:lj_4:lj_5a:lj_5b"
  123. #endif
  124. #endif
  125. #endif
  126. #endif
  127.