Roff
π‘Έ lup:typesetting is fun.
ranking of roff implementations by fun:
- plan9’s
troff
. mandoc
1.groff
.
plan9’s troff
is more simplified.
one thing that’s missing from it is the translating quotes from:
`word'
to:
βwordβ
you can implement this yourself:
.tr `β'β \" single can be simply translated
.de DQ \" double should wrap arg.
\&β\\$1β\\$2
..
-
mandoc
is also a set of macros forroff
, but it’s also a program that typesetsmandoc
macros. ↩︎