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 [-format output-format] [convert-arguments]
10
11       eqn2graph --help
12
13       eqn2graph -v
14       eqn2graph --version
15

DESCRIPTION

17       eqn2graph  reads a one-line eqn(1) equation from the standard input and
18       writes an image file, by default in  Portable  Network  Graphics  (PNG)
19       format, to the standard output.
20
21       The  input  EQN  code should not be preceded by the .EQ macro that nor‐
22       mally precedes it within groff(1) macros; nor do you need to have  dol‐
23       lar-sign or other delimiters around the equation.
24
25       Arguments  not recognized by eqn2graph are passed to the ImageMagick or
26       GraphicsMagick program convert(1).  By specifying these, you  can  give
27       your  image  a  border, set the image's pixel density, or perform other
28       useful transformations.
29
30       The output image is clipped using convert's -trim option to the  small‐
31       est possible bounding box that contains all the black pixels.
32

OPTIONS

34       -format output-format
35              Write  the  image  in output-format, which must be understood by
36              convert; the default is PNG.
37
38       --help Display a usage message and exit.
39
40       -v
41       --version
42              Display version information and exit.
43

ENVIRONMENT

45       GROFF_TMPDIR
46       TMPDIR
47       TMP
48       TEMP   These environment variables are searched in the given  order  to
49              determine  the  directory where temporary files will be created.
50              If none are set, /tmp is used.
51

AUTHORS

53       eqn2graph was written by Eric S. Raymond ⟨esr@thyrsus.com⟩, based on  a
54       recipe for pic2graph(1), by W. Richard Stevens.
55

SEE ALSO

57       pic2graph(1), grap2graph(1), eqn(1), groff(1), convert(1)
58
59
60
61groff 1.22.4                    20 January 2022                   EQN2GRAPH(1)
Impressum