|
|
1.1 ! root 1: Jun 18, 1991: ! 2: ! 3: Lower | to match parens. ! 4: ! 5: Dec, 1990: ! 6: ! 7: Converted to ANSI C. Alea iacta est. ! 8: ! 9: Nov 11, 1989: ! 10: ! 11: Print diacriticals in font 1 regardless. ! 12: ! 13: Apr 28, 1989: ! 14: ! 15: Made some of the float tuning parameters accessible ! 16: through define. (Subbase & Supshift). Not very systematic ! 17: naming or direction conventions. ! 18: ! 19: Added version identification output via -d. ! 20: ! 21: Apr 20, 1989: ! 22: ! 23: Fixed bug that caused excess inter-character spaces ! 24: in bold xxx, etc. ! 25: ! 26: Re-did sqrt to generate radical with a more accurate size. ! 27: (i hope -- tuned for postscript.) ! 28: ! 29: Mar 89: ! 30: ! 31: Lots of fiddling to get detailed character spacing better, ! 32: assuming times roman on postscript printers. a digram ! 33: class table in text.c does most of it; more fiddles in ! 34: eqnbox.c and shift.c. Not much attempt to make this stuff ! 35: independent of typesetter, so it may break on other output ! 36: devices. ! 37: ! 38: Tab is now just another white space character. This rescinds ! 39: the original botch that made it something to be printed. ! 40: ! 41: Preliminary steps taken to getting rid of neqn; "ndefine" is ! 42: now the only vestige in the code, for compatibility. ! 43: ! 44: ! 45: Sept 88: ! 46: ! 47: Default TYPESETTER is post. ! 48: ! 49: Changed positioning rules for sqrts to be a lot ! 50: better for postscript. ! 51: ! 52: Changed positioning rules for built-up brackets: ! 53: if the enclosed thing has a base that's more than ! 54: 1/2 em away from its center, the thing is just ! 55: centered, rather than lined up. ! 56: ! 57: More tuning parameters added. ! 58: ! 59: Fixed up to go through cyntax without substantive complaint. ! 60: ! 61: Apr 87: ! 62: ! 63: Made some of the tuning parameters visible as ! 64: defined strings: ! 65: hat_def: string to draw the hat in x hat ! 66: also vec, tilde, dot, dotdot, utilde ! 67: sum, prod, inter, union, int ! 68: ! 69: moved a bunch of fixed values out into tuning.c ! 70: as compile-time parameters. ! 71: ! 72: Dec 85: ! 73: ! 74: The following is a quick synopsis of changes ! 75: to eqn since the last version. ! 76: Most of these changes owe thanks to Mary Carter, ! 77: whose efforts during the summer of 1984 provided ! 78: the impetus to start thinking about eqn again. ! 79: ! 80: 1. Fixed long-standing bug involving nested ! 81: from-to constructs. ! 82: ! 83: 2. Output guaranteed to preserve font that was ! 84: in effect upon entry (if there are no font changes ! 85: within quoted strings). ! 86: ! 87: 3. The right delimiter is no longer significant ! 88: within display equations. ! 89: ! 90: 4. Macros with arguments, as in grap and pic. ! 91: Parentheses are treated somewhat differently: ! 92: If an embedded left paren is found in a token, ! 93: then the characters to its left are checked to ! 94: see if they are a macro name. If they are, the ! 95: paren is assumed to mark the beginning of the ! 96: argument list. Otherwise, the token is treated ! 97: just like any other. ! 98: ! 99: 5. File inclusion: include (or copy) "filename" ! 100: is replaced by contents of file. .EQ and .EN are ! 101: ignored within inclusions. Filename "-" is a synonym for ! 102: standard input on the command line. ! 103: ! 104: 6. Font names can be given as strings, as in ! 105: font CW { ... } or gfont CW ! 106: ! 107: 7. Checks environment variable TYPESETTER; default ! 108: is still 202. ! 109: ! 110: 8. An optional separation distance can be specified ! 111: for a pile or col: lcol 33 {... above ...} adds 33/100 em ! 112: of separation between the elements instead of the default; ! 113: negative values permitted. ! 114: pile, etc., have become synonyms for col, etc. ! 115: ! 116: 9. Eqn attempts to print appropriately for current size, ! 117: obviating the need for most uses of size {...} and gsize. ! 118: It won't always be right, but it will be close for documents ! 119: printed in the usual range of sizes. ! 120: ! 121: 10. A fair amount of fiddling has been done to details of ! 122: positioning; the output seems to be better looking. ! 123: ! 124: 11. ifdef whatever / is replaced by this if defined / ! 125: The proper TYPESETTER name is defined already. ! 126: ! 127: 12. Error messages are somewhat better as well. Errors ! 128: passed on to troff will be identified by source file and ! 129: line number in the eqn input. ! 130: ! 131: 13. Tunable parameters have been (mostly) collected into ! 132: a single file, tuning.c, to make it easier to adapt eqn ! 133: to a new typesetter. ! 134: ! 135: 14. As an interim fix, "lowbar" and "highbar" are synonymous ! 136: with "bar", but force the bar to be either low (as over x) ! 137: or high (as over X) regardless of the apparent height of ! 138: the object. This copes with {x sub 1} bar.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.