pic

Picture preprocessor for the groff (GNU Troff) document formatting system. See also groff and troff. More information: <https://manned.org/pic>.

Install

All systems
curl cmd.cat/pic.sh
Debian Debian
apt-get install groff-base
Ubuntu
apt-get install groff-base
Arch Arch Linux
pacman -S plan9port
image/svg+xml Kali Linux
apt-get install groff-base
CentOS
yum install groff-base
Fedora
dnf install groff-base
Windows (WSL2)
sudo apt-get update sudo apt-get install groff-base
OS X
brew install plan9port
Raspbian
apt-get install groff-base

Picture preprocessor for the groff (GNU Troff) document formatting system. See also groff and 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

© tl;dr; authors and contributors