summaryrefslogtreecommitdiff
path: root/dviware/dvitops/config.doc
blob: c50eea10733e5a7b2dc28d06d66403d744f10538 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
PAPER: the default type of paper: either "a4" or "letter".

TEXPK: a string which gives the possible names for pk files; %f will
be replaced by the name of the font, %d by the resolution in dpi;
possible names are separated by AREA_LIST_SEP.

TEXFONTS: a string containing a list of directories in which to look
for tfm files; elements of the list are separated by AREA_LIST_SEP.

TEXINPUTS: a string containing a list of directories in which to look
for other input files; elements of the list are separated by
AREA_LIST_SEP.

TEXMAGS: a list of magnifications at which some pk font is available,
separated by commas.

PSFONTS: a string containing a list of directories in which to look
for PostScript fonts; elements of the list are separated by
AREA_LIST_SEP.  Used by psfont.

HAVE_REDIRECTION: define this if the OS supports redirection.

HAVE_SETVBUF: define this if your C library contains setvbuf.

FOPEN_RB(filename): a macro to open `filename' in binary mode for reading;
by default fopen(filename, "r").

DPI: an integer giving the default resolution which should be used in
dots per inch.

FILENAME_MAX: the maximum length of a filename (including the directory and
extension.)

AREA_LIST_SEP: the character that separates elements in a list of
directories.

AREA_SEP: the character that separates the name of the area from the
name of the file.

AREA_SEP2: alternative character that separates the name of an area from
the name of the file.

FILENAME_HAS_AREA(f): a macro which returns non-zero if the string f
is absolute, ie it already has an area attached.

POSTFIX_AREA: define this if area names come after file names.

CASE_INSENSITIVE_FILENAME: define this if filenames are case
insensitive.

REORDER_ARGS: define this if options can be given after the filename,
as well as before it.

CASE_INSENSITIVE_OPTIONS: define this if option names are case insensitive.

MAXFONTS: maximum font number; TeX 82 never has more than 256.

HAVE_ISATTY: define this if your C library supports isatty.

PROTO: define this if your compiler supports prototypes.

BROKEN_PROTO: ANSI C says that the correct prototype for an old-style
function definition like this

void foo(c)
unsigned char c;
{
}

is

extern void foo(int);

Some compilers incorrectly require the prototype

extern void foo(unsigned char);

If you have a compiler that is broken in this way define BROKEN_PROTO.

STDARG: define this if your compiler supports stdarg.h rather than
varargs.h.

SWITCHAR: define this if you are using MS-DOS and you want getopt to
take account of the current `switchar'.

UCHAR_MAX: the maximum value of an unsigned char.
USHRT_MAX: the maximum value of an unsigned short.
UINT_MAX: the maximum value of an unsigned int.
SHRT_MAX: the maximum value of a short.
INT_MAX: the maximum value of an int.
LONG_MAX: the maximum value of a long.

time_t: the type returned by the time() function.

size_t: the type of arguments to malloc.

const: define this as nothing if your system does not understand const.

TPIC_SUPPORT: define this to get support for the tpic specials (version 2).

NORMAL_EXIT_CODE: define this to be the exit code to be used when no
warnings or errors were encountered; by default 0.

WARNING_EXIT_CODE: define this to be the exit code to be used when a
warning was generated; by default 1

ERROR_EXIT_CODE: define this to be the exit code to be used when an
error was generated; by default 2.

FATAL_ERROR_EXIT_CODE: define this to be the exit code to be used if a
fatal error was generated; by default 3.

PRIMOS_GETENV: define this if you have PRIMOS, and need a simulated
getenv().

HAVE_MEMORY_H: define this if the mem* functions are declared in
<memory.h>.

NEED_MEM_FUNCTIONS: define this if your C library does not contain
mem* functions.

NEED_QSORT: define this if you C library does not contain qsort.

NEED_STRTOK: define this if you C library does not contain strtok.

EBCDIC: define this if your system uses EBCDIC rather than ASCII.

XCHAR(c): if defined, this macro translates from ASCII to the
machine's native character set; you don't need to define this if
you've already defined EBCDIC.  Like the xchr array in the TeX
sources.

$Header: /usr/jjc/dvitops/RCS/config.doc,v 1.2 90/08/17 15:52:24 jjc Exp $