plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

glob.c (1369B)


      1 #include "e.h"
      2 
      3 	/* YOU MAY WANT TO CHANGE THIS */
      4 char	*typesetter = "post";	/* type of typesetter today */
      5 int	ttype	= DEVPOST;
      6 int	minsize	= 4;		/* min size it can handle */
      7 
      8 
      9 int	dbg;		/* debugging print if non-zero */
     10 int	lp[200];	/* stack for things like piles and matrices */
     11 int	ct;		/* pointer to lp */
     12 int	used[100];	/* available registers */
     13 int	ps;		/* default init point size */
     14 int	deltaps	= 3;	/* default change in ps */
     15 int	dps_set = 0;	/* 1 => -p option used */
     16 int	gsize	= 10;	/* default initial point size */
     17 int	ft	= '2';
     18 Font	ftstack[10] = { { '2', "2" } };	/* bottom is global font */
     19 Font	*ftp	= ftstack;
     20 int	szstack[10];	/* non-zero if absolute size set at this level */
     21 int	nszstack = 0;
     22 int	display	= 0;	/* 1=>display, 0=>.EQ/.EN */
     23 
     24 int	synerr;		/* 1 if syntax err in this eqn */
     25 double	eht[100];	/* height in ems at gsize */
     26 double	ebase[100];	/* base: where one enters above bottom */
     27 int	lfont[100];	/* leftmost and rightmost font associated with this thing */
     28 int	rfont[100];
     29 int	lclass[100];	/* leftmost and rightmost class associated with this thing */
     30 int	rclass[100];
     31 int	eqnreg;		/* register where final string appears */
     32 double	eqnht;		/* final height of equation */
     33 int	lefteq	= '\0';	/* left in-line delimiter */
     34 int	righteq	= '\0';	/* right in-line delimiter */
     35 int	markline = 0;	/* 1 if this EQ/EN contains mark; 2 if lineup */