glob.c 1.7 KB

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