{
    "mode": "man",
    "parameter": "RST2ODT",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/RST2ODT/1/json",
    "generated": "2026-10-20T06:55:12Z",
    "synopsis": "rst2odt [options] [<source> [<destination>]]",
    "sections": {
        "NAME": {
            "content": "rst2odt  - convert reST documents to OpenDocument text (ODT) View document source.  Generated\non: 2023-11-30 11:16 UTC.  Generated by Docutils from reStructuredText source.\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "rst2odt [options] [<source> [<destination>]]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Generates OpenDocument/OpenOffice/ODF documents  from  standalone  reStructuredText  sources.\nReads  from <source> (default is stdin) and writes to <destination> (default is stdout).  See\nhttps://docutils.sourceforge.io/docs/user/config.html for a detailed settings reference.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "General Docutils Options",
                    "content": "--output=<destination>\nOutput destination name. Obsoletes the  <destination>  positional  argument.  Default:\nNone (stdout).\n\n--title=<title>\nSpecify the document title as metadata.\n\n--generator, -g\nInclude a \"Generated by Docutils\" credit and link.\n"
                },
                {
                    "name": "--no-generator",
                    "content": "Do not include a generator credit.\n\n--date, -d\nInclude the date at the end of the document (UTC).\n\n--time, -t\nInclude the time & date (UTC).\n",
                    "long": "--no-generator"
                },
                {
                    "name": "--no-datestamp",
                    "content": "Do not include a datestamp of any kind.\n\n--source-link, -s\nInclude a \"View document source\" link.\n\n--source-url=<URL>\nUse <URL> for a source link; implies --source-link.\n",
                    "long": "--no-datestamp"
                },
                {
                    "name": "--no-source-link",
                    "content": "Do not include a \"View document source\" link.\n",
                    "long": "--no-source-link"
                },
                {
                    "name": "--toc-entry-backlinks",
                    "content": "Link from section headers to TOC entries.  (default)\n",
                    "long": "--toc-entry-backlinks"
                },
                {
                    "name": "--toc-top-backlinks",
                    "content": "Link from section headers to the top of the TOC.\n",
                    "long": "--toc-top-backlinks"
                },
                {
                    "name": "--no-toc-backlinks",
                    "content": "Disable backlinks to the table of contents.\n",
                    "long": "--no-toc-backlinks"
                },
                {
                    "name": "--footnote-backlinks",
                    "content": "Link from footnotes/citations to references. (default)\n",
                    "long": "--footnote-backlinks"
                },
                {
                    "name": "--no-footnote-backlinks",
                    "content": "Disable backlinks from footnotes and citations.\n",
                    "long": "--no-footnote-backlinks"
                },
                {
                    "name": "--section-numbering",
                    "content": "Enable section numbering by Docutils.  (default)\n",
                    "long": "--section-numbering"
                },
                {
                    "name": "--no-section-numbering",
                    "content": "Disable section numbering by Docutils.\n",
                    "long": "--no-section-numbering"
                },
                {
                    "name": "--strip-comments",
                    "content": "Remove comment elements from the document tree.\n",
                    "long": "--strip-comments"
                },
                {
                    "name": "--leave-comments",
                    "content": "Leave comment elements in the document tree. (default)\n\n--strip-elements-with-class=<class>\nRemove  all  elements  with  classes=\"<class>\" from the document tree. Warning: poten‐\ntially dangerous; use with caution. (Multiple-use option.)\n\n--strip-class=<class>\nRemove all classes=\"<class>\" attributes from elements in the document  tree.  Warning:\npotentially dangerous; use with caution. (Multiple-use option.)\n\n--report=<level>, -r <level>\nReport  system  messages  at or higher than <level>: \"info\" or \"1\", \"warning\"/\"2\" (de‐\nfault), \"error\"/\"3\", \"severe\"/\"4\", \"none\"/\"5\"\n\n--verbose, -v\nReport all system messages.  (Same as \"--report=1\".)\n\n--quiet, -q\nReport no system messages.  (Same as \"--report=5\".)\n\n--halt=<level>\nHalt execution at system messages at or above <level>.  Levels as  in  --report.   De‐\nfault: 4 (severe).\n",
                    "long": "--leave-comments"
                },
                {
                    "name": "--strict",
                    "content": "Halt at the slightest problem.  Same as \"--halt=info\".\n\n--exit-status=<level>\nEnable  a  non-zero  exit  status for non-halting system messages at or above <level>.\nDefault: 5 (disabled).\n",
                    "long": "--strict"
                },
                {
                    "name": "--debug",
                    "content": "Enable debug-level system messages and diagnostics.\n",
                    "long": "--debug"
                },
                {
                    "name": "--no-debug",
                    "content": "Disable debug output.  (default)\n\n--warnings=<file>\nSend the output of system messages to <file>.\n",
                    "long": "--no-debug"
                },
                {
                    "name": "--traceback",
                    "content": "Enable Python tracebacks when Docutils is halted.\n",
                    "long": "--traceback"
                },
                {
                    "name": "--no-traceback",
                    "content": "Disable Python tracebacks.  (default)\n\n--input-encoding=<name[:handler]>, -i <name[:handler]>\nSpecify the encoding and  optionally  the  error  handler  of  input  text.   Default:\n<auto-detect>:strict.\n\n--input-encoding-error-handler=INPUTENCODINGERRORHANDLER\nSpecify  the  error  handler for undecodable characters.  Choices: \"strict\" (default),\n\"ignore\", and \"replace\".\n\n--output-encoding=<name[:handler]>, -o <name[:handler]>\nSpecify the text encoding and optionally  the  error  handler  for  output.   Default:\nutf-8:strict.\n\n--output-encoding-error-handler=OUTPUTENCODINGERRORHANDLER\nSpecify error handler for unencodable output characters; \"strict\" (default), \"ignore\",\n\"replace\", \"xmlcharrefreplace\", \"backslashreplace\".\n\n--error-encoding=<name[:handler]>, -e <name[:handler]>\nSpecify text encoding and optionally error handler for error output.  Default text en‐\ncoding: system encoding.  Default error handler: backslashreplace.\n\n--error-encoding-error-handler=ERRORENCODINGERRORHANDLER\nSpecify  the error handler for unencodable characters in error output.  Default: back‐\nslashreplace.\n\n--language=<name>, -l <name>\nSpecify the language (as BCP 47 language tag).  Default: en.\n\n--record-dependencies=<file>\nWrite output file dependencies to <file>.\n\n--config=<file>\nRead configuration settings from <file>, if it exists.\n\n--version, -V\nShow this program's version number and exit.\n\n--help, -h\nShow this help message and exit.\n",
                    "long": "--no-traceback"
                },
                {
                    "name": "Generic Parser Options",
                    "content": ""
                },
                {
                    "name": "--no-file-insertion",
                    "content": "Disable directives that insert the contents of  an  external  file;  replaced  with  a\n\"warning\" system message.\n",
                    "long": "--no-file-insertion"
                },
                {
                    "name": "--file-insertion-enabled",
                    "content": "Enable directives that insert the contents of an external file. (default)\n",
                    "long": "--file-insertion-enabled"
                },
                {
                    "name": "--no-raw",
                    "content": "Disable the \"raw\" directive; replaced with a \"warning\" system message.\n",
                    "long": "--no-raw"
                },
                {
                    "name": "--raw-enabled",
                    "content": "Enable the \"raw\" directive. (default)\n\n--line-length-limit=<length>\nMaximal number of characters in an input line. Default 10 000.\n",
                    "long": "--raw-enabled"
                },
                {
                    "name": "reStructuredText Parser Options",
                    "content": ""
                },
                {
                    "name": "--pep-references",
                    "content": "Recognize and link to standalone PEP references (like \"PEP 258\").\n\n--pep-base-url=<URL>\nBase URL for PEP references (default \"https://peps.python.org/\").\n\n--pep-file-url-template=<URL>\nTemplate for PEP file part of URL. (default \"pep-%04d\")\n",
                    "long": "--pep-references"
                },
                {
                    "name": "--rfc-references",
                    "content": "Recognize and link to standalone RFC references (like \"RFC 822\").\n\n--rfc-base-url=<URL>\nBase URL for RFC references (default \"https://tools.ietf.org/html/\").\n\n--tab-width=<width>\nSet number of spaces for tab expansion (default 8).\n",
                    "long": "--rfc-references"
                },
                {
                    "name": "--trim-footnote-reference-space",
                    "content": "Remove spaces before footnote references.\n",
                    "long": "--trim-footnote-reference-space"
                },
                {
                    "name": "--leave-footnote-reference-space",
                    "content": "Leave spaces before footnote references.\n\n--syntax-highlight=<format>\nToken  name  set for parsing code with Pygments: one of \"long\", \"short\", or \"none\" (no\nparsing). Default is \"long\".\n\n--smart-quotes=<yes/no/alt>\nChange straight quotation marks to typographic form: one of  \"yes\",  \"no\",  \"alt[erna‐\ntive]\" (default \"no\").\n\n--smartquotes-locales=<language:quotes[,language:quotes,...]>\nCharacters to use as \"smart quotes\" for <language>.\n",
                    "long": "--leave-footnote-reference-space"
                },
                {
                    "name": "--word-level-inline-markup",
                    "content": "Inline  markup  recognized  at word boundaries only (adjacent to punctuation or white‐\nspace). Force character-level inline markup recognition with \"\" (backslash  +  space).\nDefault.\n",
                    "long": "--word-level-inline-markup"
                },
                {
                    "name": "--character-level-inline-markup",
                    "content": "Inline markup recognized anywhere, regardless of surrounding characters. Backslash-es‐\ncapes  must  be  used to avoid unwanted markup recognition. Useful for East Asian lan‐\nguages. Experimental.\n",
                    "long": "--character-level-inline-markup"
                },
                {
                    "name": "Standalone Reader Options",
                    "content": ""
                },
                {
                    "name": "--no-doc-title",
                    "content": "Disable the promotion of a lone top-level section title to document title (and  subse‐\nquent section title to document subtitle promotion; enabled by default).\n",
                    "long": "--no-doc-title"
                },
                {
                    "name": "--no-doc-info",
                    "content": "Disable the bibliographic field list transform (enabled by default).\n",
                    "long": "--no-doc-info"
                },
                {
                    "name": "--section-subtitles",
                    "content": "Activate the promotion of lone subsection titles to section subtitles (disabled by de‐\nfault).\n",
                    "long": "--section-subtitles"
                },
                {
                    "name": "--no-section-subtitles",
                    "content": "Deactivate the promotion of lone subsection titles.\n",
                    "long": "--no-section-subtitles"
                },
                {
                    "name": "ODF-Specific Options",
                    "content": "--stylesheet=STYLESHEET\nSpecify a stylesheet.  Default: \"/usr/share/docutils/writers/odfodt/styles.odt\"\n\n--odf-config-file=<file>\nSpecify a configuration/mapping file relative to the current working directory for ad‐\nditional  ODF options.  In particular, this file may contain a section named \"Formats\"\nthat maps default style names to names to be used in the resulting output file  allow‐\ning for adhering to external standards. For more info and the format of the configura‐\ntion/mapping file, see the odtwriter doc.\n"
                },
                {
                    "name": "--cloak-email-addresses",
                    "content": "Obfuscate email addresses to confuse harvesters while still keeping email links usable\nwith standards- compliant browsers.\n",
                    "long": "--cloak-email-addresses"
                },
                {
                    "name": "--no-cloak-email-addresses",
                    "content": "Do not obfuscate email addresses.\n\n--table-border-thickness=TABLEBORDERTHICKNESS\nSpecify the thickness of table borders in thousands of a cm.  Default is 35.\n",
                    "long": "--no-cloak-email-addresses"
                },
                {
                    "name": "--add-syntax-highlighting",
                    "content": "Add syntax highlighting in literal code blocks.\n",
                    "long": "--add-syntax-highlighting"
                },
                {
                    "name": "--no-syntax-highlighting",
                    "content": "Do not add syntax highlighting in literal code blocks.  (default)\n",
                    "long": "--no-syntax-highlighting"
                },
                {
                    "name": "--create-sections",
                    "content": "Create sections for headers.  (default)\n",
                    "long": "--create-sections"
                },
                {
                    "name": "--no-sections",
                    "content": "Do not create sections for headers.\n",
                    "long": "--no-sections"
                },
                {
                    "name": "--create-links",
                    "content": "Create links.\n",
                    "long": "--create-links"
                },
                {
                    "name": "--no-links",
                    "content": "Do not create links.  (default)\n",
                    "long": "--no-links"
                },
                {
                    "name": "--endnotes-end-doc",
                    "content": "Generate endnotes at end of document, not footnotes at bottom of page.\n",
                    "long": "--endnotes-end-doc"
                },
                {
                    "name": "--no-endnotes-end-doc",
                    "content": "Generate footnotes at bottom of page, not endnotes at end of document. (default)\n",
                    "long": "--no-endnotes-end-doc"
                },
                {
                    "name": "--generate-list-toc",
                    "content": "Generate a bullet list table of contents, not an ODF/oowriter table of contents.\n",
                    "long": "--generate-list-toc"
                },
                {
                    "name": "--generate-oowriter-toc",
                    "content": "Generate an ODF/oowriter table of contents, not a bullet list. (default)\n\n--custom-odt-header=CUSTOMHEADER\nSpecify  the  contents of an custom header line.  See odfodt writer documentation for\ndetails about special field character sequences.\n\n--custom-odt-footer=CUSTOMFOOTER\nSpecify the contents of an custom footer line.  See odfodt writer  documentation  for\ndetails about special field character sequences.\n\n\nRST2ODT(1)",
                    "long": "--generate-oowriter-toc"
                }
            ]
        }
    },
    "summary": "rst2odt  - convert reST documents to OpenDocument text (ODT) View document source.  Generated on: 2023-11-30 11:16 UTC.  Generated by Docutils from reStructuredText source.",
    "flags": [
        {
            "flag": "",
            "long": "--no-generator",
            "arg": null,
            "description": "Do not include a generator credit. --date, -d Include the date at the end of the document (UTC). --time, -t Include the time & date (UTC)."
        },
        {
            "flag": "",
            "long": "--no-datestamp",
            "arg": null,
            "description": "Do not include a datestamp of any kind. --source-link, -s Include a \"View document source\" link. --source-url=<URL> Use <URL> for a source link; implies --source-link."
        },
        {
            "flag": "",
            "long": "--no-source-link",
            "arg": null,
            "description": "Do not include a \"View document source\" link."
        },
        {
            "flag": "",
            "long": "--toc-entry-backlinks",
            "arg": null,
            "description": "Link from section headers to TOC entries. (default)"
        },
        {
            "flag": "",
            "long": "--toc-top-backlinks",
            "arg": null,
            "description": "Link from section headers to the top of the TOC."
        },
        {
            "flag": "",
            "long": "--no-toc-backlinks",
            "arg": null,
            "description": "Disable backlinks to the table of contents."
        },
        {
            "flag": "",
            "long": "--footnote-backlinks",
            "arg": null,
            "description": "Link from footnotes/citations to references. (default)"
        },
        {
            "flag": "",
            "long": "--no-footnote-backlinks",
            "arg": null,
            "description": "Disable backlinks from footnotes and citations."
        },
        {
            "flag": "",
            "long": "--section-numbering",
            "arg": null,
            "description": "Enable section numbering by Docutils. (default)"
        },
        {
            "flag": "",
            "long": "--no-section-numbering",
            "arg": null,
            "description": "Disable section numbering by Docutils."
        },
        {
            "flag": "",
            "long": "--strip-comments",
            "arg": null,
            "description": "Remove comment elements from the document tree."
        },
        {
            "flag": "",
            "long": "--leave-comments",
            "arg": null,
            "description": "Leave comment elements in the document tree. (default) --strip-elements-with-class=<class> Remove all elements with classes=\"<class>\" from the document tree. Warning: poten‐ tially dangerous; use with caution. (Multiple-use option.) --strip-class=<class> Remove all classes=\"<class>\" attributes from elements in the document tree. Warning: potentially dangerous; use with caution. (Multiple-use option.) --report=<level>, -r <level> Report system messages at or higher than <level>: \"info\" or \"1\", \"warning\"/\"2\" (de‐ fault), \"error\"/\"3\", \"severe\"/\"4\", \"none\"/\"5\" --verbose, -v Report all system messages. (Same as \"--report=1\".) --quiet, -q Report no system messages. (Same as \"--report=5\".) --halt=<level> Halt execution at system messages at or above <level>. Levels as in --report. De‐ fault: 4 (severe)."
        },
        {
            "flag": "",
            "long": "--strict",
            "arg": null,
            "description": "Halt at the slightest problem. Same as \"--halt=info\". --exit-status=<level> Enable a non-zero exit status for non-halting system messages at or above <level>. Default: 5 (disabled)."
        },
        {
            "flag": "",
            "long": "--debug",
            "arg": null,
            "description": "Enable debug-level system messages and diagnostics."
        },
        {
            "flag": "",
            "long": "--no-debug",
            "arg": null,
            "description": "Disable debug output. (default) --warnings=<file> Send the output of system messages to <file>."
        },
        {
            "flag": "",
            "long": "--traceback",
            "arg": null,
            "description": "Enable Python tracebacks when Docutils is halted."
        },
        {
            "flag": "",
            "long": "--no-traceback",
            "arg": null,
            "description": "Disable Python tracebacks. (default) --input-encoding=<name[:handler]>, -i <name[:handler]> Specify the encoding and optionally the error handler of input text. Default: <auto-detect>:strict. --input-encoding-error-handler=INPUTENCODINGERRORHANDLER Specify the error handler for undecodable characters. Choices: \"strict\" (default), \"ignore\", and \"replace\". --output-encoding=<name[:handler]>, -o <name[:handler]> Specify the text encoding and optionally the error handler for output. Default: utf-8:strict. --output-encoding-error-handler=OUTPUTENCODINGERRORHANDLER Specify error handler for unencodable output characters; \"strict\" (default), \"ignore\", \"replace\", \"xmlcharrefreplace\", \"backslashreplace\". --error-encoding=<name[:handler]>, -e <name[:handler]> Specify text encoding and optionally error handler for error output. Default text en‐ coding: system encoding. Default error handler: backslashreplace. --error-encoding-error-handler=ERRORENCODINGERRORHANDLER Specify the error handler for unencodable characters in error output. Default: back‐ slashreplace. --language=<name>, -l <name> Specify the language (as BCP 47 language tag). Default: en. --record-dependencies=<file> Write output file dependencies to <file>. --config=<file> Read configuration settings from <file>, if it exists. --version, -V Show this program's version number and exit. --help, -h Show this help message and exit."
        },
        {
            "flag": "",
            "long": "--no-file-insertion",
            "arg": null,
            "description": "Disable directives that insert the contents of an external file; replaced with a \"warning\" system message."
        },
        {
            "flag": "",
            "long": "--file-insertion-enabled",
            "arg": null,
            "description": "Enable directives that insert the contents of an external file. (default)"
        },
        {
            "flag": "",
            "long": "--no-raw",
            "arg": null,
            "description": "Disable the \"raw\" directive; replaced with a \"warning\" system message."
        },
        {
            "flag": "",
            "long": "--raw-enabled",
            "arg": null,
            "description": "Enable the \"raw\" directive. (default) --line-length-limit=<length> Maximal number of characters in an input line. Default 10 000."
        },
        {
            "flag": "",
            "long": "--pep-references",
            "arg": null,
            "description": "Recognize and link to standalone PEP references (like \"PEP 258\"). --pep-base-url=<URL> Base URL for PEP references (default \"https://peps.python.org/\"). --pep-file-url-template=<URL> Template for PEP file part of URL. (default \"pep-%04d\")"
        },
        {
            "flag": "",
            "long": "--rfc-references",
            "arg": null,
            "description": "Recognize and link to standalone RFC references (like \"RFC 822\"). --rfc-base-url=<URL> Base URL for RFC references (default \"https://tools.ietf.org/html/\"). --tab-width=<width> Set number of spaces for tab expansion (default 8)."
        },
        {
            "flag": "",
            "long": "--trim-footnote-reference-space",
            "arg": null,
            "description": "Remove spaces before footnote references."
        },
        {
            "flag": "",
            "long": "--leave-footnote-reference-space",
            "arg": null,
            "description": "Leave spaces before footnote references. --syntax-highlight=<format> Token name set for parsing code with Pygments: one of \"long\", \"short\", or \"none\" (no parsing). Default is \"long\". --smart-quotes=<yes/no/alt> Change straight quotation marks to typographic form: one of \"yes\", \"no\", \"alt[erna‐ tive]\" (default \"no\"). --smartquotes-locales=<language:quotes[,language:quotes,...]> Characters to use as \"smart quotes\" for <language>."
        },
        {
            "flag": "",
            "long": "--word-level-inline-markup",
            "arg": null,
            "description": "Inline markup recognized at word boundaries only (adjacent to punctuation or white‐ space). Force character-level inline markup recognition with \"\" (backslash + space). Default."
        },
        {
            "flag": "",
            "long": "--character-level-inline-markup",
            "arg": null,
            "description": "Inline markup recognized anywhere, regardless of surrounding characters. Backslash-es‐ capes must be used to avoid unwanted markup recognition. Useful for East Asian lan‐ guages. Experimental."
        },
        {
            "flag": "",
            "long": "--no-doc-title",
            "arg": null,
            "description": "Disable the promotion of a lone top-level section title to document title (and subse‐ quent section title to document subtitle promotion; enabled by default)."
        },
        {
            "flag": "",
            "long": "--no-doc-info",
            "arg": null,
            "description": "Disable the bibliographic field list transform (enabled by default)."
        },
        {
            "flag": "",
            "long": "--section-subtitles",
            "arg": null,
            "description": "Activate the promotion of lone subsection titles to section subtitles (disabled by de‐ fault)."
        },
        {
            "flag": "",
            "long": "--no-section-subtitles",
            "arg": null,
            "description": "Deactivate the promotion of lone subsection titles."
        },
        {
            "flag": "",
            "long": "--cloak-email-addresses",
            "arg": null,
            "description": "Obfuscate email addresses to confuse harvesters while still keeping email links usable with standards- compliant browsers."
        },
        {
            "flag": "",
            "long": "--no-cloak-email-addresses",
            "arg": null,
            "description": "Do not obfuscate email addresses. --table-border-thickness=TABLEBORDERTHICKNESS Specify the thickness of table borders in thousands of a cm. Default is 35."
        },
        {
            "flag": "",
            "long": "--add-syntax-highlighting",
            "arg": null,
            "description": "Add syntax highlighting in literal code blocks."
        },
        {
            "flag": "",
            "long": "--no-syntax-highlighting",
            "arg": null,
            "description": "Do not add syntax highlighting in literal code blocks. (default)"
        },
        {
            "flag": "",
            "long": "--create-sections",
            "arg": null,
            "description": "Create sections for headers. (default)"
        },
        {
            "flag": "",
            "long": "--no-sections",
            "arg": null,
            "description": "Do not create sections for headers."
        },
        {
            "flag": "",
            "long": "--create-links",
            "arg": null,
            "description": "Create links."
        },
        {
            "flag": "",
            "long": "--no-links",
            "arg": null,
            "description": "Do not create links. (default)"
        },
        {
            "flag": "",
            "long": "--endnotes-end-doc",
            "arg": null,
            "description": "Generate endnotes at end of document, not footnotes at bottom of page."
        },
        {
            "flag": "",
            "long": "--no-endnotes-end-doc",
            "arg": null,
            "description": "Generate footnotes at bottom of page, not endnotes at end of document. (default)"
        },
        {
            "flag": "",
            "long": "--generate-list-toc",
            "arg": null,
            "description": "Generate a bullet list table of contents, not an ODF/oowriter table of contents."
        },
        {
            "flag": "",
            "long": "--generate-oowriter-toc",
            "arg": null,
            "description": "Generate an ODF/oowriter table of contents, not a bullet list. (default) --custom-odt-header=CUSTOMHEADER Specify the contents of an custom header line. See odfodt writer documentation for details about special field character sequences. --custom-odt-footer=CUSTOMFOOTER Specify the contents of an custom footer line. See odfodt writer documentation for details about special field character sequences. RST2ODT(1)"
        }
    ],
    "examples": [],
    "see_also": [],
    "tldr": {
        "source": "not_found",
        "examples": []
    }
}