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-argument ...]
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       --help  displays  a  usage message, while -v and --version show version
35       information; all exit afterward.
36
37       -format output-format
38              Write the image in output-format, which must  be  understood  by
39              convert; the default is PNG.
40

Environment

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

Authors

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

See also

54       pic2graph(1), grap2graph(1), eqn(1), groff(1), convert(1)
55
56
57
58groff 1.23.0                    2 November 2023                   eqn2graph(1)
Impressum