mtxrun(1)
β¨ 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).exitorquitaborts 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:
- maillist:
ntg-context@ntg.nl/http://www.ntg.nl/mailman/listinfo/ntg-context - webpage:
http://www.pragma-ade.nl/http://tex.aanhet.net - wiki:
http://contextgarden.net
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
- fedora 44: texlive-context 12:svn78010-105.fc44 Β· GPL-1.0-or-later OR LPPL-1.3c
- fedora 44: texlive-context 12:svn78010-111.fc44 Β· GPL-1.0-or-later OR LPPL-1.3c
- opensuse-leap 16.0: texlive-context-doc 2025.221.svn74402-160000.3.1 Β· LPPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms