Back to index

tetex-bin  3.0
paths.h
Go to the documentation of this file.
00001 /*
00002  *   OUTPATH is where to send the output.  If you want a .ps file to
00003  *   be created by default, set this to "".  If you want to automatically
00004  *   invoke a pipe (as in lpr), make the first character an exclamation
00005  *   point or a vertical bar, and the remainder the command line to
00006  *   execute.
00007  */
00008 #define OUTPATH ""
00009 /*   (Actually OUTPATH will be overridden by an `o' line in config.ps.) */
00010 /*
00011  *   Names of config and prologue files:
00012  */
00013 #if defined MSDOS || defined OS2 || defined(ATARIST)
00014 #define DVIPSRC "dvips.ini"
00015 #else
00016 #ifdef VMCMS  /* IBM: VM/CMS */
00017 #define DVIPSRC "dvips.profile"
00018 #else
00019 #ifdef MVSXA  /* IBM: MVS/XA */
00020 #define DVIPSRC "dvips.profile"
00021 #else /* not IBM */
00022 #define DVIPSRC "$HOME/.dvipsrc"
00023 #endif  
00024 #endif  /* IBM: VM/CMS */
00025 #endif
00026 
00027 #define HEADERFILE "tex.pro"
00028 #define CHEADERFILE "texc.pro"
00029 #define PSFONTHEADER "texps.pro"
00030 #define IFONTHEADER "finclude.pro"
00031 #define SPECIALHEADER "special.pro"
00032 #define COLORHEADER "color.pro"  /* IBM: color */
00033 #define CROPHEADER "crop.pro"
00034 #define PSMAPFILE "psfonts.map"
00035 #ifndef CONFIGFILE
00036 #define CONFIGFILE "config.ps"
00037 #endif
00038 #ifdef HPS
00039 #define HPSHEADER "hps.pro"
00040 #endif
00041 #ifndef KPATHSEA
00042 /* arguments to fopen */
00043 #define READ            "r"
00044 
00045 /* directories are separated in the path by PATHSEP */
00046 /* DIRSEP is the char that separates directories from files */
00047 #ifdef __THINK__
00048 #define READBIN             "rb"   /* Macintosh OS will use binary mode */
00049 #define PATHSEP         ',' /* use same syntax as VMS */
00050 #define DIRSEP              ':'
00051 #else
00052 #if defined MSDOS || defined OS2 || defined(ATARIST) || defined(WIN32)
00053 #define READBIN             "rb"   /* MSDOS and OS/2 must use binary mode */
00054 #define PATHSEP         ';'
00055 #define DIRSEP              '\\'
00056 #define DEVICESEP       ':'
00057 #else
00058 #ifdef VMS
00059 #define READBIN             "rb"   /* VMS must use binary mode */
00060 #define PATHSEP         ','
00061 #define DIRSEP              ':'
00062 #else
00063 #ifdef VMCMS /* IBM: VM/CMS */
00064 #define READBIN         "rb" /* VMCMS must use binary mode */
00065 #define PATHSEP         ' '
00066 #define DIRSEP          ' '
00067 #else
00068 #ifdef MVSXA /* IBM: MVS/XA */
00069 #define READBIN         "rb" /* MVSXA must use binary mode */
00070 #define PATHSEP         ':'
00071 #define DIRSEP          '.'
00072 #else
00073 #define READBIN             "r"    /* UNIX doesn't care */
00074 #define PATHSEP         ':'
00075 #define DIRSEP          '/'
00076 #endif  /* IBM: VM/CMS */
00077 #endif
00078 #endif
00079 #endif
00080 #endif
00081 
00082 extern void error() ;
00083 
00084 /* paths are all in the Makefile; by not supplying defaults, we force
00085    the installer to set them up. */
00086 #endif /* ! KPATHSEA */