# groff

- Page: https://shared.btbytes.com/p/groff
- Date: 2023-05-17
- Tags: typesetting, groff

[Writing my PhD using groff](https://yockyrr.gitlab.io/jstutter/#220721-writing-my-phd-using-groff) by Joshua Stutter has detailed comparison of various [typesetting](https://shared.btbytes.com/p/typesetting) tools like

-   pdflatex
-   lualatex
-   xelatex
-   latexmk
-   tectonic
-   context
-   wkhtmltopdf
-   weasyprint
-   pagedjs-cli
-   prince
-   pdfroff

[Mom - Macros for GNU troff](https://www.schaffter.ca/mom/mom-01.html) is probably the best place to start using groff, piping text input files  into `pdfmom` which handles the preprocessing with `refer`, `tbl`, `grap` and `pic`.
