1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 10:02:08 +02:00
tldr/pages/common/grap.md
2021-10-21 15:17:15 +08:00

508 B

grap

A charting preprocessor for the groff (GNU Troff) document formatting system. See also pic and groff. More information: https://manned.org/grap.

  • Process a grap file and save the output file for future processing with pic and groff:

grap {{path/to/input.grap}} > {{path/to/output.pic}}

  • Typeset a grap file to PDF using the [me] macro package, saving the output to a file:

grap {{path/to/input.grap}} | pic -T {{pdf}} | groff -{{me}} -T {{pdf}} > {{path/to/output.pdf}}