| 1 |
.TH "mtx-context" "1" "01-01-2025" "version 1.05" "ConTeXt Process Management" |
| 2 |
.SH NAME |
| 3 |
mtx-context - ConTeXt Process Management |
| 4 |
.SH SYNOPSIS |
| 5 |
.B mtxrun --script context [ |
| 6 |
.I OPTIONS ... |
| 7 |
.B ] [ |
| 8 |
.I FILENAMES |
| 9 |
.B ] |
| 10 |
.SH DESCRIPTION |
| 11 |
.B ConTeXt Process Management |
| 12 |
.SH OPTIONS: BASIC |
| 13 |
.TP |
| 14 |
.B --run |
| 15 |
process (one or more) files (default action) |
| 16 |
.TP |
| 17 |
.B --make |
| 18 |
create context formats |
| 19 |
.TP |
| 20 |
.B --ctx=name |
| 21 |
use ctx file (process management specification) |
| 22 |
.TP |
| 23 |
.B --noctx |
| 24 |
ignore ctx directives and flags |
| 25 |
.TP |
| 26 |
.B --interface |
| 27 |
use specified user interface (default: en) |
| 28 |
.TP |
| 29 |
.B --autopdf |
| 30 |
close pdf file in viewer and start pdf viewer afterwards |
| 31 |
.TP |
| 32 |
.B --purge |
| 33 |
purge files either or not after a run (--pattern=...) |
| 34 |
.TP |
| 35 |
.B --purgeall |
| 36 |
purge all files either or not after a run (--pattern=...) |
| 37 |
.TP |
| 38 |
.B --usemodule=list |
| 39 |
load the given module or style, normally part of the distribution |
| 40 |
.TP |
| 41 |
.B --environment=list |
| 42 |
load the given environment file first (document styles) |
| 43 |
.TP |
| 44 |
.B --mode=list |
| 45 |
enable given the modes (conditional processing in styles) |
| 46 |
.TP |
| 47 |
.B --path=list |
| 48 |
also consult the given paths when files are looked for |
| 49 |
.TP |
| 50 |
.B --arguments=list |
| 51 |
set variables that can be consulted during a run (key/value pairs) |
| 52 |
.TP |
| 53 |
.B --randomseed=number |
| 54 |
set the randomseed |
| 55 |
.TP |
| 56 |
.B --result=name |
| 57 |
rename the resulting output to the given name |
| 58 |
.TP |
| 59 |
.B --trackers=list |
| 60 |
set tracker variables (show list with --showtrackers) |
| 61 |
.TP |
| 62 |
.B --directives=list |
| 63 |
set directive variables (show list with --showdirectives) |
| 64 |
.TP |
| 65 |
.B --silent=list |
| 66 |
disable logcategories (show list with --showlogcategories) |
| 67 |
.TP |
| 68 |
.B --strip |
| 69 |
strip Lua code (only meant for production where no errors are expected) |
| 70 |
.TP |
| 71 |
.B --errors=list |
| 72 |
show errors at the end of a run, quit when in list (also when --silent) |
| 73 |
.TP |
| 74 |
.B --htmlerrorpage |
| 75 |
generate html error page instead (optional: =scite) |
| 76 |
.TP |
| 77 |
.B --noconsole |
| 78 |
disable logging to the console (logfile only) |
| 79 |
.TP |
| 80 |
.B --nodummy |
| 81 |
don't create a dummy file (can confuse pdf viewers that keep file in view) |
| 82 |
.TP |
| 83 |
.B --purgeresult |
| 84 |
purge result file before run |
| 85 |
.TP |
| 86 |
.B --find=string |
| 87 |
search for the given pattern in the documentation sources |
| 88 |
.TP |
| 89 |
.B --forcexml |
| 90 |
force xml stub |
| 91 |
.TP |
| 92 |
.B --forcecld |
| 93 |
force cld (context lua document) stub |
| 94 |
.TP |
| 95 |
.B --forcelua |
| 96 |
force lua stub (like texlua) |
| 97 |
.TP |
| 98 |
.B --forcemp |
| 99 |
force mp stub |
| 100 |
.TP |
| 101 |
.B --arrange |
| 102 |
run extra imposition pass, given that the style sets up imposition |
| 103 |
.TP |
| 104 |
.B --noarrange |
| 105 |
ignore imposition specifications in the style |
| 106 |
.TP |
| 107 |
.B --pages |
| 108 |
report pagenumbers of names pages and list references (--page=... or --page=...) |
| 109 |
.TP |
| 110 |
.B --jit |
| 111 |
use luajittex with jit turned off (only use the faster virtual machine) |
| 112 |
.TP |
| 113 |
.B --jiton |
| 114 |
use luajittex with jit turned on (in most cases not faster, even slower) |
| 115 |
.TP |
| 116 |
.B --once |
| 117 |
only run once (no multipass data file is produced) |
| 118 |
.TP |
| 119 |
.B --runs |
| 120 |
process at most this many times |
| 121 |
.TP |
| 122 |
.B --forcedruns |
| 123 |
process this many times (permits for optimization trial runs) |
| 124 |
.TP |
| 125 |
.B --batchmode |
| 126 |
run without stopping and do not show messages on the console |
| 127 |
.TP |
| 128 |
.B --nonstopmode |
| 129 |
run without stopping |
| 130 |
.TP |
| 131 |
.B --nocompactfonts |
| 132 |
revert to less efficient (traditional) font scaling |
| 133 |
.TP |
| 134 |
.B --nosynctex |
| 135 |
never initializes synctex (for production runs) |
| 136 |
.TP |
| 137 |
.B --synctex |
| •138 |
run with synctex enabled (better use \\setupsynctex[state=start]) |
| 139 |
.TP |
| 140 |
.B --nodates |
| 141 |
omit runtime dates in pdf file (optional value: a number (1970 offset) or string "YYYY-MM-DD HH:MM") |
| 142 |
.TP |
| 143 |
.B --nocompression |
| 144 |
forcefully turns off compression in the backend |
| 145 |
.TP |
| 146 |
.B --trailerid |
| 147 |
alternative trailer id (or constant one) |
| 148 |
.TP |
| 149 |
.B --generate |
| 150 |
generate file database etc. (as luatools does) |
| 151 |
.TP |
| 152 |
.B --paranoid |
| 153 |
do not descend to .. and ../.. |
| 154 |
.TP |
| 155 |
.B --version |
| 156 |
report installed context version |
| 157 |
.TP |
| 158 |
.B --integrity |
| 159 |
report mismatch between binary and expectations |
| 160 |
.TP |
| 161 |
.B --global |
| 162 |
assume given file present elsewhere |
| 163 |
.TP |
| 164 |
.B --nofile |
| 165 |
use dummy file as jobname |
| 166 |
.TP |
| 167 |
.B --forceinput |
| 168 |
use this file as input file instead of the given one |
| 169 |
.TP |
| 170 |
.B --expert |
| 171 |
show some more options |
| 172 |
.SH OPTIONS: EXPERT |
| 173 |
.TP |
| 174 |
.B --touch |
| 175 |
update context version number (also provide --expert, optionally provide --basepath) |
| 176 |
.TP |
| 177 |
.B --nostatistics |
| 178 |
omit runtime statistics at the end of the run |
| 179 |
.TP |
| 180 |
.B --profile |
| 181 |
profile job (use: mtxrun --script profile --analyze) |
| 182 |
.TP |
| 183 |
.B --timing |
| 184 |
generate timing and statistics overview |
| 185 |
.TP |
| 186 |
.B --keeptuc |
| 187 |
keep previous tuc files (jobname-tuc-[run].tmp) |
| 188 |
.TP |
| 189 |
.B --keeppdf |
| 190 |
keep previous pdf files (jobname-pdf-keep.tmp) |
| 191 |
.TP |
| 192 |
.B --keeplog |
| 193 |
keep previous log files (jobname-log-[run].tmp) |
| 194 |
.TP |
| 195 |
.B --notuc |
| 196 |
don't write a tuc file |
| 197 |
.TP |
| 198 |
.B --lmtx |
| 199 |
force lmtx mode (when available) |
| 200 |
.TP |
| 201 |
.B --overloadmode=error|warning|0--6|255 |
| 202 |
enable csname overload checking |
| 203 |
.TP |
| 204 |
.B --extra=name |
| 205 |
process extra (mtx-context-... in distribution) |
| 206 |
.TP |
| 207 |
.B --extras |
| 208 |
show extras |
| 209 |
.TP |
| 210 |
.B --ownerpassword |
| 211 |
encrypt the (pdf) file using this master password |
| 212 |
.TP |
| 213 |
.B --userpassword |
| 214 |
use an additional password for opening the document |
| 215 |
.TP |
| 216 |
.B --permissions |
| 217 |
list of: print, modify, extract, add, fillin, assemble, quality |
| 218 |
.TP |
| 219 |
.B --wtpdf |
| 220 |
add an wtpdf conformance blob but best check first if it applies |
| 221 |
.SH OPTIONS: SPECIAL |
| 222 |
.TP |
| 223 |
.B --pdftex |
| 224 |
process file with texexec using pdftex |
| 225 |
.TP |
| 226 |
.B --xetex |
| 227 |
process file with texexec using xetex |
| 228 |
.TP |
| 229 |
.B --mkii |
| 230 |
process file with texexec |
| 231 |
.TP |
| 232 |
.B --pipe |
| 233 |
do not check for file and enter scroll mode (--dummyfile=whatever.tmp) |
| 234 |
.TP |
| 235 |
.B --parallel |
| 236 |
process multiple files at the same time (you can specify a number of processes, default: 8) |
| 237 |
.TP |
| 238 |
.B --parallellist |
| 239 |
process commands in this file (lines that start with 'context') |
| 240 |
.TP |
| 241 |
.B --sandbox |
| 242 |
process file in a limited environment |
| 243 |
.TP |
| 244 |
.B --addbinarypath |
| 245 |
prepend the (found) binarypath to runners |
| 246 |
.SH AUTHOR |
| 247 |
More information about ConTeXt and the tools that come with it can be found at: |
| 248 |
|
| 249 |
|
| 250 |
.B "maillist:" |
| 251 |
[email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context |
| 252 |
|
| 253 |
.B "webpage:" |
| 254 |
http://www.pragma-ade.nl / http://tex.aanhet.net |
| 255 |
|
| 256 |
.B "wiki:" |
| 257 |
http://contextgarden.net |