mtx-tools(1)
π mtx-tools β Some File Related Goodies π
okay bestie, so this is mtx-tools(1) β the manual page for mtx-tools, aka Some File Related Goodies. yes that's literally the whole name. we love a mysterious queen who doesn't overexplain. π
It lives inside the ConTeXt toolchain (that's the mtxrun vibe, iykyk), and it's the little script you call when you want to do file-adjacent things β globbing, renaming, sniffing out weird unicode, that kind of slay.
β¨ SYNOPSIS β¨
mtxrun --script tools [ OPTIONS ... ] [ FILENAMES ]
so like β you run mtxrun with --script tools, toss in whatever OPTIONS you're feeling, and optionally hand over some FILENAMES. that's the whole summoning ritual. π
πΈ DESCRIPTION πΈ
Some File Related Goodies
(no for real, that's the description. the original said it and we're keeping it, no cap. the goods are file-related. the goods are good. that's the tea. π¦)
π OPTIONS π
one bullet per option, exactly like the original, in the exact same order. no skipping, no merging, no "we'll just do the important ones". every single one is here because every single one matters. π«Ά
--disarmutfbombβ removes the utf bomb if it's present. that's it. that's the job. defusing bomb behavior, we're so brave. π--forceβ remove indeed. like, actually go through with it. no hesitation era.--dirtoxmlβ globs a directory into xml. directory in, xml out. iconique. β¨--patternβ the glob pattern (default:*). so if you don't specify, it's grabbing everything, main character energy.--urlβ url attribute (no processing). it just gets labeled as a url attribute β no processing happens. don't expect it to do anything fancy, bestie, it's giving label-only. π--rootβ the root of the globbed path (default:.). your starting point. home base. π--outputβ output filename (console by default). if you don't say where it goes, it just yells at the console. classic.--recurseβ recurse into subdirecories. (yes, "subdirecories" β that's literally how it's spelled in the source, we're not touching it, it's part of the lore. π)--stripnameβ takes the pathpart of the given pattern. bye path, hi name. π--longnameβ sets name attributes to the full path name. long name, full name, all the name. π--downcaseβ lowercases names. lowercase era activated. π--showstringβ shows unicode characters in a given string. π--showfileβ shows unicode characters in a given file. same energy, but a file this time. π§--patternβ glob pattern (default:*). yep, it's listed again! the original repeats it, so we repeat it. β--recurseβ recurse into subdirecories. and this one's repeated too. the manual said it twice, so it stays twice. π--forceβ downcase indeed. and here's the third--force, but this time its meaning is "downcase indeed". so--forceis basically a hype-woman that makes whichever thing you asked for actually happen. π₯
π 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 the whole page, bestie. π this was version 1.01, dated 01-01-2025 β so like, new year new tools, and honestly? obsessed. go defuse a utf bomb for me. bye bestie, stay globbing π¦πβ¨
π¦ 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
- ubuntu resolute: context 2025.09.21.20251026+dfsg-1
- ubuntu stonking: context 2025.09.21.20251026+dfsg-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms