|
|
1.1 ! root 1: .TH DEROFF 1 ! 2: .CT 1 writing_aids ! 3: .SH NAME ! 4: deroff, demonk, detex, delatex \- remove formatting requests ! 5: .SH SYNOPSIS ! 6: .B deroff ! 7: [ ! 8: .I option ... ! 9: ] ! 10: .I file ... ! 11: .PP ! 12: .B demonk ! 13: [ ! 14: .I option ... ! 15: ] ! 16: .I file ... ! 17: .PP ! 18: .B detex ! 19: .I file ! 20: .PP ! 21: .B delatex ! 22: .I file ! 23: .SH DESCRIPTION ! 24: .I Deroff ! 25: reads each file in sequence ! 26: and removes all ! 27: .I nroff ! 28: and ! 29: .IR troff (1) ! 30: requests and non-text arguments, backslash constructions, ! 31: and constructs of preprocessors such as ! 32: .I eqn, pic, ! 33: and ! 34: .IR tbl (1). ! 35: Remaining text is written on the standard output. ! 36: .I Deroff ! 37: follows files included by ! 38: .L .so ! 39: and ! 40: .L .nx ! 41: commands; ! 42: if a file has already been included, a ! 43: .L .so ! 44: for that file is ignored and a ! 45: .L .nx ! 46: terminates execution. ! 47: If no input file is given, ! 48: .I deroff ! 49: reads from standard input. ! 50: .PP ! 51: The options are ! 52: .TP ! 53: .B -w ! 54: Output a word list, one `word' (string of letters, digits, and ! 55: properly embedded ampersands and apostrophes, ! 56: beginning with a letter) per line. ! 57: Other characters are skipped. ! 58: Otherwise, the output follows the original, with the deletions mentioned above. ! 59: .TP ! 60: .B -i ! 61: Ignore ! 62: .L .so ! 63: and ! 64: .L .nx ! 65: requests. ! 66: .TP ! 67: .BR -ms ! 68: .PD0 ! 69: .TP ! 70: .B -mm ! 71: Remove titles, attachments, etc., as well as ordinary ! 72: .IR troff ! 73: constructs, from ! 74: .IR ms (6) ! 75: or ! 76: .I mm ! 77: documents. ! 78: .PD ! 79: .TP ! 80: .B -ml ! 81: Same as ! 82: .BR -mm , ! 83: but remove lists as well. ! 84: .PP ! 85: .I Demonk ! 86: removes ! 87: .IR monk (1) ! 88: commands from the named ! 89: .I files ! 90: or from the standard input and invokes ! 91: .I deroff ! 92: to handle other formatting constructs. ! 93: .I Demonk ! 94: follows files included by ! 95: .L |\^insert ! 96: and ! 97: .L |\^source ! 98: commands. ! 99: .PP ! 100: .I Demonk ! 101: recognizes the following options and passes all options except ! 102: .B -b ! 103: to ! 104: .I deroff. ! 105: .TP ! 106: .B -i ! 107: Ignore ! 108: .I monk ! 109: .L |\^insert ! 110: and ! 111: .L |\^source ! 112: commands. ! 113: .TP ! 114: .B -b ! 115: Delete blank lines that result from the removal of ! 116: .I monk ! 117: commands. ! 118: .PP ! 119: .I Detex ! 120: and ! 121: .I delatex ! 122: do for ! 123: .IR tex (1) ! 124: and ! 125: .IR latex (6) ! 126: files what ! 127: .B deroff -w ! 128: does for ! 129: .I troff ! 130: files. ! 131: .I Delatex ! 132: largely subsumes ! 133: .I detex. ! 134: .SH "SEE ALSO" ! 135: .IR troff (1), ! 136: .IR monk (1), ! 137: .IR tex (1), ! 138: .IR spell (1), ! 139: .IR wwb (1) ! 140: .SH BUGS ! 141: These filters are not complete interpreters of ! 142: .I troff ! 143: or ! 144: .I tex. ! 145: For example, macro definitions containing ! 146: .L \e$ ! 147: cause chaos in ! 148: .IR deroff ! 149: when the popular ! 150: .L $$ ! 151: delimiters for ! 152: .I eqn ! 153: are in effect. ! 154: .br ! 155: Text inside macros is emitted at place of ! 156: definition, not place of call.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.