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