mtxrun(1)

πŸ“¦ version 2025.221.svn74241, in opensuse-leap 16.0

✨ mtxrun(1) β€” the ConTeXt TDS Runner Tool ✨

okay bestie, sit down, hydrate, because this is the tool. it's mtxrun, from the ConTeXt TDS Runner Tool family, and it's basically the group chat admin of your TeX installation. πŸ’…


🌸 SYNOPSIS 🌸

mtxrun [ OPTIONS ...  ] [ FILENAMES ]

πŸ¦‹ DESCRIPTION πŸ¦‹

ConTeXt TDS Runner Tool. that's it, that's the whole description, and honestly? iconic. it runs stuff. it resolves stuff. it finds stuff. it's giving main character energy for your whole texmf tree. 🫢


πŸ’– OPTIONS πŸ’–

  • --script β€” run an mtx script (lua prefered method) (--noquotes). no script given and it just gives you a list instead. a little menu, a little moment. ✨
  • --evaluate β€” run code passed on the commandline (between quotes) (=loop). exit or quit aborts it, so you can escape, no cap.
  • --execute β€” run a script or program (texmfstart method) (--noquotes).
  • --resolve β€” resolve prefixed arguments.
  • --ctxlua β€” run internally (using preloaded libs).
  • --internal β€” run script using built in libraries (same as --ctxlua). twins fr fr.
  • --locate β€” locate given filename in database (default) or system (--first --all --detail).
  • --tree=pathtotree β€” use given texmf tree (default file: setuptex.tmf).
  • --path=runpath β€” go to given path before execution. a lil pre-game stroll. πŸšΆβ€β™€οΈ
  • --ifchanged=filename β€” only execute when given file has changed (md checksum).
  • --iftouched=old,new β€” only execute when given file has changed (time stamp).
  • --makestubs β€” create stubs for (context related) scripts.
  • --removestubs β€” remove stubs (context related) scripts.
  • --stubpath=binpath β€” paths where stubs wil be written. (yes, "wil", we keep the typo, we respect the typo πŸŽ€)
  • --windows β€” create windows (mswin) stubs.
  • --unix β€” create unix (linux) stubs.
  • --addbinarypath β€” prepend the (found) binarypath to runners.
  • --verbose β€” give a bit more info. just a bit. a sprinkle. 🌈
  • --trackers=list β€” enable given trackers.
  • --progname=str β€” format or backend.
  • --systeminfo=str β€” show current operating system, processor, etc.
  • --edit β€” launch editor with found file.
  • --launch β€” launch files like manuals, assumes os support (--all, --list).
  • --timedrun β€” run a script and time its run. ⏱️ speedrun era.
  • --autogenerate β€” regenerate databases if needed (handy when used to run context in an editor).
  • --usekpse β€” use kpse as fallback (when no mkiv and cache installed, often slower).
  • --forcekpse β€” force using kpse (handy when no mkiv and cache installed but less functionality).
  • --prefixes β€” show supported prefixes.
  • --generate β€” generate file database.
  • --variables β€” show configuration variables.
  • --configurations β€” show configuration order.
  • --directives β€” show (known) directives.
  • --trackers β€” show (known) trackers.
  • --experiments β€” show (known) experiments.
  • --expand-braces β€” expand complex variable.
  • --resolve-path β€” expand variable (completely resolve paths).
  • --expand-path β€” expand variable (resolve paths).
  • --expand-var β€” expand variable (resolve references).
  • --show-path β€” show path expansion of ...
  • --var-value β€” report value of variable.
  • --find-file β€” report file location.
  • --find-path β€” report path of file.
  • --pattern=string β€” filter variables.
lowkey that's a lot of flags and every single one of them is here, bestie. no skipping, no summarising, we ate. πŸ‘‘

πŸŽ€ AUTHOR πŸŽ€

More information about ConTeXt and the tools that come with it can be found at:


and that's a wrap on mtxrun(1), the ConTeXt TDS Runner Tool page πŸ’œ this one's version 1.33, dated 01-01-2025 β€” happy new year to everyone except people who don't read the docs. go run something, bestie, you've got this. βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from