snippetbashTip
grap — A charting preprocessor for the groff (GNU Troff) document formatting system. See also: `pic`, `grof
Viewed 0 times
thegroffcommandcligrapchartingforpreprocessor
Problem
How to use the
grap command: A charting preprocessor for the groff (GNU Troff) document formatting system. See also: pic, groff. More information: <https://manned.org/grap>.Solution
grap — A charting preprocessor for the groff (GNU Troff) document formatting system. See also: pic, 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}}Code Snippets
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}}Context
tldr-pages: common/grap
Revisions (0)
No revisions yet.