LATEXWALKER(1)

πŸŽ€ NAME πŸŽ€

hiii bestie πŸ’– meet latexwalker β€” section 1, User Commands (iykyk, that's the "you can literally just run this" section). She's part of pylatexenc, the simple LaTeX parser provider, and her whole thing is conversion to/from unicode. iconic behavior, honestly. πŸ‘‘


✨ DESCRIPTION ✨

okay so here's the usage, and I'm handing it to you exactly as it comes, no edits:

usage: latexwalker [--output-format FORMAT] [--json-indent NUMSPACES]
       [--json-compact] [--tolerant-parsing] [--no-tolerant-parsing]
       [-q] [-v] [--version] [--help] [--code LATEX_CODE] [FILE [FILE
       ...]]

that's a LOT of flags and she earned every one of them. let's break it down πŸ¦‹

🌸 positional arguments:

  • FILE β€” your input files!! πŸ“ name as many as you want. if you name none at all, she reads from standard input (the original says "stdandard" and honestly? typo queen, we respect the hustle πŸ’…).

πŸŽ€ optional arguments:

  • --output-format FORMAT β€” pick the output format for the node tree. your choices are "human" or "json". choose your fighter ✨
  • --json-indent NUMSPACES β€” the indentation in the JSON output; you tell her how many spaces go per indentation level.
  • --json-compact β€” output compact JSON. no extra air, just vibes.
  • --tolerant-parsing β€” okay so the original doesn't give this one its own little blurb, so I'm not gonna make one up, bestie 😭 it just shows up in the list.
  • --no-tolerant-parsing β€” tolerate syntax errors when parsing, and attempt to continue (default yes). that default lives on this bullet, fyi. 🫢
  • -q, --quiet β€” suppress warning messages. she'll keep it hush.
  • -v, --verbose β€” verbose output. she'll tell you EVERYTHING.
  • --version β€” show version information and exit.
  • --help β€” show this help information and exit.
  • --code LATEX_CODE, -c LATEX_CODE β€” convert the given LATEX_CODE to unicode text instead of reading from FILE or standard input. 🚨 important: you cannot specify FILEs if you use this option, and any standard input is ignored. she said pick a lane, babe.

πŸ‘‘ AUTHORS πŸ‘‘

pylatexenc was primarily written by Philippe Faist. thank you for your service, legend. 🫑


πŸ”— SEE ALSO πŸ”—


and that's the whole page, bestie!! 🌈 this was latexwalker 2.10, dated June 2021. go parse something pretty. mwah πŸ’‹πŸ’–