{
    "content": [
        {
            "type": "text",
            "text": "# eqn2graph(1) (man)\n\n**Summary:** eqn2graph - convert an EQN equation into a cropped image\n\n**Synopsis:** eqn2graph [-format output-format] [convert-arguments]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | Write the image in output-format, which must be understood by convert; the default is PNG. --help Display a usage messag |\n| -v | — | — |  |\n| — | --version | — | Display version information and exit. |\n\n## See Also\n\n- pic2graph(1)\n- grap2graph(1)\n- eqn(1)\n- groff(1)\n- convert(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines) — 3 subsections\n  - eqn2graph --help (1 lines)\n  - eqn2graph -v (1 lines)\n  - eqn2graph --version (1 lines)\n- **DESCRIPTION** (13 lines)\n- **OPTIONS** (1 lines) — 3 subsections\n  - -format (5 lines)\n  - -v (1 lines)\n  - --version (2 lines)\n- **ENVIRONMENT** (6 lines)\n- **AUTHORS** (3 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\neqn2graph - convert an EQN equation into a cropped image\n\n### SYNOPSIS\n\neqn2graph [-format output-format] [convert-arguments]\n\n#### eqn2graph --help\n\n#### eqn2graph -v\n\n#### eqn2graph --version\n\n### DESCRIPTION\n\neqn2graph  reads a one-line eqn(1) equation from the standard input and writes an image file,\nby default in Portable Network Graphics (PNG) format, to the standard output.\n\nThe input EQN code should not be preceded by the .EQ macro that normally precedes  it  within\ngroff(1) macros; nor do you need to have dollar-sign or other delimiters around the equation.\n\nArguments not recognized by eqn2graph are passed to the ImageMagick or GraphicsMagick program\nconvert(1).  By specifying these, you can give your image a border,  set  the  image's  pixel\ndensity, or perform other useful transformations.\n\nThe  output  image  is clipped using convert's -trim option to the smallest possible bounding\nbox that contains all the black pixels.\n\n### OPTIONS\n\n#### -format\n\nWrite the image in output-format, which must be understood by convert; the default  is\nPNG.\n\n--help Display a usage message and exit.\n\n#### -v\n\n#### --version\n\nDisplay version information and exit.\n\n### ENVIRONMENT\n\nGROFFTMPDIR\nTMPDIR\nTMP\nTEMP   These environment variables are searched in the given order to determine the directory\nwhere temporary files will be created.  If none are set, /tmp is used.\n\n### AUTHORS\n\neqn2graph  was  written  by  Eric  S.  Raymond  ⟨esr@thyrsus.com⟩,  based  on  a  recipe  for\npic2graph(1), by W. Richard Stevens.\n\n### SEE ALSO\n\npic2graph(1), grap2graph(1), eqn(1), groff(1), convert(1)\n\n\n\ngroff 1.22.4                                23 March 2022                               EQN2GRAPH(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "eqn2graph",
        "section": "1",
        "mode": "man",
        "summary": "eqn2graph - convert an EQN equation into a cropped image",
        "synopsis": "eqn2graph [-format output-format] [convert-arguments]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Write the image in output-format, which must be understood by convert; the default is PNG. --help Display a usage message and exit."
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "Display version information and exit."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "pic2graph",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pic2graph/1/json"
            },
            {
                "name": "grap2graph",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/grap2graph/1/json"
            },
            {
                "name": "eqn",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/eqn/1/json"
            },
            {
                "name": "groff",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/groff/1/json"
            },
            {
                "name": "convert",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/convert/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "eqn2graph --help",
                        "lines": 1
                    },
                    {
                        "name": "eqn2graph -v",
                        "lines": 1
                    },
                    {
                        "name": "eqn2graph --version",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-format",
                        "lines": 5
                    },
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "ENVIRONMENT",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}