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

grap

  • A charting preprocessor for the groff (GNU Troff) document formatting system.
    See also `pic` and `groff`.
    More information: <https://manned.org/grap>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

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

click the source code to copy install grap on any operating system with command-not-found.com