DEROFF(1)
π NAME π
deroff, delatex β remove formatting requests. This is the DEROFF(1) page from the General Commands Manual, bestie π«Ά
β¨ SYNOPSIS β¨
deroff [ option ... ] file ...
delatex file
πΈ DESCRIPTION πΈ
Okay so Deroff reads each file in sequence and removes all the nroff and troff(1) requests and non-text arguments, backslash constructions, and constructs from preprocessors like eqn(1), pic(1), and tbl(1). The remaining text goes straight to standard output. β¨
Deroff follows files included by and commands; if a file has already been included, a for that file is ignored and a terminates execution.
bestie, that sentence in the source has some missing command names β Iβm keeping the gaps exactly as they are instead of making up names, no cap π«Ά
If no input file is given, deroff reads from standard input.
The options are:
-wβ Output a word list, oneword(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.-_β Like-w, but consider underscores to be alphanumeric rather than punctuation.-iβ Ignore and requests.-msβ listed here with no extra description in this page; itβs just sitting there with mystery-flag energy π-mmβ Remove titles, attachments, etc., as well as ordinarytroffconstructs, fromms(7)ormmdocuments.-mlβ Same as-mm, but remove lists as well.
Delatex does for tex and latex (see tex(1)) files what deroff -wi does for troff files. Periodt π
π SOURCE π
The source files are:
/src/cmd/deroff.c
/src/cmd/delatex.lx
π¦ SEE ALSO π¦
π BUGS π
These filters are not complete interpreters of troff or tex. For example, macro definitions containing cause chaos in deroff when the popular delimiters for eqn are in effect. π
Text inside macros is emitted at place of definition, not place of call.
This is a real caveat, bestie β donβt expect these filters to be full interpreters. π«Ά
okay thatβs the whole DEROFF(1) page from the General Commands Manual β the footer didnβt give a date, so no fake date energy here, bestie π«Άβ¨
π¦ where this page comes from
- alpine 3.24: plan9port-doc 0_git20260208-r0 Β· LPL-1.02
- arch rolling: plan9port 20261021-2 Β· custom
- nixos 26.05: plan9port 0-unstable-2025-11-10
- nixos 26.05: plan9port-wayland 0-unstable-2025-11-26
- nixpkgs unstable: plan9port 0-unstable-2025-11-10
- nixpkgs unstable: plan9port-wayland 0-unstable-2025-11-26
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms