OS Manuals

/usr/bin/latexencode

Executable binaries for pylatexenc installed for python3.10

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

Also provided by 3 other package versions
usage: latexencode [--non-ascii-only] [--no-non-ascii-only]
                   [--replacement-latex-protection {braces,braces-all,braces-almost-all,braces-after-macro,none}]
                   [--unknown-char-policy {keep,replace,ignore,fail}] [-q] [--version] [--help]
                   [FILE ...]

positional arguments:
  FILE                  Input files (if none specified, read from stdandard input)

options:
  --non-ascii-only
  --no-non-ascii-only   The option --non-ascii-only specifies that only non-ascii characters are
                        to be encoded into LaTeX sequences, and not characters like '$' even
                        though they might have a special LaTeX meaning.
  --replacement-latex-protection {braces,braces-all,braces-almost-all,braces-after-macro,none}
                        How to protect replacement latex code from producing invalid latex code
                        when concatenated in a longer string. One of 'braces', 'braces-all',
                        'braces-almost-all', 'braces-after-macro', 'none'. Example: using choice
                        'braces' we avoid the invalid replacement 'a→b' -> 'a\tob' with instead
                        'a{\to}b'.
  --unknown-char-policy {keep,replace,ignore,fail}
                        How to deal with nonascii characters with no known latex code equivalent.
  -q, --quiet           Suppress warning messages
  --version             Show version information and exit
  --help                Show this help information and exit
Options (7)
OptionDescriptionSource
--non-ascii-onlyhelp
--no-non-ascii-onlyThe option --non-ascii-only specifies that only non-ascii characters are to be encoded into LaTeX sequences, and not characters like '$' even though they might have a special LaTeX meaning.help
--replacement-latex-protection bracesHow to protect replacement latex code from producing invalid latex code when concatenated in a longer string.help
--unknown-char-policy keepHow to deal with nonascii characters with no known latex code equivalent.help
-q, --quietSuppress warning messageshelp
--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.