grn

Groff preprocessor for Gremlin graphics

TLDR

Process gremlin file
$ grn [file.grn] | groff > output.ps
Specify macro file
$ grn -M [macrodir] [file.grn]
Compatible mode
$ grn -C [file.grn]

SYNOPSIS

grn [options] [file]

DESCRIPTION

grn is a groff preprocessor for Gremlin graphics files. It converts Gremlin vector graphics format to groff commands for embedding line drawings and text in documents.The tool was originally developed for SunView and later adapted for groff. It handles line drawings, text labels, and other Gremlin primitives.

PARAMETERS

FILE

Gremlin input file.
-M DIR
Macro directory.
-C
Compatible mode with older versions.
-F FILE
Font file.
--help
Display help information.

INSTALL

sudo apt install groff
sudo dnf install groff
sudo pacman -S groff
sudo apk add groff
sudo zypper install groff
brew install groff
nix profile install nixpkgs#groff

CAVEATS

Part of groff suite. Gremlin format is largely obsolete. Limited to basic vector graphics.

HISTORY

grn was created at UC Berkeley for the Gremlin drawing program, later included in GNU groff for compatibility.

SEE ALSO

groff(1), pic(1), grap(1)

RESOURCES

Source code · Homepage