1 .TH GRAP2GRAPH @MAN1EXT@ "@MDATE@" "groff @VERSION@"
3 grap2graph \- convert a GRAP diagram into a cropped image
6 .\" ====================================================================
8 .\" ====================================================================
10 .\" This documentation is released to the public domain.
13 .\" ====================================================================
15 .\" ====================================================================
19 .OP \-format output-format
20 .RI [ convert-arguments ]
34 .\" ====================================================================
36 .\" ====================================================================
41 program from the standard input and writes an image file,
42 by default in Portable Network Graphics (PNG) format,
43 to the standard output.
47 The input GRAP code should
53 macros that normally guard it within
58 .\" FIXME: How old? This text hasn't been touched since 2008 at latest.
61 .\" will produce a black-on-white graphic; newer ones may produce a
62 .\" black-on-transparent graphic.
65 Arguments not recognized by
67 are passed to the ImageMagick or GraphicsMagick program
71 By specifying these, you can give your image a border,
72 .\" Transparent backgrounds are the default in 2018.
73 .\" force the background transparent,
74 set the image's pixel density,
75 or perform other useful transformations.
79 The output image is clipped using
82 option to the smallest possible bounding box that contains all the black
86 .\" ====================================================================
88 .\" ====================================================================
91 .BI "\-format " output-format
94 which must be understood by
101 Display a usage message and exit.
110 mode, enabling the PIC command
112 to execute arbitrary Unix shell commands.
116 default is to forbid this.
123 Display version information and exit.
126 .\" ====================================================================
128 .\" ====================================================================
138 These environment variables are searched in the given order to determine
139 the directory where temporary files will be created.
146 .\" ====================================================================
148 .\" ====================================================================
152 .MT esr@\:thyrsus.com
155 based on a recipe for
156 .IR pic2graph (@MAN1EXT@),
157 by W.\& Richard Stevens.
160 .\" ====================================================================
162 .\" ====================================================================
164 .IR pic2graph (@MAN1EXT@),
165 .IR eqn2graph (@MAN1EXT@),
167 .IR @g@pic (@MAN1EXT@),
168 .IR groff (@MAN1EXT@),
175 .\" vim: set filetype=groff: