LATEXENCODE(1)
πΈ LATEXENCODE(1) β User Commands πΈ
okay so bestie, welcome to latexencode π
β¨ NAME β¨
latexencode β part of pylatexenc: simple LaTeX parser provider conversion to/from unicode π¦
π DESCRIPTION π
here's the vibe, the usage line, the whole thing, no cap:
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 [FILE ...]]
π positional arguments: π
FILEβ your input files! if you don't hand over any, she reads from standard input instead π«Ά
β optional arguments: β
--non-ascii-only--no-non-ascii-only
the option --non-ascii-only is saying: only nonascii characters get encoded into LaTeX sequences. and like, not characters like '$' β even though they might have a special LaTeX meaning. so rude of them to have meanings honestly π
--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 it gets concatenated in a longer string. one of'braces','braces-all','braces-almostall','braces-after-macro','none'. example, bestie: using choice'braces'we avoid the invalid replacement'a???b'->'a\tob'with instead'a{\to}b'. she ate that π--unknown-char-policy{keep,replace,ignore,fail} β how to deal with nonascii characters that have no known latex code equivalent π-q,--quietβ suppress warning messages π€«--versionβ show version information and exit β¨--helpβ show this help information and exit π
π AUTHORS π
pylatexenc was primarily written by Philippe Faist. iconic behavior, we love to see it π«Ά
π₯ SEE ALSO π₯
this script is part of pylatexenc. full documentation for the pylatexenc suite can be consulted at https://pylatexenc.readthedocs.io π
and that's the whole page, bestie!! this was latexencode 2.10, dated June 2021 β go encode some LaTeX, you got this, mwah ππ
π¦ where this page comes from
- debian bookworm: python3-pylatexenc 2.10-2 Β· MIT
- debian trixie: python3-pylatexenc 2.10-2 Β· MIT
- ubuntu jammy: python3-pylatexenc 2.10-2 Β· MIT
- ubuntu noble: python3-pylatexenc 2.10-2 Β· MIT
- ubuntu resolute: python3-pylatexenc 2.10-2build1 Β· MIT
- ubuntu stonking: python3-pylatexenc 2.10-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms