| <head> |
| <title>deroff(1) - Plan 9 from User Space</title> |
| <meta content="text/html; charset=utf-8" http-equiv=Content-Type> |
| </head> |
| <body bgcolor=#ffffff> |
| <table border=0 cellpadding=0 cellspacing=0 width=100%> |
| <tr height=10><td> |
| <tr><td width=20><td> |
| <tr><td width=20><td><b>DEROFF(1)</b><td align=right><b>DEROFF(1)</b> |
| <tr><td width=20><td colspan=2> |
| <br> |
| <p><font size=+1><b>NAME </b></font><br> |
| |
| <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td> |
| |
| deroff, delatex – remove formatting requests<br> |
| |
| </table> |
| <p><font size=+1><b>SYNOPSIS </b></font><br> |
| |
| <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td> |
| |
| <tt><font size=+1>deroff</font></tt> [ <i>option ...</i> ] <i>file ... |
| <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table> |
| </i> |
| <tt><font size=+1>delatex</font></tt> <i>file<br> |
| </i> |
| </table> |
| <p><font size=+1><b>DESCRIPTION </b></font><br> |
| |
| <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td> |
| |
| <i>Deroff</i> reads each file in sequence and removes all <i>nroff</i> and <a href="../man1/troff.html"><i>troff</i>(1)</a> |
| requests and non-text arguments, backslash constructions, and |
| constructs of preprocessors such as <a href="../man1/eqn.html"><i>eqn</i>(1)</a>, <a href="../man1/pic.html"><i>pic</i>(1)</a>, and <a href="../man1/tbl.html"><i>tbl</i>(1)</a>. |
| Remaining text is written on the standard output. <i>Deroff</i> follows |
| files included by <tt><font size=+1>.so</font></tt> and <tt><font size=+1>.nx</font></tt> commands; if a file has |
| already been included, a <tt><font size=+1>.so</font></tt> for that file is ignored and a <tt><font size=+1>.nx</font></tt> |
| terminates execution. If no input file is given, <i>deroff</i> reads |
| from standard input. |
| <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table> |
| |
| The options are<br> |
| <tt><font size=+1>−w</font></tt> Output a word list, one ‘word’ (string of letters, digits, and |
| properly embedded ampersands and apostrophes, beginning with a |
| letter) per line. Other characters are skipped. Otherwise, the |
| output follows the original, with the deletions mentioned above.<br> |
| <tt><font size=+1>−_</font></tt> Like <tt><font size=+1>−w</font></tt>, but consider underscores to be alphanumeric rather |
| than punctuation.<br> |
| <tt><font size=+1>−i</font></tt> Ignore <tt><font size=+1>.so</font></tt> and <tt><font size=+1>.nx</font></tt> requests.<br> |
| <tt><font size=+1>−ms<br> |
| −mm</font></tt> Remove titles, attachments, etc., as well as ordinary <i>troff</i> |
| constructs, from <a href="../man7/ms.html"><i>ms</i>(7)</a> or <i>mm</i> documents.<br> |
| <tt><font size=+1>−ml</font></tt> Same as <tt><font size=+1>−mm</font></tt>, but remove lists as well. |
| <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table> |
| |
| <i>Delatex</i> does for <i>tex</i> and <i>latex</i> (see <a href="../man1/tex.html"><i>tex</i>(1)</a>) files what <tt><font size=+1>deroff |
| −wi</font></tt> does for <i>troff</i> files.<br> |
| |
| </table> |
| <p><font size=+1><b>SOURCE </b></font><br> |
| |
| <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td> |
| |
| <tt><font size=+1>/usr/local/plan9/src/cmd/deroff.c<br> |
| /usr/local/plan9/src/cmd/delatex.lx<br> |
| </font></tt> |
| </table> |
| <p><font size=+1><b>SEE ALSO </b></font><br> |
| |
| <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td> |
| |
| <a href="../man1/troff.html"><i>troff</i>(1)</a>, <a href="../man1/tex.html"><i>tex</i>(1)</a>, <a href="../man1/spell.html"><i>spell</i>(1)</a><br> |
| |
| </table> |
| <p><font size=+1><b>BUGS </b></font><br> |
| |
| <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td> |
| |
| These filters are not complete interpreters of <i>troff</i> or <i>tex</i>. For |
| example, macro definitions containing <tt><font size=+1>\$</font></tt> cause chaos in <i>deroff</i> |
| when the popular <tt><font size=+1>$$</font></tt> delimiters for <i>eqn</i> are in effect. |
| <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table> |
| |
| Text inside macros is emitted at place of definition, not place |
| of call.<br> |
| |
| </table> |
| |
| <td width=20> |
| <tr height=20><td> |
| </table> |
| <!-- TRAILER --> |
| <table border=0 cellpadding=0 cellspacing=0 width=100%> |
| <tr height=15><td width=10><td><td width=10> |
| <tr><td><td> |
| <center> |
| <a href="../../"><img src="../../dist/spaceglenda100.png" alt="Space Glenda" border=1></a> |
| </center> |
| </table> |
| <!-- TRAILER --> |
| </body></html> |