version 1.8, 2007/05/31 19:20:09 |
version 1.9, 2010/10/28 20:45:19 |
|
|
.Op Ar |
.Op Ar |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm deroff |
.Nm deroff |
reads each file in sequence and removes all |
reads each file in sequence and removes all roff |
.Xr nroff 1 |
|
and |
|
.Xr troff 1 |
|
command lines, backslash constructions, macro definitions, |
command lines, backslash constructions, macro definitions, |
.Xr eqn 1 |
eqn constructs (between |
constructs (between |
|
.Dq .EQ |
.Dq .EQ |
and |
and |
.Dq .EN |
.Dq .EN |
lines or between delimiters), |
lines or between delimiters), |
.Xr pic 1 |
pic pictures, |
pictures, |
|
and table descriptions and writes the remainder to the standard output. |
and table descriptions and writes the remainder to the standard output. |
.Nm |
.Nm |
follows chains of included files |
follows chains of included files |
|
|
.Xr man 7 |
.Xr man 7 |
macros. |
macros. |
.It e |
.It e |
recognize |
recognize me macros. |
.Xr me 7 |
|
macros. |
|
.It l |
.It l |
remove list constructs. |
remove list constructs. |
.It m |
.It m |
recognize |
recognize mm macros. |
.Xr mm 7 |
|
macros. |
|
.It s |
.It s |
recognize |
recognize ms macros. |
.Xr ms 7 |
|
macros. |
|
.El |
.El |
.It Fl p |
.It Fl p |
Preserve paragraph macros. |
Preserve paragraph macros. |
|
|
Normally, the output follows the original, with the deletions mentioned above. |
Normally, the output follows the original, with the deletions mentioned above. |
.El |
.El |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr eqn 1 , |
.Xr man 7 |
.Xr nroff 1 , |
|
.Xr pic 1 , |
|
.Xr tbl 1 , |
|
.Xr troff 1 |
|
.Sh HISTORY |
.Sh HISTORY |
.Nm |
.Nm |
appeared in |
appeared in |
.At v7 . |
.At v7 . |
.Sh BUGS |
.Sh BUGS |
.Nm |
.Nm |
is not a complete |
is not a complete troff interpreter, |
.Xr troff 1 |
so it can be confused by subtle constructs. |
interpreter, so it can be confused by subtle constructs. |
|
Most errors result in too much rather than too little output. |
Most errors result in too much rather than too little output. |
.Pp |
.Pp |
The |
The |