home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !preview / RCS / h / site < prev    next >
Encoding:
Text File  |  1990-03-03  |  5.3 KB  |  196 lines

  1. head     1.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    gtoal:1.2;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.2
  10. date     91.03.02.14.00.07;  author gtoal;  state Exp;
  11. branches ;
  12. next     1.1;
  13.  
  14. 1.1
  15. date     91.03.02.13.57.01;  author gtoal;  state Exp;
  16. branches ;
  17. next     ;
  18.  
  19.  
  20. desc
  21. @Initial release
  22. @
  23.  
  24.  
  25. 1.2
  26. log
  27. @IAY's update
  28. @
  29. text
  30. @/*
  31.  * Master configuration file for C versions of TeX and Metafont
  32.  *
  33.  * Tim Morgan  2/13/88
  34.  */
  35.  
  36.  
  37. /*
  38.    This is included *after* stdio, so the following is safe:
  39.  
  40.    CTex mixes output to stdio and stderr quite indiscriminately.
  41.    This is a *bad thing*...
  42.  
  43.    Here I redefine stdout to be stderr, so that all output goes
  44.    to the same stream (Web TeX's original terminal stream).  Having
  45.    done this, I trap *all* I/O library calls, and filter out any
  46.    for stderr, which I redirect into a RISC_OS window.  The ones
  47.    which are not redirected are still intercepted to give the
  48.    wimp polling loop a chance to do some work.
  49.       This is also a convenient hook for trapping dvi writes to
  50.    a file, in order to redirect them to a pipe - and then send the
  51.    dvi straight to the dvi viewer which can start immediately.
  52.       Finally, the editor to be invoked on error is my hack of
  53.    uEmacs, which accepts a -line parameter, *and* multitasks under
  54.    the wimp!
  55.       ... this is turning into quite a nice little system... (TeXtures
  56.    eat your heart out :-))
  57.  
  58.                       Graham Toal <gtoal@@uk.ac.ed>
  59.  
  60.  */
  61.  
  62. #ifdef RISC_OS
  63. #ifdef stdout
  64. #undef stdout     /* in case library defines it as a macro */
  65. #endif
  66. #define stdout stderr
  67. #define TERMINAL stderr
  68. #define TERMINAL_PATH 0
  69. #endif
  70.  
  71.  
  72. /*
  73.  * Default editor command string: %d expands to the line number where
  74.  * TeX or Metafont found an error, and %s expands to the name of the file.
  75.  */
  76. #ifdef ARTHUR
  77. #ifdef RISC_OS
  78. #define EDITOR          "!uEmacs %s -line %d"
  79. #else
  80. #define EDITOR          "twin %s -line %d" /* Does this work reversed? */
  81. #endif
  82. #else
  83. #define EDITOR          "/usr/ucb/vi +%d %s"
  84. #endif
  85. /*
  86.  * If the type "int" is at least 32 bits (including a sign bit), this
  87.  * symbol should be #undef'd; otherwise, it should be #define'd.
  88.  */
  89. #undef  SIXTEENBIT
  90.  
  91. /*
  92.  * Our character set is 7-bit ASCII unless NONASCII is defined.
  93.  * For other character sets, make sure that first_text_char and
  94.  * last_text_char are defined correctly in TeX (they're 0 and 127,
  95.  * respectively, by default).  In the file tex.defines, change
  96.  * the indicated range of type "char" to be the same as
  97.  * first_text_char..last_text_char, re-tangle, and "#define NONASCII".
  98.  */
  99. #undef  NONASCII
  100.  
  101. /* Define if we're running under System V */
  102. #undef  SYSV
  103.  
  104. /* Define if we're running under 4.2 or 4.3 BSD */
  105. #ifdef ARTHUR
  106. #undef  BSD
  107. #else
  108. #define BSD
  109. #endif
  110.  
  111. /*
  112.  * The type "schar" should be defined here to be the smallest signed
  113.  * type available.  ANSI C compilers may need to use "signed char".
  114.  * If you don't have signed characters, then use "short".
  115.  */
  116. typedef signed char schar;
  117.  
  118. /*
  119.  * The type "integer" must be a signed integer capable of holding at
  120.  * least the range of numbers (-2^32)..(2^32-1).
  121.  * The ANSI draft C standard says that "long" meets this requirement.
  122.  */
  123. typedef long integer;
  124.  
  125. /* Boolean can by any convenient type */
  126. typedef char boolean;
  127.  
  128. /*
  129.  * The type glueratio should be a floating-point type which meets
  130.  * the following restriction: sizeof(glueratio) <= sizeof(integer).
  131.  */
  132. typedef float glueratio;
  133.  
  134. /* Real can by any convenient floating-point type */
  135. typedef double real;
  136.  
  137. /* TeX search paths: This is what we use at UCI. */
  138. #ifdef ARM
  139.     /* Use current directory, and via *$Path - ie compatible with OS paths. */
  140. #define TEXINPUTS       "texinputs:"
  141. #define TEXFONTS        "texfonts:"
  142. #define TEXPOOL         "texformats:"
  143. #define TEXFORMATS      "texformats:"
  144. #else
  145. #define TEXINPUTS       ".:/usr/local/lib/tex82"
  146. #define TEXFONTS        ".:/usr/local/lib/fonts/tfm"
  147. #define TEXPOOL         ".:/usr/local/lib/tex82"
  148. #define TEXFORMATS      ".:/usr/local/lib/tex82"
  149. #endif
  150.  
  151. #ifdef ARM
  152. #define MFINPUTS        "mfinputs:"/* Note bug - ":" is an item seperator!! */
  153. #define MFBASES         "mfbases:"
  154. #define MFPOOL          "texformats:"
  155. #else
  156. /* Metafont search paths */
  157. #define MFINPUTS        ".:/usr/local/lib/mf84"
  158. #define MFBASES         ".:/usr/local/lib/mf84/bases"
  159. #define MFPOOL          ".:/usr/local/lib/mf84"
  160. #endif
  161.  
  162. /*
  163.  * Metafont Window Support: More than one may be defined.  At UCI,
  164.  * we support X10, X11, and SunWindows, although I haven't added
  165.  * X11 support to Metafont yet.
  166.  */
  167. #undef  SUNWIN                  /* Want SunWindows support */
  168. #undef  X10WIN                  /* Want X Version 10 Window support */
  169. #undef  X11WIN                  /* Want X Version 11 Window support */
  170. #undef  HP2627WIN               /* Do not want HP Window support */
  171. #undef  TEKTRONIXWIN            /* Want Tektronix window support */
  172.  
  173. /* NB: You can't define X10WIN and X11WIN simultaneously */
  174. #if defined(X10WIN) && defined(X11WIN)
  175. syntax error
  176. #endif
  177.  
  178. /*
  179.  * The maximum length of a filename including a directory specifier.
  180.  * This value is also defined in the change files for tex and mf, so
  181.  * it appears in texd.h and mfd.h as "filenamesize".  It can be safely
  182.  * changed in these files if necessary, although you should really edit
  183.  * the files tex/ctex.ch and mf/cmf.ch.  Most sites should not have to
  184.  * change this value anyway, since it doesn't hurt much if it's too large.
  185.  */
  186. #define FILENAMESIZE    1024
  187. @
  188.  
  189.  
  190. 1.1
  191. log
  192. @Initial revision
  193. @
  194. text
  195. @@
  196.