Debian Codegraph @

texk/dvipsk/paths.h

raw
1 /* paths.h - public domain.
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 #if defined MSDOS || defined OS2 || defined(ATARIST)
14 #define DVIPSRC "dvips.ini"
15 #else
16 #ifdef VMCMS /* IBM: VM/CMS */
17 #define DVIPSRC "dvips.profile"
18 #else
19 #ifdef MVSXA /* IBM: MVS/XA */
20 #define DVIPSRC "dvips.profile"
21 #else /* not IBM */
22 #define DVIPSRC "$HOME/.dvipsrc"
23 #endif
24 #endif /* IBM: VM/CMS */
25 #endif
26
27 #define HEADERFILE "tex.pro"
28 #define CHEADERFILE "texc.pro"
29 #define PSFONTHEADER "texps.pro"
30 #define IFONTHEADER "finclude.pro"
31 #define SPECIALHEADER "special.pro"
32 #define COLORHEADER "color.pro" /* IBM: color */
33 #define CROPHEADER "crop.pro"
34 #define PSMAPFILE "psfonts.map"
35 #ifndef CONFIGFILE
36 #define CONFIGFILE "config.ps"
37 #endif
38 #ifdef HPS
39 #define HPSHEADER "hps.pro"
40 #endif
41 #ifndef KPATHSEA
42 /* arguments to fopen */
43 #define READ "r"
44
45 /* directories are separated in the path by PATHSEP */
46 /* DIRSEP is the char that separates directories from files */
47 #ifdef __THINK__
48 #define READBIN "rb" /* Macintosh OS will use binary mode */
49 #define PATHSEP ',' /* use same syntax as VMS */
50 #define DIRSEP ':'
51 #else
52 #if defined MSDOS || defined OS2 || defined(ATARIST) || defined(WIN32)
53 #define READBIN "rb" /* MSDOS and OS/2 must use binary mode */
54 #define PATHSEP ';'
55 #define DIRSEP '\\'
56 #define DEVICESEP ':'
57 #else
58 #ifdef VMS
59 #define READBIN "rb" /* VMS must use binary mode */
60 #define PATHSEP ','
61 #define DIRSEP ':'
62 #else
63 #ifdef VMCMS /* IBM: VM/CMS */
64 #define READBIN "rb" /* VMCMS must use binary mode */
65 #define PATHSEP ' '
66 #define DIRSEP ' '
67 #else
68 #ifdef MVSXA /* IBM: MVS/XA */
69 #define READBIN "rb" /* MVSXA must use binary mode */
70 #define PATHSEP ':'
71 #define DIRSEP '.'
72 #else
73 #define READBIN "r" /* UNIX doesn't care */
74 #define PATHSEP ':'
75 #define DIRSEP '/'
76 #endif /* IBM: VM/CMS */
77 #endif
78 #endif
79 #endif
80 #endif
81
82 /* paths are all in the Makefile; by not supplying defaults, we force
83 the installer to set them up. */
84 #endif /* ! KPATHSEA */