1EQN2GRAPH(1)                General Commands Manual               EQN2GRAPH(1)
2
3
4

NAME

6       eqn2graph - convert an EQN equation into a cropped image
7

SYNOPSIS

9       eqn2graph [ -unsafe ] [ -format fmt ]
10

DESCRIPTION

12       Reads  an  EQN equation (one line) as input; produces an image file (by
13       default in Portable Network Graphics format) suitable for  the  Web  as
14       output.
15
16       Your input EQN code should not have the .EQ/.EN preamble that that nor‐
17       mally precedes it within groff(1) macros; nor do you need to have  dol‐
18       lar-sign or other delimiters around the equation.
19
20       The output image will be a black-on-white graphic clipped to the small‐
21       est possible bounding box that contains all the black pixels.  By spec‐
22       ifying  command-line options to be passed to convert(1) you can give it
23       a border, set the background transparent, set the  image's  pixel  den‐
24       sity, or perform other useful transformations.
25
26       This program uses eqn(1), groff(1), and the ImageMagick convert(1) pro‐
27       gram.  These programs must be installed on your system  and  accessible
28       on your $PATH for eqn2graph to work.
29

OPTIONS

31       -unsafe
32              Run  groff(1)  in the `unsafe' mode enabling the PIC macro sh to
33              execute arbitrary commands.  The default is to forbid this.
34
35       -format fmt
36              Specify an output format; the default is PNG  (Portable  Network
37              Graphics).  Any format that convert(1) can emit is supported.
38
39       Command-line switches and arguments not listed above are passed to con‐
40       vert(1).
41

FILES

43       /usr/share/groff/1.18.1.4/tmac/eqnrc
44              The eqn(1) initialization file.
45

SEE ALSO

47       eqn(1), groff(1), gs(1), convert(1).
48

AUTHOR

50       Eric S. Raymond <esr@thyrsus.com>.
51
52
53
54Groff Version 1.18.1.4          21 August 2002                    EQN2GRAPH(1)
Impressum