| 1 |
.TH "mtxrun" "1" "01-01-2025" "version 1.33" "ConTeXt TDS Runner Tool" |
| 2 |
.SH NAME |
| 3 |
mtxrun - ConTeXt TDS Runner Tool |
| 4 |
.SH SYNOPSIS |
| 5 |
.B mtxrun [ |
| 6 |
.I OPTIONS ... |
| 7 |
.B ] [ |
| 8 |
.I FILENAMES |
| 9 |
.B ] |
| 10 |
.SH DESCRIPTION |
| 11 |
.B ConTeXt TDS Runner Tool |
| 12 |
.SH OPTIONS |
| 13 |
.TP |
| 14 |
.B --script |
| •15 |
run an mtx script (lua preferred method) (--noquotes), no script gives list |
| 16 |
.TP |
| 17 |
.B --evaluate |
| 18 |
run code passed on the commandline (between quotes) (=loop) (exit|quit aborts) |
| 19 |
.TP |
| 20 |
.B --execute |
| 21 |
run a script or program (texmfstart method) (--noquotes) |
| 22 |
.TP |
| 23 |
.B --direct |
| 24 |
run a program |
| 25 |
.TP |
| 26 |
.B --resolve |
| 27 |
resolve prefixed arguments |
| 28 |
.TP |
| 29 |
.B --ctxlua |
| 30 |
run internally (using preloaded libs) |
| 31 |
.TP |
| 32 |
.B --internal |
| 33 |
run script using built in libraries (same as --ctxlua) |
| 34 |
.TP |
| 35 |
.B --locate |
| 36 |
locate given filename in database (default) or system (--first --all --detail) |
| 37 |
.TP |
| 38 |
.B --tree=pathtotree |
| 39 |
use given texmf tree (default file: setuptex.tmf) |
| 40 |
.TP |
| 41 |
.B --path=runpath |
| 42 |
go to given path before execution |
| 43 |
.TP |
| 44 |
.B --ifchanged=filename |
| 45 |
only execute when given file has changed (md checksum) |
| 46 |
.TP |
| 47 |
.B --iftouched=old,new |
| 48 |
only execute when given file has changed (time stamp) |
| 49 |
.TP |
| 50 |
.B --makestubs |
| 51 |
create stubs for (context related) scripts |
| 52 |
.TP |
| 53 |
.B --removestubs |
| 54 |
remove stubs (context related) scripts |
| 55 |
.TP |
| 56 |
.B --stubpath=binpath |
| 57 |
paths where stubs wil be written |
| 58 |
.TP |
| 59 |
.B --windows |
| 60 |
create windows (mswin) stubs |
| 61 |
.TP |
| 62 |
.B --unix |
| 63 |
create unix (linux) stubs |
| 64 |
.TP |
| 65 |
.B --addbinarypath |
| 66 |
prepend the (found) binarypath to runners |
| 67 |
.TP |
| 68 |
.B --verbose |
| 69 |
give a bit more info |
| 70 |
.TP |
| 71 |
.B --trackers=list |
| 72 |
enable given trackers |
| 73 |
.TP |
| 74 |
.B --progname=str |
| 75 |
format or backend |
| 76 |
.TP |
| 77 |
.B --platform=str |
| 78 |
show platform as seen by script |
| 79 |
.TP |
| 80 |
.B --systeminfo=str |
| 81 |
show current operating system, processor, etc |
| 82 |
.TP |
| 83 |
.B --edit |
| 84 |
launch editor with found file |
| 85 |
.TP |
| 86 |
.B --launch |
| 87 |
launch files like manuals, assumes os support (--all,--list) |
| 88 |
.TP |
| 89 |
.B --associate |
| 90 |
launch files like manuals, assumes os support via suffix association |
| 91 |
.TP |
| 92 |
.B --timedrun |
| 93 |
run a script and time its run |
| 94 |
.TP |
| 95 |
.B --autogenerate |
| 96 |
regenerate databases if needed (handy when used to run context in an editor) |
| 97 |
.TP |
| 98 |
.B --usekpse |
| 99 |
use kpse as fallback (when no mkiv and cache installed, often slower) |
| 100 |
.TP |
| 101 |
.B --forcekpse |
| 102 |
force using kpse (handy when no mkiv and cache installed but less functionality) |
| 103 |
.TP |
| 104 |
.B --prefixes |
| 105 |
show supported prefixes |
| 106 |
.TP |
| 107 |
.B --generate |
| 108 |
generate file database |
| 109 |
.TP |
| 110 |
.B --variables |
| 111 |
show configuration variables |
| 112 |
.TP |
| 113 |
.B --configurations |
| 114 |
show configuration order |
| 115 |
.TP |
| 116 |
.B --directives |
| 117 |
show (known) directives |
| 118 |
.TP |
| 119 |
.B --trackers |
| 120 |
show (known) trackers |
| 121 |
.TP |
| 122 |
.B --experiments |
| 123 |
show (known) experiments |
| 124 |
.TP |
| 125 |
.B --expand-braces |
| 126 |
expand complex variable |
| 127 |
.TP |
| 128 |
.B --resolve-path |
| 129 |
expand variable (completely resolve paths) |
| 130 |
.TP |
| 131 |
.B --expand-path |
| 132 |
expand variable (resolve paths) |
| 133 |
.TP |
| 134 |
.B --expand-var |
| 135 |
expand variable (resolve references) |
| 136 |
.TP |
| 137 |
.B --show-path |
| 138 |
show path expansion of ... |
| 139 |
.TP |
| 140 |
.B --var-value |
| 141 |
report value of variable |
| 142 |
.TP |
| 143 |
.B --find-file |
| 144 |
report file location |
| 145 |
.TP |
| 146 |
.B --find-path |
| 147 |
report path of file |
| 148 |
.TP |
| 149 |
.B --format-path |
| 150 |
report path where format files end up |
| 151 |
.TP |
| 152 |
.B --pattern=string |
| 153 |
filter variables |
| 154 |
.TP |
| 155 |
.B --all=string |
| 156 |
report all (when applicable) |
| 157 |
.TP |
| 158 |
.B --format=string |
| 159 |
filter by file format (when applicable) |
| 160 |
.TP |
| 161 |
.B --selfclean=string |
| 162 |
remove libraries (maintainance) |
| 163 |
.TP |
| 164 |
.B --selfmerge=string |
| 165 |
embed libraries (maintainance) |
| 166 |
.TP |
| 167 |
.B --selfupdate=string |
| 168 |
move to bin path (maintainance) |
| 169 |
.TP |
| 170 |
.B --help=string |
| 171 |
show help info |
| 172 |
.TP |
| 173 |
.B --help=string |
| 174 |
show version info |
| 175 |
.TP |
| 176 |
.B --gethelp=string |
| 177 |
launch the given help info (--url) |
| 178 |
.SH AUTHOR |
| 179 |
More information about ConTeXt and the tools that come with it can be found at: |
| 180 |
|
| 181 |
|
| 182 |
.B "maillist:" |
| 183 |
[email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context |
| 184 |
|
| 185 |
.B "webpage:" |
| 186 |
http://www.pragma-ade.nl / http://tex.aanhet.net |
| 187 |
|
| 188 |
.B "wiki:" |
| 189 |
http://contextgarden.net |