|
|
1.1 ! root 1: .\" @(#)vhel3 6.1 (Berkeley) 4/25/86 ! 2: .\" ! 3: .NH ! 4: Text Processing ! 5: .NH 2 ! 6: Document Preparation ! 7: .LP ! 8: .sh ED ! 9: Interactive context editor. ! 10: Random access to all lines of a file. ! 11: .op ! 12: Find lines by number or pattern. ! 13: Patterns may include: ! 14: specified characters, ! 15: don't care characters, ! 16: choices among characters, ! 17: repetitions of these constructs, ! 18: beginning of line, ! 19: end of line. ! 20: .op ! 21: Add, delete, change, copy, move or join lines. ! 22: .op ! 23: Permute or split contents of a line. ! 24: .op ! 25: Replace one or all instances of a pattern within a line. ! 26: .op ! 27: Combine or split files. ! 28: .op ! 29: Escape to Shell (command language) during editing. ! 30: .ne3 ! 31: .op ! 32: Do any of above operations on ! 33: every pattern-selected line in a given range. ! 34: .OP ! 35: Optional encryption for extra security. ! 36: .sh PTX ! 37: Make a permuted (key word in context) index. ! 38: .sh SPELL ! 39: Look for spelling errors by comparing each word in a ! 40: document against a word list. ! 41: .OP ! 42: 25,000-word list includes proper names. ! 43: .OP ! 44: Handles common prefixes and suffixes. ! 45: .OP ! 46: Collects words to help tailor local spelling lists. ! 47: .sh LOOK ! 48: Search for words in dictionary that begin with specified prefix. ! 49: .sh CRYPT ! 50: Encrypt and decrypt files for security. ! 51: .NH 2 ! 52: Document Formatting ! 53: .LP ! 54: .sh TROFF ! 55: .sh NROFF ! 56: Advanced typesetting. ! 57: TROFF drives a Graphic Systems phototypesetter; ! 58: NROFF drives ascii terminals of all types. ! 59: This summary was typeset using TROFF. ! 60: TROFF and NROFF are capable of elaborate ! 61: feats of formatting, ! 62: when appropriately programmed. ! 63: TROFF and NROFF accept the same input language. ! 64: .op ! 65: Completely definable page format keyed to dynamically planted ! 66: ``interrupts'' at specified lines. ! 67: .op ! 68: Maintains several separately definable typesetting environments (e.g., one for ! 69: body text, one for footnotes, and one for unusually elaborate ! 70: headings). ! 71: .op ! 72: Arbitrary number of output pools can be combined at will. ! 73: .op ! 74: Macros with substitutable arguments, and macros invocable ! 75: in mid-line. ! 76: .op ! 77: Computation and printing of numerical quantities. ! 78: .op ! 79: Conditional execution of macros. ! 80: .op ! 81: Tabular layout facility. ! 82: .op ! 83: Positions expressible in inches, centimeters, ems, points, ! 84: machine units ! 85: or arithmetic combinations thereof. ! 86: .op ! 87: Access to character-width computation for unusually difficult ! 88: layout problems. ! 89: .op ! 90: Overstrikes, built-up brackets, horizontal and vertical line drawing. ! 91: .op ! 92: Dynamic relative or absolute positioning and size selection, ! 93: globally or at the character level. ! 94: .op ! 95: Can exploit the characteristics of the terminal being used, ! 96: for approximating special characters, reverse motions, ! 97: proportional spacing, etc. ! 98: .LP ! 99: The Graphic Systems typesetter has a ! 100: vocabulary of several 102-character fonts (4 simultaneously) ! 101: in 15 sizes. ! 102: TROFF provides ! 103: terminal output for rough sampling of the product. ! 104: .LP ! 105: NROFF will produce multicolumn output on terminals capable of reverse line feed, ! 106: or through the postprocessor COL. ! 107: .LP ! 108: High programming skill is required to exploit the formatting ! 109: capabilities of TROFF and NROFF, although unskilled personnel can easily be trained ! 110: to enter documents according to canned formats ! 111: such as those provided by MS, below. ! 112: TROFF and EQN are essentially identical to NROFF and NEQN ! 113: so it is usually possible to define interchangeable ! 114: formats to produce ! 115: approximate proof copy on terminals ! 116: before actual typesetting. ! 117: The preprocessors MS, TBL, and REFER are fully compatible ! 118: with TROFF and NROFF. ! 119: .sh MS ! 120: A standardized manuscript layout package ! 121: for use with NROFF/TROFF. ! 122: This document was formatted with MS. ! 123: .op ! 124: Page numbers and draft dates. ! 125: .op ! 126: Automatically numbered subheads. ! 127: .op ! 128: Footnotes. ! 129: .op ! 130: Single or double column. ! 131: .op ! 132: Paragraphing, display and indentation. ! 133: .op ! 134: Numbered equations. ! 135: .sh EQN ! 136: A mathematical typesetting preprocessor for TROFF. ! 137: Translates easily readable formulas, either in-line or displayed, into ! 138: detailed typesetting instructions. ! 139: Formulas are written in a style like this: ! 140: .DS ! 141: sigma sup 2 ~=~ 1 over N sum from i=1 to N ( x sub i \- x bar ) sup 2 ! 142: .DE ! 143: which produces: ! 144: .EQ ! 145: sigma sup 2 ~=~ 1 over N sum from i=1 to N ( x sub i - x bar ) sup 2 ! 146: .EN ! 147: .op ! 148: Automatic calculation of size changes for subscripts, sub-subscripts, ! 149: etc. ! 150: .op ! 151: Full vocabulary of Greek letters and special symbols, such as `gamma', `GAMMA', `integral'. ! 152: .op ! 153: Automatic calculation of large bracket sizes. ! 154: .op ! 155: Vertical ``piling'' of formulae for matrices, conditional ! 156: alternatives, etc. ! 157: .op ! 158: Integrals, sums, etc., with arbitrarily complex limits. ! 159: .op ! 160: Diacriticals: dots, double dots, hats, bars, etc. ! 161: .op ! 162: Easily learned by nonprogrammers and mathematical typists. ! 163: .sh NEQN ! 164: A version of EQN for NROFF; ! 165: accepts the same input language. ! 166: Prepares formulas for display on ! 167: any terminal that NROFF knows about, ! 168: for example, those based on Diablo printing mechanism. ! 169: .op ! 170: Same facilities as EQN within graphical capability of ! 171: terminal. ! 172: .sh TBL ! 173: A preprocessor for NROFF/TROFF ! 174: that translates simple descriptions of table layouts ! 175: and contents into detailed typesetting instructions. ! 176: .op ! 177: Computes column widths. ! 178: .op ! 179: Handles left- and right-justified columns, ! 180: centered columns and decimal-point ! 181: alignment. ! 182: .op ! 183: Places column titles. ! 184: .op ! 185: Table entries can be text, ! 186: which is adjusted to fit. ! 187: .op ! 188: Can box all or parts of table. ! 189: .sh REFER ! 190: Fills in bibliographic citations in a document ! 191: from a data base (not supplied). ! 192: .op ! 193: References may be printed in any style, ! 194: as they occur or collected at the end. ! 195: .op ! 196: May be numbered sequentially, by name of author, etc. ! 197: .sh TC ! 198: Simulate Graphic Systems typesetter on Tektronix 4014 scope. ! 199: Useful for checking TROFF page layout before typesetting. ! 200: .sh COL ! 201: Canonicalize files with reverse line feeds ! 202: for one-pass printing. ! 203: .sh DEROFF ! 204: Remove all TROFF commands from input. ! 205: .sh CHECKEQ ! 206: Check document for possible errors in EQN usage.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.