| 1 |
/* |
| 2 |
* Copyright (c) 1986-2007 Purdue University |
| 3 |
* All rights reserved. |
| 4 |
* |
| 5 |
* Developed by: Daniel Trinkle |
| 6 |
* Department of Computer Science, Purdue University |
| 7 |
* http://www.cs.purdue.edu/ |
| 8 |
* |
| 9 |
* Permission is hereby granted, free of charge, to any person obtaining |
| 10 |
* a copy of this software and associated documentation files (the |
| 11 |
* "Software"), to deal with the Software without restriction, including |
| 12 |
* without limitation the rights to use, copy, modify, merge, publish, |
| 13 |
* distribute, sublicense, and/or sell copies of the Software, and to |
| 14 |
* permit persons to whom the Software is furnished to do so, subject to |
| 15 |
* the following conditions: |
| 16 |
* |
| 17 |
* o Redistributions of source code must retain the above copyright |
| 18 |
* notice, this list of conditions and the following disclaimers. |
| 19 |
* |
| 20 |
* o Redistributions in binary form must reproduce the above copyright |
| 21 |
* notice, this list of conditions and the following disclaimers in the |
| 22 |
* documentation and/or other materials provided with the distribution. |
| 23 |
* |
| 24 |
* o Neither the names of Daniel Trinkle, Purdue University, nor the |
| 25 |
* names of its contributors may be used to endorse or promote products |
| 26 |
* derived from this Software without specific prior written |
| 27 |
* permission. |
| 28 |
* |
| 29 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 30 |
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 31 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 32 |
* IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR |
| 33 |
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF |
| 34 |
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| 35 |
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. |
| 36 |
*/ |
| 37 |
|
| 38 |
/****** |
| 39 |
** The following parameters should be modified as necessary |
| 40 |
** MAXINCLIST - maximum number of files allowed in an \includeonly list |
| 41 |
** |
| 42 |
** DEFAULTINPUTS - this should be the same as the default TEXINPUTS |
| 43 |
** CHPATHSEP - the path separator character in TEXINPUTS |
| 44 |
** MAXINPUTPATHS - (arbitrary) number of separate paths in TEXINPUTS |
| 45 |
** |
| 46 |
** DEFAULTENV - list of LaTeX environments ignored |
| 47 |
** CHENVSEP - the list separator character in the ignore envronment list |
| 48 |
** MAXENVS - maximum number of environments listed in the ignore list |
| 49 |
** CCHMAXENV - maximum count of characters in an environment name (LaTex) |
| 50 |
******/ |
| 51 |
|
| 52 |
#define MAXINCLIST 40 |
| 53 |
|
| 54 |
#ifndef KPATHSEA |
| 55 |
#ifdef OS2 |
| 56 |
#define DEFAULTINPUTS ".;/emtex/texinput" |
| 57 |
#define CHPATHSEP ';' |
| 58 |
#else |
| 59 |
#define DEFAULTINPUTS ".:/usr/local/tex/inputs" |
| 60 |
#define CHPATHSEP ':' |
| 61 |
#endif |
| 62 |
#endif |
| 63 |
|
| 64 |
#define MAXINPUTPATHS 10 |
| 65 |
|
| 66 |
#define DEFAULTENV "algorithm,align,array,bmatrix,displaymath,eqnarray,equation,floatfig,floating,longtable,picture,pmatrix,psfrags,pspicture,smallmatrix,smallpmatrix,tabular,tikzpicture,verbatim,vmatrix,wrapfigure" |
| 67 |
#define CHENVSEP ',' |
| 68 |
#define MAXENVS 25 |
| 69 |
#define CCHMAXENV 100 |
| 70 |
|
| 71 |
/****** |
| 72 |
** These probably should not be changed |
| 73 |
******/ |
| 74 |
|
| 75 |
#define CHOPT '-' |
| 76 |
#define CHCITEOPT 'c' |
| 77 |
#define CHENVOPT 'e' |
| 78 |
#define CHLATEXOPT 'l' |
| 79 |
#define CHNOFOLLOWOPT 'n' |
| 80 |
#define CHSPACEOPT 's' |
| 81 |
#define CHTEXOPT 't' |
| 82 |
#define CHWORDOPT 'w' |
| 83 |
#define CHSRCLOC '1' |
| 84 |
#define CHREPLACE 'r' |
| 85 |
#define CHVERSIONOPT 'v' |
| 86 |
|
| 87 |
#define my_ERROR -1 |