| 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 |
#ifdef XDVIPSK |
| 31 |
#define CIDFONTHEADER "xdvipsk-cid.pro" |
| 32 |
#endif |
| 33 |
#define IFONTHEADER "finclude.pro" |
| 34 |
#define SPECIALHEADER "special.pro" |
| 35 |
#define COLORHEADER "color.pro" /* IBM: color */ |
| 36 |
#define CROPHEADER "crop.pro" |
| 37 |
#define PSMAPFILE "psfonts.map" |
| 38 |
#ifndef CONFIGFILE |
| 39 |
#define CONFIGFILE "config.ps" |
| 40 |
#endif |
| 41 |
#ifdef HPS |
| 42 |
#define HPSHEADER "hps.pro" |
| 43 |
#endif |
| 44 |
#ifdef XDVIPSK |
| 45 |
#define OTFMAPFILEEXT ".opentype.map" |
| 46 |
#define OTFENCDFILEEXT ".encodings.map" |
| 47 |
#define OTFMAPFILEDIR ".xdvipsk/" |
| 48 |
#define LUASCRIPTFILE "xdvipsk.lua" |
| 49 |
#endif |
| 50 |
#ifndef KPATHSEA |
| 51 |
/* arguments to fopen */ |
| 52 |
#define READ "r" |
| 53 |
|
| 54 |
/* directories are separated in the path by PATHSEP */ |
| 55 |
/* DIRSEP is the char that separates directories from files */ |
| 56 |
#ifdef __THINK__ |
| 57 |
#define READBIN "rb" /* Macintosh OS will use binary mode */ |
| 58 |
#define PATHSEP ',' /* use same syntax as VMS */ |
| 59 |
#define DIRSEP ':' |
| 60 |
#else |
| 61 |
#if defined MSDOS || defined OS2 || defined(ATARIST) || defined(WIN32) |
| 62 |
#define READBIN "rb" /* MSDOS and OS/2 must use binary mode */ |
| 63 |
#define PATHSEP ';' |
| 64 |
#define DIRSEP '\\' |
| 65 |
#define DEVICESEP ':' |
| 66 |
#else |
| 67 |
#ifdef VMS |
| 68 |
#define READBIN "rb" /* VMS must use binary mode */ |
| 69 |
#define PATHSEP ',' |
| 70 |
#define DIRSEP ':' |
| 71 |
#else |
| 72 |
#ifdef VMCMS /* IBM: VM/CMS */ |
| 73 |
#define READBIN "rb" /* VMCMS must use binary mode */ |
| 74 |
#define PATHSEP ' ' |
| 75 |
#define DIRSEP ' ' |
| 76 |
#else |
| 77 |
#ifdef MVSXA /* IBM: MVS/XA */ |
| 78 |
#define READBIN "rb" /* MVSXA must use binary mode */ |
| 79 |
#define PATHSEP ':' |
| 80 |
#define DIRSEP '.' |
| 81 |
#else |
| 82 |
#define READBIN "r" /* UNIX doesn't care */ |
| 83 |
#define PATHSEP ':' |
| 84 |
#define DIRSEP '/' |
| 85 |
#endif /* IBM: VM/CMS */ |
| 86 |
#endif |
| 87 |
#endif |
| 88 |
#endif |
| 89 |
#endif |
| 90 |
|
| 91 |
/* paths are all in the Makefile; by not supplying defaults, we force |
| 92 |
the installer to set them up. */ |
| 93 |
#endif /* ! KPATHSEA */ |