summaryrefslogtreecommitdiff
path: root/doc/context/scripts/mkiv/mtxrun.man
blob: 4bd27c02b8cf16436786f8bda486137845691fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
.TH "mtxrun" "1" "01-01-2019" "version 1.33" "ConTeXt TDS Runner Tool"
.SH NAME
 mtxrun - ConTeXt TDS Runner Tool
.SH SYNOPSIS
.B mtxrun [
.I OPTIONS ...
.B ] [
.I FILENAMES
.B ]
.SH DESCRIPTION
.B ConTeXt TDS Runner Tool
.SH OPTIONS
.TP
.B --script
run an mtx script (lua prefered method) (--noquotes), no script gives list
.TP
.B --evaluate
run code passed on the commandline (between quotes) (=loop) (exit|quit aborts)
.TP
.B --execute
run a script or program (texmfstart method) (--noquotes)
.TP
.B --resolve
resolve prefixed arguments
.TP
.B --ctxlua
run internally (using preloaded libs)
.TP
.B --internal
run script using built in libraries (same as --ctxlua)
.TP
.B --locate
locate given filename in database (default) or system (--first --all --detail)
.TP
.B --tree=pathtotree
use given texmf tree (default file: setuptex.tmf)
.TP
.B --path=runpath
go to given path before execution
.TP
.B --ifchanged=filename
only execute when given file has changed (md checksum)
.TP
.B --iftouched=old,new
only execute when given file has changed (time stamp)
.TP
.B --makestubs
create stubs for (context related) scripts
.TP
.B --removestubs
remove stubs (context related) scripts
.TP
.B --stubpath=binpath
paths where stubs wil be written
.TP
.B --windows
create windows (mswin) stubs
.TP
.B --unix
create unix (linux) stubs
.TP
.B --verbose
give a bit more info
.TP
.B --trackers=list
enable given trackers
.TP
.B --progname=str
format or backend
.TP
.B --systeminfo=str
show current operating system, processor, etc
.TP
.B --edit
launch editor with found file
.TP
.B --launch
launch files like manuals, assumes os support (--all,--list)
.TP
.B --timedrun
run a script and time its run
.TP
.B --autogenerate
regenerate databases if needed (handy when used to run context in an editor)
.TP
.B --usekpse
use kpse as fallback (when no mkiv and cache installed, often slower)
.TP
.B --forcekpse
force using kpse (handy when no mkiv and cache installed but less functionality)
.TP
.B --prefixes
show supported prefixes
.TP
.B --generate
generate file database
.TP
.B --variables
show configuration variables
.TP
.B --configurations
show configuration order
.TP
.B --directives
show (known) directives
.TP
.B --trackers
show (known) trackers
.TP
.B --experiments
show (known) experiments
.TP
.B --expand-braces
expand complex variable
.TP
.B --resolve-path
expand variable (completely resolve paths)
.TP
.B --expand-path
expand variable (resolve paths)
.TP
.B --expand-var
expand variable (resolve references)
.TP
.B --show-path
show path expansion of ...
.TP
.B --var-value
report value of variable
.TP
.B --find-file
report file location
.TP
.B --find-path
report path of file
.TP
.B --pattern=string
filter variables
.SH AUTHOR
More information about ConTeXt and the tools that come with it can be found at:


.B "maillist:"
ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

.B "webpage:"
http://www.pragma-ade.nl / http://tex.aanhet.net

.B "wiki:"
http://contextgarden.net