summaryrefslogtreecommitdiff
path: root/obsolete/support/detex/detex.h
blob: 2ed7fbf1eb0a16fb750d7fbdd5d950a3ca050f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/******
** The following parameters should be modified as necessary
**	MAXINCLIST - maximum number of files allowed in an \includeonly list
**
**	DEFAULTINPUTS - this should be the same as the default TEXINPUTS
**	CHPATHSEP - the path separator character in TEXINPUTS
**	MAXINPUTPATHS - (arbitrary) number of separate paths in TEXINPUTS
**
**	DEFAULTENV - list of LaTeX environments ignored
**	CHENVSEP - the list separator character in the ignore envronment list
**	MAXENVS - maximum number of environments listed in the ignore list
**	CCHMAXENV - maximum count of characters in an environment name (LaTex)
******/

#define	MAXINCLIST	40

#ifdef OS2
#define	DEFAULTINPUTS	".;/emtex/texinput"
#define	CHPATHSEP	';'
#else
#define	DEFAULTINPUTS	".:/usr/local/tex/inputs"
#define	CHPATHSEP	':'
#endif
#define	MAXINPUTPATHS	10

#define	DEFAULTENV	"array,eqnarray,equation,figure,mathmatica,picture,table,verbatim"
#define	CHENVSEP	','
#define	MAXENVS		10
#define	CCHMAXENV	100

/******
** These probably should not be changed
******/

#define	CHOPT		'-'
#define	CHCITEOPT	'c'
#define	CHENVOPT	'e'
#define	CHLATEXOPT	'l'
#define	CHNOFOLLOWOPT	'n'
#define	CHSPACEOPT	's'
#define	CHTEXOPT	't'
#define	CHWORDOPT	'w'

#define	ERROR		-1