xref: /titanic_41/usr/src/cmd/eqn/glob.c (revision 40db2e2b777b79f3dd0d6d9629593a07f86b9c0a)
1 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
2 /*	  All Rights Reserved  	*/
3 
4 
5 /*
6  * Copyright (c) 1980 Regents of the University of California.
7  * All rights reserved. The Berkeley software License Agreement
8  * specifies the terms and conditions for redistribution.
9  */
10 
11 /*
12  * Copyright (c) 1983, 1984 1985, 1986, 1987, 1988, Sun Microsystems, Inc.
13  * All Rights Reserved.
14  */
15 
16 #ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.1	*/
17 
18 #include "e.h"
19 
20 int	dbg;	/* debugging print if non-zero */
21 int	lp[80];	/* stack for things like piles and matrices */
22 int	ct;	/* pointer to lp */
23 int	used[100];	/* available registers */
24 int	ps;	/* default init point size */
25 int	resolution = 720;	/* resolution of ditroff */
26 int	deltaps	= 3;	/* default change in ps */
27 int	gsize	= 10;	/* default initial point size */
28 int	gfont	= ITAL;	/* italic */
29 int	ft;	/* default font */
30 FILE	*curfile;	/* current input file */
31 int	ifile;
32 int	linect;	/* line number in file */
33 int	eqline;	/* line where eqn started */
34 int	svargc;
35 char	**svargv;
36 int	eht[100];
37 int	ebase[100];
38 int	lfont[100];
39 int	rfont[100];
40 int	eqnreg;	/* register where final string appears */
41 int	eqnht;	/* inal height of equation */
42 int	lefteq	= '\0';	/* left in-line delimiter */
43 int	righteq	= '\0';	/* right in-line delimiter */
44 int	lastchar;	/* last character read by lex */
45 int	markline	= 0;	/* 1 if this EQ/EN contains mark or lineup */
46