Graphics and Photos using GNU troff
The pic
preprocessor can be used for creating and inserting diagrams in groff. It comes with its own turing incomplete language. See the pic preprocessor for details.
Inserting images can be done by:
- PSPIC macro (does not require any preprocessor), but it does not work on PDF output type
- PDFPIC macro, which can be used for inserting PDF images in a groff document