Annotation of researchv8dc/cmd/eqn/NEW, revision 1.1.1.1

1.1       root        1: Most of these changes owe thanks to Mary Carter,
                      2: whose efforts during the summer of 1984 provided
                      3: some code and the impetus to start thinking about
                      4: eqn again.
                      5: 
                      6: 
                      7: 1.  Fixed long-standing bug involving nested
                      8: from-to constructs.
                      9: 
                     10: 2.  Output guaranteed to preserve font that was
                     11: in effect upon entry (if there are no font changes
                     12: within quoted strings).
                     13: 
                     14: 3.  The right delimiter is no longer significant
                     15: within display equations.
                     16: 
                     17: 4.  Macros with arguments, as in grap and pic.
                     18: Parentheses are treated somewhat differently:
                     19: If an embedded left paren is found in a token,
                     20: then the characters to its left are checked to
                     21: see if they are a macro name.  If they are, the
                     22: paren is assumed to mark the beginning of the 
                     23: argument list.  Otherwise, the token is treated
                     24: just like any other.
                     25: 
                     26: 5.  File inclusion:  include (or copy) "filename"
                     27: is replaced by contents of file.  .EQ and .EN are
                     28: ignored within inclusions.  Filename "-" is a synonym for
                     29: standard input on the command line.
                     30: 
                     31: 6.  Font names can be given as strings, as in
                     32:        font CW { ... } or gfont CW
                     33: 
                     34: 7.  Checks environment variable TYPESETTER;  default
                     35: is still 202.
                     36: 
                     37: 8.  An optional separation distance can be specified
                     38: for a pile or col:  lcol 33 {... above ...} adds 33/100 em
                     39: of separation between the elements instead of the default;
                     40: negative values permitted.
                     41: pile, etc., have become synonyms for col, etc.
                     42: 
                     43: 9.  Eqn attempts to print appropriately for current size,
                     44: obviating the need for most uses of size {...} and gsize.
                     45: It won't always be right, but it will be close for documents
                     46: printed in the usual range of sizes.
                     47: 
                     48: 10. A fair amount of fiddling has been done to details of
                     49: positioning;  the output seems to be better looking.
                     50: 
                     51: 11. ifdef whatever / is replaced by this if defined /
                     52: The proper TYPESETTER name is defined already.
                     53: 
                     54: 12. Error messages are somewhat better as well.  Errors
                     55: passed on to troff will be identified by source file and
                     56: line number in the eqn input.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.