This is a list of resources for troff, the original Unix system for typesetting documents. Below will be a list of resources for troff, nroff, preprocessors & more associated tools.
NOTE: Some PDFs may not render previewed in GitHub! You likely will have to download them.
- Troff.org
- Unix Text Processing rewritten source code, originally published in 1987.
- Unix Text Processing (PDF)
- CSTR 54: Bell Labs Troff User's Manual
- The GNU Troff (groff) Manual
- The GNU Troff (groff) Mailing List
- The Groff Friends Howto from Dean Allen Provins
- GNU PIC Guide from Eric S. Raymond (esr)
- Bell Labs pic Guide
- Bell Labs grap Guide
- TAR file containing a grap implementation
- Bell Labs chem Guide
- tbl Preprocessor Guide by Cherry & Lesk
- refer Bibliography System Guide from Bill Tuthill
- Typesetting Mathematics (eqn) Second Edition by Kernighan & Cherry
- Typesetting Mathematics with GNU eqn by Ted Harding
- -ms Macros Guide from Cherry & Lesk
- -ms Macros Reference from Cherry & Lesk (2?)
- -me Macros Guide by Eric Allman
- -mm Macros Manual
- -me Macros Reference by Eric Allman
- -mom Macros by Peter Shaffter
- eqn: Formatting Equations in groff by Douglas Rumbaugh
- Massive groff examples repository (Thanks lkh!)
- Formatting Academic Papers with -me Macros by Jim Hall
- [VIDEO] Writing Documents with nroff -me by Jim Hall
- [VIDEO] Minimalist Documents with groff from Luke Smith
- [VIDEO] Customizing groff Macros from Luke Smith
- [VIDEO] Refer Bibliographies from Luke Smith
- [VIDEO] EQN Mathematics from Luke Smith
- [VIDEO PLAYLIST] Troff/Groff Tutorials from Gavin Freeborn
- Groff -mm and -me macro cheatsheets (source)
- PDF version of the -me cheatsheet by Bob Hepple
- PDF version of the -mm cheatsheet by Bob Hepple
- Heirloom Doctools: A featureful troff implementation from real Unix sources
- Heirloom Quickstart
- Heirloom Troff Manual
- Heirloom Doctools Source code
- NetHack Guidebook (vers 3.6.7) source, written in troff
- Troff Source code to the PSD/USD/SMM 4.4BSD documentation books. Incomplete, does not build but is useful for learning. (As of 2024-Aug-18)