Changes

Jump to navigation Jump to search
216 bytes added ,  12:54, 7 June 2013
Split context script out into own article
mtxrun is a helper script for ConTeXt and its tree. There are goodies stored in sub__NOTOC__ <!-scripts in <tt>tex/texmf-context/scripts/context/lua</tt> in your ConTeXt directory. You can use e.g. <tt>mtxtable serves as TOC --interface.lua</tt> like so:
<tt>mtxrun</tt> is a helper script for all sorts of ConTeXt-related things, from individual runs to managing the installation tree. It is located at <tt>bin/mtxrun</tt> in the ConTeXt directory; that file is actually a merge of the scripts stored in <tt>tex/texmf-context/scripts/context/lua</tt>.  One can explicitly invoke the function of one of the scripts, e.g. <tt>mtx-''script''.lua</tt>, like so.  mtxrun --script interface ''script'' ...
Try, especially,
mtxrun --script interface ''script'' --help
to see the list of that script's options.
== See Also ==
* [[first-setup.sh]]
 
== Table of Contents ==
{| class="wikitable"
! Script !! Description
|-
| [[#babel|babel]]
| Babel Input To UTF Conversion 1.20
|-
| [[#base|base]]
| ConTeXt TDS Management Tool 1.35 (aka luatools)
|-
| [[#cache|cache]]
| ConTeXt & MetaTeX Cache Management 0.10
|-
| [[#chars|chars]]
| MkII Character Table Generators 0.10
|-
| [[#check|check]]
| Basic ConTeXt Syntax Checking 0.10
|-
| [[#colors|colors]]
| ConTeXt Color Management 0.10
|-
| [[#context|context]]
| ConTeXt Process Management 0.60
|-
| [[#convert|convert]]
| ConTeXT Graphic Conversion Helpers 0.10
|-
| [[#epub|epub]]
| ConTeXt EPUB Helpers 0.12
|-
| [[#fcd|fcd]]
| Fast Directory Change
|-
| [[#flac|flac]]
| ConTeXt Flac Helpers 0.10
|-
| [[#fonts|fonts]]
| ConTeXt Font Database Management 0.21
|-
| [[#grep|grep]]
| Simple Grepper 0.10
Patterns are lua patterns and need to be escaped accordingly.
|-
| [[#interface|interface]]
| ConTeXt Interface Related Goodies 0.13
|-
| [[#metapost|metapost]]
| MetaPost to PDF processor 0.10
|-
| [[#modules|modules]]
| ConTeXt Module Documentation Generators 1.00
|-
| [[#package|package]]
| Distribution Related Goodies 0.10
|-
| [[#patterns|patterns]]
| ConTeXt Pattern File Management 0.20
|-
| [[#pdf|pdf]]
| ConTeXt PDF Helpers 0.10
|-
| [[#profile|profile]]
| ConTeXt MkIV LuaTeX Profiler 1.00
|-
| [[#rsync|rsync]]
| Rsync Helpers 0.10
|-
| [[#scite|scite]]
| Scite Helper Script 1.00
|-
| [[#server-ctx-fonttest|server-ctx-fonttest]]
|
|-
| [[#server-ctx-help|server-ctx-help]]
|
|-
| [[#server-ctx-startup|server-ctx-startup]]
|
|-
| [[#server|server]]
| Simple Webserver For Helpers 0.10
|-
| [[#texworks|texworks]]
| TeXworks Startup Script 1.00
|-
| [[#timing|timing]]
|
|-
| [[#tools|tools]]
| Some File Related Goodies 1.01
|-
| [[#unzip|unzip]]
| Simple Unzipper 0.10
|-
| [[#update|update]]
| ConTeXt Minimals Updater 0.30
|-
| [[#watch|watch]]
| ConTeXt Request Watchdog 1.00
|-
|}
== babel ==
== context ==
ConTeXt Process Management 0.60  --run process (one or more) files (default action) --make create context formats --ctx=name use ctx file (process management specification) --interface use specified user interface (default: en) --autopdf close pdf file in viewer and start pdf viewer afterwards --purge(all) purge files either or not after a run (--pattern=...) --usemodule=list load ''See the given module or style, normally part o fthe 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 separate article on 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) --noconsole disable logging to the console (logfile only) --purgeresult purge result file before run --forcexml force xml stub --forcecld force cld (`[[Context|context lua document) stub --arrange run extra imposition pass, given that the style sets up imposition --noarrange ignore imposition specifications in the style --once only run once (no multipass data file is produced) --batchmode run without stopping and don]]` script.'t show messages on the console --nonstopmode run without stopping --generate generate file database etc. (as luatools does) --paranoid don't descend to .. and ../.. --version report installed context version --global assume given file present elsewhere --nofile use dummy file as jobname --expert expert options
== convert ==
--reload generate new font database
--reload --simple generate 'luatex-fonts-names.lua' (not for context!)
  --list --all list all installed fonts --list --all --name --pattern=... list installed fonts, filter by name [--(pattern]), all matches --list --spec all --file --pattern=... list installed fonts, filter by spec [--filter]file (pattern), all matches --list --file all --spec --filter=... list installed fonts, filter by file [--pattern]spec (key=value pairs, all matches
--pattern=str filter files using pattern

Navigation menu