mtx-context(1)
β¨ mtx-context β¨
okay bestie, so this is the manual page for mtx-context β aka ConTeXt Process Management π
it lives in the mtx-context(1) section of your man pages and it's literally the little engine that runs your ConTeXt documents. no cap.
πΈ NAME πΈ
mtx-context β ConTeXt Process Management π that's the whole vibe.
π SYNOPSIS π
mtxrun --script context [ OPTIONS ... ] [ FILENAMES ]
likeβ¦ you're calling it through mtxrun, using the context script, then you toss in whatever options you want and the files you want processed. simple as that π«Ά
π¦ DESCRIPTION π¦
ConTeXt Process Management β yes that's the official line and yes it's iconic. it runs the whole show: formats, files, passes, purges, the works. main character energy fr fr π
π OPTIONS: BASIC π
the everyday stuff. your bread and butter. your comfort options. π
--runβ process (one or more) files (default action). this is the default bestie, so if you don't say anything else, this is what happens β¨--makeβ create context formats π- *
--ctx=name*</> β use ctx file (process management specification) --noctxβ ignore ctx directives and flags π--interfaceβ use specified user interface (default:en)--autopdfβ close pdf file in viewer and start pdf viewer afterwards. cute lil automatic preview moment π¦--purgeβ purge files either or not after a run (--pattern=...)--purgeallβ purge all files either or not after a run (--pattern=...)- *
--usemodule=list* β load the given module or style, normally part of the distribution - *
--environment=list* β load the given environment file first (document styles) - *
--mode=list* β enable given the modes (conditional processing in styles) - *
--path=list* β also consult the given paths when files are looked for - *
--arguments=list* β set variables that can be consulted during a run (key/value pairs) - *
--randomseed=number* β set the randomseed π² - *
--result=name* β rename the resulting output to the given name - *
--trackers=list* β set tracker variables (show list with--showtrackers) - *
--directives=list* β set directive variables (show list with--showdirectives) - *
--silent=list* β disable logcatgories (show list with--showlogcategories) β yes, "logcatgories", that's what it says, we don't make the rules π --stripβ strip Lua code (only meant for production where no errors are expected)
β οΈ bestie, --strip is only meant for production where no errors are expected. don't be out here stripping in dev and then crying when you can't debug. π
- *
--errors=list* β show errors at the end of a run, quit when in list (also when--silent) --htmlerrorpageβ generate html error page instead (optional:=scite)--noconsoleβ disable logging to the console (logfile only)--nodummyβ don't create a dummy file (can confuse pdf viewers that keep file in view)--purgeresultβ purge result file before run--forcexmlβ force xml stub--forcecldβ force cld (context lua document) stub--forceluaβ force lua stub (liketexlua)--forcempβ force mp stub--arrangeβ run extra imposition pass, given that the style sets up imposition--noarrangeβ ignore imposition specifications in the style--pagesβ report pagenumbers of names pages and list references (--page=...or--page=...)--jitβ use luajittex with jit turned off (only use the faster virtual machine)--jitonβ use luajittex with jit turned on (in most cases not faster, even slower) π--onceβ only run once (no multipass data file is produced)--runsβ process at most this many times--forcedrunsβ process this many times (permits for optimization trial runs)--batchmodeβ run without stopping and do not show messages on the console--nonstopmodeβ run without stopping--nosynctexβ never initializes synctex (for production runs)--synctexβ run with synctex enabled (better useupsynctex[state=start])--nodatesβ omit runtime dates in pdf file (optional value: a number (this 1970 offset time) or string"YYYY-MM-DD HH:MM")--nocompressionβ forcefully turns off compression in the backend--traileridβ alternative trailer id (or constant one)--generateβ generate file database etc. (asluatoolsdoes)--paranoidβ do not descend to..and../..π--versionβ report installed context version--globalβ assume given file present elsewhere--nofileβ use dummy file as jobname
π₯ OPTIONS: EXPERT π₯
for when you're built different. the advanced girlies know. iykyk. π
--touchβ update context version number (also provide--expert, optionally provide--basepath)--nostatisticsβ omit runtime statistics at the end of the run--profileβ profile job (use:mtxrun --script profile --analyze)--timingβ generate timing and statistics overview--keeptucβ keep previous tuc files (jobname-tuc-[run].tmp)--keeppdfβ keep previous pdf files (jobname-pdf-keep.tmp)--keeplogβ keep previous log files (jobname-log-[run].tmp)--lmtxβ force lmtx mode (when available)--overloadmode=error|warning|0--6|255β enable csname overload checking- *
--extra=name* β process extra (mtx-context-...in distribution) --extrasβ show extras--ownerpasswordβ encrypt the (pdf) file using this master password π--userpasswordβ use an additional password for opening the document--permissionsβ list of:print,modify,extract,add,fillin,assemble,quality
π OPTIONS: SPECIAL π
the niche ones. the little side quests. obsessed honestly. π
--pdftexβ process file withtexexecusing pdftex--xetexβ process file withtexexecusing xetex--mkiiβ process file withtexexec--pipeβ do not check for file and enter scroll mode (--dummyfile=whatever.tmp)--sandboxβ process file in a limited environment--addbinarypathβ prepend the (found) binarypath to runners
π 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
like, go say hi, the community is literally so sweet π«Άβ¨
and that's the whole page bestie!! this one's version 1.04, dated 01-01-2023 β mwah, go compile something gorgeous πππ¦
π¦ where this page comes from
- fedora 43: texlive-context 11:svn66546-93.fc43 Β· GPL-1.0-or-later OR LPPL-1.3c
- fedora 43: texlive-context 11:svn66546-95.fc43.1 Β· GPL-1.0-or-later OR LPPL-1.3c
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms