LinuxCommandLibrary

grn

Groff preprocessor for Gremlin graphics

TLDR

Process gremlin file

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

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.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community