1 .\" $Id: eqn2graph.man,v 1.6 2008/09/29 21:55:07 wl Exp $
2 .\" This documentation is released to the public domain.
5 .\" Like TP, but if specified indent is more than half
6 .\" the current line-length - indent, use the default indent.
8 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
13 .TH EQN2GRAPH @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
16 eqn2graph \- convert an EQN equation into a cropped image
30 Reads an EQN equation (one line) as input; produces an image
31 file (by default in Portable Network Graphics format) suitable for the
34 Your input EQN code should
36 have the \&.EQ/.EN preamble that
37 that normally precedes it within
39 macros; nor do you need to have dollar-sign or other delimiters
42 The output image will be clipped to the smallest possible bounding box
43 that contains all the black pixels.
46 will produce a black-on-white graphic; newer ones may produce a
47 black-on-transparent graphic.
48 By specifying command-line options to be passed to
50 you can give it a border, force the background transparent, set the
51 image's pixel density, or perform other useful transformations.
54 .BR @g@eqn (@MAN1EXT@),
55 .BR groff (@MAN1EXT@),
59 These programs must be installed on your system and accessible on your
70 in the `unsafe' mode enabling the PIC macro
72 to execute arbitrary commands.
73 The default is to forbid this.
76 Specify an output format; the default is PNG (Portable Network Graphics).
79 can emit is supported.
81 Command-line switches and arguments not listed above are passed to
86 .Tp \w'\fB@MACRODIR@/eqnrc'u+2n
89 .BR @g@eqn (@MAN1EXT@)
96 The directory in which temporary files will be created.
99 searches the environment variables
105 Otherwise, temporary files will be created in
110 Due to changes in the behavior of ImageMagick
112 that are both forward and backward-incompatible,
113 mismatches between your
117 versions may produce zero-sized or untrimmed output images.
120 you will need a version of
124 option; older versions of
128 which no longer has trimming behavior.
132 .BR pic2graph (@MAN1EXT@),
133 .BR grap2graph (@MAN1EXT@),
134 .BR @g@eqn (@MAN1EXT@),
135 .BR groff (@MAN1EXT@),
141 Eric S. Raymond <esr@thyrsus.com>.