{
    "content": [
        {
            "type": "text",
            "text": "# mft (man)\n\n## NAME\n\nmft - translate Metafont or MetaPost code to TeX code for prettyprinting\n\n## SYNOPSIS\n\nmft [OPTIONS] mffilename[.mf|.mp]\n\n## DESCRIPTION\n\nThis  manual page is not meant to be exhaustive.  The complete documentation for this version\nof TeX can be found in the info file or manual Web2C: A TeX implementation.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (3 subsections)\n- **FILES**\n- **SEE ALSO**\n- **AUTHORS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "mft",
        "section": "",
        "mode": "man",
        "summary": "mft - translate Metafont or MetaPost code to TeX code for prettyprinting",
        "synopsis": "mft [OPTIONS] mffilename[.mf|.mp]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Apply the change file changefilename to mffilename."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Assume mffilename is a MetaPost source file (this is the default if mffilename has the extension .mp)."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Use the style file stylefilename instead of plain.mft (or mplain.mft); this option can be given more than once."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "mf",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mf/1/json"
            },
            {
                "name": "weave",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/weave/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-change=",
                        "lines": 2
                    },
                    {
                        "name": "-metapost",
                        "lines": 3
                    },
                    {
                        "name": "-style=",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "mft - translate Metafont or MetaPost code to TeX code for prettyprinting\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "mft [OPTIONS] mffilename[.mf|.mp]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This  manual page is not meant to be exhaustive.  The complete documentation for this version\nof TeX can be found in the info file or manual Web2C: A TeX implementation.\n\nThe mft program creates a TeX file from a Metafont or MetaPost program.  It takes appropriate\ncare  of  typographic details like page layout and the use of indentation, italics, boldface,\netc., as illustrated in the book Computer Modern Typefaces.  Special conventions in  Metafont\nand  MetaPost  comments  allow you to control things that would not otherwise come out right;\nsection 1 of the MFT source program in the Metafontware report explains these rules.\n\nThe mft program uses an optional change file (which works just as the change  files  to  tan‐‐\ngle(1)  and  weave(1) do) and one or several style files (which are prepended to everything).\nIf no style file is specified, the style file plain.mft for Metafont (or mplain.mft for Meta‐\nPost) is automatically used.\n\nThe mffilename, optional changefilename, and stylefilename files are searched for using\nthe MFINPUTS (for Metafont) or MPINPUTS (for MetaPost) and MFTINPUTS environment variables if\nyou have set them, or else the corresponding system defaults.\n\nThe output TeX file name is formed by using .tex in place of the extension of mffilename.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-change=",
                        "content": "Apply the change file changefilename to mffilename.\n"
                    },
                    {
                        "name": "-metapost",
                        "content": "Assume mffilename is a MetaPost source file (this is the default if mffilename has\nthe extension .mp).\n"
                    },
                    {
                        "name": "-style=",
                        "content": "Use the style file stylefilename instead of plain.mft (or mplain.mft);  this  option\ncan be given more than once.\n"
                    }
                ]
            },
            "FILES": {
                "content": "mftmac.tex\nTeX macros used by mft output.\n\nplain.mft, mplain.mft\nDefault style files.\n\ncmbase.mft\nStyle file for Computer Modern.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mf(1), weave(1).\nDonald  E. Knuth, Computer Modern Typefaces (Volume E of Computers and Typesetting), Addison-\nWesley, 1986, ISBN 0-201-13446-2.\nDonald E. Knuth et al., Metafontware.\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Donald E. Knuth wrote the program, and he ported it to Unix with the help  of  Pierre  MacKay\nand  the  Unix port of weave by Howard Trickey and Pavel Curtis.  The program is published in\nthe Metafontware technical report, available from the TeX Users Group.\n\n\n\nWeb2C 2022/dev                               27 May 2018                                      MFT(1)",
                "subsections": []
            }
        }
    }
}