troff
all
Typesetting processor for the groff (GNU Troff) document formatting system. See also: `groff`.
More info →Examples (4)
Format output for a PostScript printer, saving the output to a file
troff path/to/input.roff | grops > path/to/output.psFormat output for a PostScript printer using the me macro package, saving the output to a file
troff -me path/to/input.roff | grops > path/to/output.psFormat output as ASCII text using the man macro package
Format output as a pdf file, saving the output to a file
troff -T pdf path/to/input.roff | gropdf > path/to/output.pdfmade by @shridhargupta | data from tldr-pages