OS Manuals

/usr/bin/latex2text

Executable binaries for pylatexenc installed for python3.11

From py3.11-pylatexenc-bin 2.11-r1 (enterprise-packages), captured 2026-11-08 by running latex2text --help (exit 0). permalink

usage: latex2text [--code LATEX_CODE] [--tolerant-parsing] [--no-tolerant-parsing]
                  [--math-mode {text,with-delimiters,verbatim,remove}] [--fill-text [FILL_TEXT]]
                  [--keep-comments] [--no-keep-comments]
                  [--strict-latex-spaces {off,on,based-on-source,macros,except-in-equations}]
                  [--keep-braced-groups] [--no-keep-braced-groups]
                  [--keep-braced-groups-minlen KEEP_BRACED_GROUPS_MINLEN] [-q] [-v] [--version]
                  [--help]
                  [FILE ...]

Input options:
  --code LATEX_CODE, -c LATEX_CODE
                        Convert the given LATEX_CODE to unicode text instead of reading from FILE
                        or standard input. You cannot specify FILEs if you use this option, and
                        any standard input is ignored.
  FILE                  Input files to read LaTeX code from. If no FILE(s) is/are specified, LaTeX
                        code is read from standard input unless --code is specified

LatexWalker options:
  --tolerant-parsing
  --no-tolerant-parsing
                        Tolerate syntax errors when parsing, and attempt to continue (default yes)

LatexNodes2Text options:
  --math-mode {text,with-delimiters,verbatim,remove}
                        How to handle chunks of math mode LaTeX code. 'text' = convert to text
                        like the rest; 'with-delimiters' = same as 'text' but retain the original
                        math mode delimiters; 'verbatim' = keep verbatim LaTeX code; 'remove' =
                        remove from input entirely
  --fill-text [FILL_TEXT]
                        Attempt to wrap text to the given width, or 80 columns if option is
                        specified with no argument
  --keep-comments
  --no-keep-comments    Keep LaTeX comments in text output (default no)
  --strict-latex-spaces {off,on,based-on-source,macros,except-in-equations}
                        How to handle whitespace. See documentation for the class
                        LatexNodes2Text().
  --keep-braced-groups
  --no-keep-braced-groups
                        Keep LaTeX {braced groups} in text output (default no)
  --keep-braced-groups-minlen KEEP_BRACED_GROUPS_MINLEN
                        Only apply --keep-braced-groups to groups that contain at least this many
                        characters

General options:
  -q, --quiet           Suppress warning messages
  -v, --verbose         Verbose output
  --version             Show version information and exit
  --help                Show this help information and exit
Options (14)
OptionDescriptionSource
--tolerant-parsinghelp
--no-tolerant-parsingTolerate syntax errors when parsing, and attempt to continue (default yes)help
--math-mode textHow to handle chunks of math mode LaTeX code.help
--fill-text FILL_TEXTAttempt to wrap text to the given width, or 80 columns if option is specified with no argumenthelp
--keep-commentshelp
--no-keep-commentsKeep LaTeX comments in text output (default no)help
--strict-latex-spaces offHow to handle whitespace.help
--keep-braced-groupshelp
--no-keep-braced-groupsKeep LaTeX {braced groups} in text output (default no)help
--keep-braced-groups-minlen KEEP_BRACED_GROUPS_MINLENOnly apply --keep-braced-groups to groups that contain at least this many charactershelp
-q, --quietSuppress warning messageshelp
-v, --verboseVerbose outputhelp
--versionShow version information and exithelp
--helpShow this help information and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.