17c478bd9Sstevel@tonic-gate /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 27c478bd9Sstevel@tonic-gate /* All Rights Reserved */ 37c478bd9Sstevel@tonic-gate 47c478bd9Sstevel@tonic-gate 57c478bd9Sstevel@tonic-gate /* 67c478bd9Sstevel@tonic-gate * Copyright (c) 1980 Regents of the University of California. 77c478bd9Sstevel@tonic-gate * All rights reserved. The Berkeley software License Agreement 87c478bd9Sstevel@tonic-gate * specifies the terms and conditions for redistribution. 97c478bd9Sstevel@tonic-gate */ 10*55fea89dSDan Cross 117c478bd9Sstevel@tonic-gate /* 127c478bd9Sstevel@tonic-gate * Copyright (c) 1983, 1984 1985, 1986, 1987, 1988, Sun Microsystems, Inc. 137c478bd9Sstevel@tonic-gate * All Rights Reserved. 147c478bd9Sstevel@tonic-gate */ 15*55fea89dSDan Cross 167c478bd9Sstevel@tonic-gate #ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */ 177c478bd9Sstevel@tonic-gate 187c478bd9Sstevel@tonic-gate #include "e.h" 197c478bd9Sstevel@tonic-gate 207c478bd9Sstevel@tonic-gate int dbg; /* debugging print if non-zero */ 217c478bd9Sstevel@tonic-gate int lp[80]; /* stack for things like piles and matrices */ 227c478bd9Sstevel@tonic-gate int ct; /* pointer to lp */ 237c478bd9Sstevel@tonic-gate int used[100]; /* available registers */ 247c478bd9Sstevel@tonic-gate int ps; /* default init point size */ 257c478bd9Sstevel@tonic-gate int resolution = 720; /* resolution of ditroff */ 267c478bd9Sstevel@tonic-gate int deltaps = 3; /* default change in ps */ 277c478bd9Sstevel@tonic-gate int gsize = 10; /* default initial point size */ 287c478bd9Sstevel@tonic-gate int gfont = ITAL; /* italic */ 297c478bd9Sstevel@tonic-gate int ft; /* default font */ 307c478bd9Sstevel@tonic-gate FILE *curfile; /* current input file */ 317c478bd9Sstevel@tonic-gate int ifile; 327c478bd9Sstevel@tonic-gate int linect; /* line number in file */ 337c478bd9Sstevel@tonic-gate int eqline; /* line where eqn started */ 347c478bd9Sstevel@tonic-gate int svargc; 357c478bd9Sstevel@tonic-gate char **svargv; 367c478bd9Sstevel@tonic-gate int eht[100]; 377c478bd9Sstevel@tonic-gate int ebase[100]; 387c478bd9Sstevel@tonic-gate int lfont[100]; 397c478bd9Sstevel@tonic-gate int rfont[100]; 407c478bd9Sstevel@tonic-gate int eqnreg; /* register where final string appears */ 417c478bd9Sstevel@tonic-gate int eqnht; /* inal height of equation */ 427c478bd9Sstevel@tonic-gate int lefteq = '\0'; /* left in-line delimiter */ 437c478bd9Sstevel@tonic-gate int righteq = '\0'; /* right in-line delimiter */ 447c478bd9Sstevel@tonic-gate int lastchar; /* last character read by lex */ 457c478bd9Sstevel@tonic-gate int markline = 0; /* 1 if this EQ/EN contains mark or lineup */ 46