snippetbashTip
pic — Picture preprocessor for the groff (GNU Troff) document formatting system. See also: `groff`, `troff
Viewed 0 times
thegroffcommandclipictureforpreprocessorpic
Problem
How to use the
pic command: Picture preprocessor for the groff (GNU Troff) document formatting system. See also: groff, troff. More information: <https://manned.org/pic>.Solution
pic — Picture preprocessor for the groff (GNU Troff) document formatting system. See also: groff, troff. More information: <https://manned.org/pic>.Process input with pictures, saving the output for future typesetting with groff to PostScript:
pic {{path/to/input.pic}} > {{path/to/output.roff}}Typeset input with pictures to PDF using the [me] macro package:
pic -T {{pdf}} {{path/to/input.pic}} | groff -{{me}} -T {{pdf}} > {{path/to/output.pdf}}Code Snippets
Process input with pictures, saving the output for future typesetting with groff to PostScript
pic {{path/to/input.pic}} > {{path/to/output.roff}}Typeset input with pictures to PDF using the [me] macro package
pic -T {{pdf}} {{path/to/input.pic}} | groff -{{me}} -T {{pdf}} > {{path/to/output.pdf}}Context
tldr-pages: common/pic
Revisions (0)
No revisions yet.