{
    "content": [
        {
            "type": "text",
            "text": "# unrtf (man)\n\n## NAME\n\nUnRTF - converts document in RTF format to other formats\n\n## SYNOPSIS\n\nunrtf [options] [file...]\nOptions:  [--nopict]  [--noremap]  [-P configsearchpath]  [--html]  [--text] [--vt] [--rtf]\n[--latex] [--help] [--verbose] [--quiet] [--version] [-t tagsfile]\n\n## DESCRIPTION\n\nThe program unrtf is a converter from Rich Text Format (RTF) to a growing number of  document\nformats.   At  present  it  supports  Hypertext Markup Language (HTML), plain text, text with\nVT100 codes, LaTeX, and RTF itself.  It is possible to produce troff files with macro  calls;\nan  example configuration for troff and the mm macro package is provided.  All output formats\nexcept HTML are \"alpha\" i.e. limited and development has just begun.  However with HTML,  the\nprogram  supports  tables, fonts, hyperlinks, and paragraph alignment.  Font support includes\nface and size changes, as well as typical  attributes  such  as  italic,  bold,  underlining,\nstrikethrough,  smallcaps,  allcaps, expand, compress and both foreground and background col‐\nors.  Images are always stored to separate files in the current directory, or they can be ig‐\nnored.\n\n## TLDR\n\n> Convert RTF files to other file formats.\n\n- Convert an RTF file to HTML (default):\n  `unrtf {{path/to/file.rtf}}`\n- Convert an RTF file to plain ASCII:\n  `unrtf --text {{path/to/file.rtf}}`\n- Convert an RTF file to LaTeX:\n  `unrtf --latex {{path/to/file.rtf}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (6 subsections)\n- **FILES**\n- **WEBSITE**\n- **NOTES**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "unrtf",
        "section": "",
        "mode": "man",
        "summary": "UnRTF - converts document in RTF format to other formats",
        "synopsis": "unrtf [options] [file...]\nOptions:  [--nopict]  [--noremap]  [-P configsearchpath]  [--html]  [--text] [--vt] [--rtf]\n[--latex] [--help] [--verbose] [--quiet] [--version] [-t tagsfile]",
        "tldr_summary": "Convert RTF files to other file formats.",
        "tldr_examples": [
            {
                "description": "Convert an RTF file to HTML (default)",
                "command": "unrtf {{path/to/file.rtf}}"
            },
            {
                "description": "Convert an RTF file to plain ASCII",
                "command": "unrtf --text {{path/to/file.rtf}}"
            },
            {
                "description": "Convert an RTF file to LaTeX",
                "command": "unrtf --latex {{path/to/file.rtf}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--nopict",
                "arg": null,
                "description": "disables the automatic storing of embedded pictures to the current directory."
            },
            {
                "flag": "",
                "long": "--noremap",
                "arg": null,
                "description": "disables charset conversion (currently only works for 8-bit charsets). --html selects HTML output (default). --rtf selects RTF output. The resulting output will often be much smaller than the input. --text selects plain ASCII text output. --vt selects text output with VT100 escape codes."
            },
            {
                "flag": "",
                "long": "--latex",
                "arg": null,
                "description": "selects output of a LaTeX document."
            },
            {
                "flag": "",
                "long": "--verbose",
                "arg": null,
                "description": "prints additional information."
            },
            {
                "flag": "",
                "long": "--quiet",
                "arg": null,
                "description": "suppress output of leading comments"
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "prints the program version. -t tagsfile specifies the tags output configuration file to be used. The command \"unrtf -t html\" is functionally identical to \"unrtf --html\". The configuration files are a simple format. To change the behaviour of unrtf, a local copy of a system configuration file can be be made and edited. The most complete configuration file and hence the best starting point is /usr/share/unrtf/html.conf. -P configsearchpath specifies the directories in which the configuration file for the specified format will be sought. The path can be provided as a single directory or a list of colon separated directories. The default is /usr/share/unrtf where distributed output con‐ figuration files are installed."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "--nopict",
                        "lines": 2,
                        "long": "--nopict"
                    },
                    {
                        "name": "--noremap",
                        "lines": 10,
                        "long": "--noremap"
                    },
                    {
                        "name": "--latex",
                        "lines": 2,
                        "long": "--latex"
                    },
                    {
                        "name": "--verbose",
                        "lines": 2,
                        "long": "--verbose"
                    },
                    {
                        "name": "--quiet",
                        "lines": 2,
                        "long": "--quiet"
                    },
                    {
                        "name": "--version",
                        "lines": 15,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "WEBSITE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "UnRTF - converts document in RTF format to other formats\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "unrtf [options] [file...]\n\nOptions:  [--nopict]  [--noremap]  [-P configsearchpath]  [--html]  [--text] [--vt] [--rtf]\n[--latex] [--help] [--verbose] [--quiet] [--version] [-t tagsfile]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The program unrtf is a converter from Rich Text Format (RTF) to a growing number of  document\nformats.   At  present  it  supports  Hypertext Markup Language (HTML), plain text, text with\nVT100 codes, LaTeX, and RTF itself.  It is possible to produce troff files with macro  calls;\nan  example configuration for troff and the mm macro package is provided.  All output formats\nexcept HTML are \"alpha\" i.e. limited and development has just begun.  However with HTML,  the\nprogram  supports  tables, fonts, hyperlinks, and paragraph alignment.  Font support includes\nface and size changes, as well as typical  attributes  such  as  italic,  bold,  underlining,\nstrikethrough,  smallcaps,  allcaps, expand, compress and both foreground and background col‐\nors.  Images are always stored to separate files in the current directory, or they can be ig‐\nnored.\n\nStarting  with  version  0.21.0, all control of unrtf output is through runtime configuration\nfiles.  This makes it easy for users to fine-tune the output, and/or define new  output  for‐\nmats.   The  configuration  files  can be read from the distributed ones, or from user files,\nsearched for in the configsearchpath .  Note that the order of the -P and output  arguments\nis important.  The search path must be set before any argument that will load a configuration\nfile if that file is not in the standard place.\n\nCode page conversion is performed with the iconv(3) package.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "--nopict",
                        "content": "disables the automatic storing of embedded pictures to the current directory.\n",
                        "long": "--nopict"
                    },
                    {
                        "name": "--noremap",
                        "content": "disables charset conversion (currently only works for 8-bit charsets).\n\n--html selects HTML output (default).\n\n--rtf  selects RTF output.  The resulting output will often be much smaller than the input.\n\n--text selects plain ASCII text output.\n\n--vt   selects text output with VT100 escape codes.\n",
                        "long": "--noremap"
                    },
                    {
                        "name": "--latex",
                        "content": "selects output of a LaTeX document.\n",
                        "long": "--latex"
                    },
                    {
                        "name": "--verbose",
                        "content": "prints additional information.\n",
                        "long": "--verbose"
                    },
                    {
                        "name": "--quiet",
                        "content": "suppress output of leading comments\n",
                        "long": "--quiet"
                    },
                    {
                        "name": "--version",
                        "content": "prints the program version.\n\n-t tagsfile\nspecifies the tags output configuration file to be used.  The command \"unrtf -t  html\"\nis  functionally  identical  to  \"unrtf --html\".  The configuration files are a simple\nformat.  To change the behaviour of unrtf, a local copy of a system configuration file\ncan  be  be  made and edited.  The most complete configuration file and hence the best\nstarting point is /usr/share/unrtf/html.conf.\n\n-P configsearchpath\nspecifies the directories in which the configuration file  for  the  specified  format\nwill  be  sought.   The  path can be provided as a single directory or a list of colon\nseparated directories.  The default is /usr/share/unrtf where distributed output  con‐\nfiguration files are installed.\n",
                        "long": "--version"
                    }
                ]
            },
            "FILES": {
                "content": "/usr/share/unrtf/*.conf\n– run time output configuration files.\n\n/usr/share/unrtf/SYMBOL.charmap\n–  UTF  encoding  of  the SYMBOL font used in many RTF files.  Unfortunately the iconv\npackage does not include font encodings.  The format is identical to iconv  code  page\nfiles.\n",
                "subsections": []
            },
            "WEBSITE": {
                "content": "⟨http://www.gnu.org/software/unrtf/unrtf.html⟩\n",
                "subsections": []
            },
            "NOTES": {
                "content": "Report bugs in the program to http://savannah.gnu.org/projects/unrtf/\n\n\n\nGNU UnRTF 0.21.9                                  UNRTF(1)",
                "subsections": []
            }
        }
    }
}