From c971a249f8c3c8c394dc1f173bae8fc14a81b700 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Thu, 21 Mar 2013 13:42:00 +0100 Subject: beta 2013.03.21 13:42 --- .../scite/scite-context-data-metafun.properties | 14 +- doc/context/scripts/context.html | 552 --------------------- doc/context/scripts/context.xml | 182 ------- doc/context/scripts/mkii/ctxtools.html | 58 +++ doc/context/scripts/mkii/ctxtools.man | 65 +++ doc/context/scripts/mkii/ctxtools.xml | 33 ++ doc/context/scripts/mkii/imgtopdf.html | 49 ++ doc/context/scripts/mkii/imgtopdf.man | 38 ++ doc/context/scripts/mkii/imgtopdf.xml | 22 + doc/context/scripts/mkii/pdftools.html | 49 ++ doc/context/scripts/mkii/pdftools.man | 38 ++ doc/context/scripts/mkii/pdftools.xml | 24 + doc/context/scripts/mkii/pstopdf.html | 43 ++ doc/context/scripts/mkii/pstopdf.man | 20 + doc/context/scripts/mkii/pstopdf.xml | 18 + doc/context/scripts/mkii/rlxtools.html | 43 ++ doc/context/scripts/mkii/rlxtools.man | 20 + doc/context/scripts/mkii/rlxtools.xml | 18 + doc/context/scripts/mkii/texexec.html | 57 +++ doc/context/scripts/mkii/texexec.man | 62 +++ doc/context/scripts/mkii/texexec.xml | 32 ++ doc/context/scripts/mkii/textools.html | 57 +++ doc/context/scripts/mkii/textools.man | 62 +++ doc/context/scripts/mkii/textools.xml | 32 ++ doc/context/scripts/mkii/texutil.html | 48 ++ doc/context/scripts/mkii/texutil.man | 35 ++ doc/context/scripts/mkii/texutil.xml | 23 + doc/context/scripts/mkii/tmftools.html | 44 ++ doc/context/scripts/mkii/tmftools.man | 20 + doc/context/scripts/mkii/tmftools.xml | 18 + doc/context/scripts/mkii/xmltools.html | 48 ++ doc/context/scripts/mkii/xmltools.man | 35 ++ doc/context/scripts/mkii/xmltools.xml | 21 + doc/context/scripts/mkiv/context.html | 104 ++++ doc/context/scripts/mkiv/context.man | 157 ++++++ doc/context/scripts/mkiv/context.xml | 185 +++++++ doc/context/scripts/mkiv/mtx-babel.html | 44 ++ doc/context/scripts/mkiv/mtx-babel.man | 23 + doc/context/scripts/mkiv/mtx-babel.xml | 17 + doc/context/scripts/mkiv/mtx-base.html | 59 +++ doc/context/scripts/mkiv/mtx-base.man | 68 +++ doc/context/scripts/mkiv/mtx-base.xml | 32 ++ doc/context/scripts/mkiv/mtx-cache.html | 46 ++ doc/context/scripts/mkiv/mtx-cache.man | 26 + doc/context/scripts/mkiv/mtx-cache.xml | 20 + doc/context/scripts/mkiv/mtx-chars.html | 44 ++ doc/context/scripts/mkiv/mtx-chars.man | 23 + doc/context/scripts/mkiv/mtx-chars.xml | 17 + doc/context/scripts/mkiv/mtx-check.html | 42 ++ doc/context/scripts/mkiv/mtx-check.man | 17 + doc/context/scripts/mkiv/mtx-check.xml | 15 + doc/context/scripts/mkiv/mtx-colors.html | 44 ++ doc/context/scripts/mkiv/mtx-colors.man | 17 + doc/context/scripts/mkiv/mtx-colors.xml | 23 + doc/context/scripts/mkiv/mtx-context.html | 104 ++++ doc/context/scripts/mkiv/mtx-context.man | 157 ++++++ doc/context/scripts/mkiv/mtx-context.xml | 185 +++++++ doc/context/scripts/mkiv/mtx-epub.html | 44 ++ doc/context/scripts/mkiv/mtx-epub.man | 17 + doc/context/scripts/mkiv/mtx-epub.xml | 23 + doc/context/scripts/mkiv/mtx-fcd.html | 56 +++ doc/context/scripts/mkiv/mtx-fcd.man | 44 ++ doc/context/scripts/mkiv/mtx-fcd.xml | 35 ++ doc/context/scripts/mkiv/mtx-flac.html | 45 ++ doc/context/scripts/mkiv/mtx-flac.man | 17 + doc/context/scripts/mkiv/mtx-flac.xml | 24 + doc/context/scripts/mkiv/mtx-fonts.html | 71 +++ doc/context/scripts/mkiv/mtx-fonts.man | 53 ++ doc/context/scripts/mkiv/mtx-fonts.xml | 59 +++ doc/context/scripts/mkiv/mtx-grep.html | 45 ++ doc/context/scripts/mkiv/mtx-grep.man | 26 + doc/context/scripts/mkiv/mtx-grep.xml | 21 + doc/context/scripts/mkiv/mtx-interface.html | 60 +++ doc/context/scripts/mkiv/mtx-interface.man | 59 +++ doc/context/scripts/mkiv/mtx-interface.xml | 37 ++ doc/context/scripts/mkiv/mtx-metapost.html | 50 ++ doc/context/scripts/mkiv/mtx-metapost.man | 29 ++ doc/context/scripts/mkiv/mtx-metapost.xml | 32 ++ doc/context/scripts/mkiv/mtx-metatex.html | 43 ++ doc/context/scripts/mkiv/mtx-metatex.man | 20 + doc/context/scripts/mkiv/mtx-metatex.xml | 16 + doc/context/scripts/mkiv/mtx-modules.html | 44 ++ doc/context/scripts/mkiv/mtx-modules.man | 23 + doc/context/scripts/mkiv/mtx-modules.xml | 17 + doc/context/scripts/mkiv/mtx-package.html | 42 ++ doc/context/scripts/mkiv/mtx-package.man | 17 + doc/context/scripts/mkiv/mtx-package.xml | 15 + doc/context/scripts/mkiv/mtx-patterns.html | 51 ++ doc/context/scripts/mkiv/mtx-patterns.man | 29 ++ doc/context/scripts/mkiv/mtx-patterns.xml | 30 ++ doc/context/scripts/mkiv/mtx-pdf.html | 44 ++ doc/context/scripts/mkiv/mtx-pdf.man | 23 + doc/context/scripts/mkiv/mtx-pdf.xml | 17 + doc/context/scripts/mkiv/mtx-profile.html | 43 ++ doc/context/scripts/mkiv/mtx-profile.man | 20 + doc/context/scripts/mkiv/mtx-profile.xml | 16 + doc/context/scripts/mkiv/mtx-rsync.html | 44 ++ doc/context/scripts/mkiv/mtx-rsync.man | 23 + doc/context/scripts/mkiv/mtx-rsync.xml | 17 + doc/context/scripts/mkiv/mtx-scite.html | 42 ++ doc/context/scripts/mkiv/mtx-scite.man | 17 + doc/context/scripts/mkiv/mtx-scite.xml | 15 + doc/context/scripts/mkiv/mtx-server.html | 47 ++ doc/context/scripts/mkiv/mtx-server.man | 32 ++ doc/context/scripts/mkiv/mtx-server.xml | 20 + doc/context/scripts/mkiv/mtx-texworks.html | 43 ++ doc/context/scripts/mkiv/mtx-texworks.man | 20 + doc/context/scripts/mkiv/mtx-texworks.xml | 16 + doc/context/scripts/mkiv/mtx-tools.html | 56 +++ doc/context/scripts/mkiv/mtx-tools.man | 53 ++ doc/context/scripts/mkiv/mtx-tools.xml | 31 ++ doc/context/scripts/mkiv/mtx-unzip.html | 44 ++ doc/context/scripts/mkiv/mtx-unzip.man | 23 + doc/context/scripts/mkiv/mtx-unzip.xml | 17 + doc/context/scripts/mkiv/mtx-update.html | 59 +++ doc/context/scripts/mkiv/mtx-update.man | 68 +++ doc/context/scripts/mkiv/mtx-update.xml | 32 ++ doc/context/scripts/mkiv/mtx-watch.html | 49 ++ doc/context/scripts/mkiv/mtx-watch.man | 38 ++ doc/context/scripts/mkiv/mtx-watch.xml | 22 + doc/context/scripts/mkiv/mtxrun.html | 94 ++++ doc/context/scripts/mkiv/mtxrun.man | 137 +++++ doc/context/scripts/mkiv/mtxrun.xml | 79 +++ doc/context/scripts/mtx-context.html | 552 --------------------- doc/context/scripts/mtx-context.man | 154 ------ doc/context/scripts/mtx-context.xml | 182 ------- doc/context/scripts/mtx-fonts.html | 387 --------------- doc/context/scripts/mtx-fonts.man | 53 -- doc/context/scripts/mtx-fonts.xml | 59 --- doc/context/scripts/mtxrun.html | 527 -------------------- doc/context/scripts/mtxrun.man | 137 ----- doc/context/scripts/mtxrun.xml | 79 --- scripts/context/lua/mtx-babel.lua | 22 +- scripts/context/lua/mtx-base.lua | 54 +- scripts/context/lua/mtx-cache.lua | 27 +- scripts/context/lua/mtx-chars.lua | 22 +- scripts/context/lua/mtx-check.lua | 18 +- scripts/context/lua/mtx-colors.lua | 30 +- scripts/context/lua/mtx-context.lua | 24 +- scripts/context/lua/mtx-convert.lua | 28 +- scripts/context/lua/mtx-epub.lua | 30 +- scripts/context/lua/mtx-fcd.lua | 56 ++- scripts/context/lua/mtx-flac.lua | 32 +- scripts/context/lua/mtx-fonts.lua | 2 +- scripts/context/lua/mtx-grep.lua | 31 +- scripts/context/lua/mtx-interface.lua | 58 ++- scripts/context/lua/mtx-metapost.lua | 51 +- scripts/context/lua/mtx-metatex.lua | 20 +- scripts/context/lua/mtx-mkii-help.lua | 376 ++++++++++++++ scripts/context/lua/mtx-modules.lua | 22 +- scripts/context/lua/mtx-package.lua | 18 +- scripts/context/lua/mtx-patterns.lua | 44 +- scripts/context/lua/mtx-pdf.lua | 22 +- scripts/context/lua/mtx-profile.lua | 20 +- scripts/context/lua/mtx-rsync.lua | 24 +- scripts/context/lua/mtx-scite.lua | 23 +- scripts/context/lua/mtx-server.lua | 28 +- scripts/context/lua/mtx-texworks.lua | 20 +- scripts/context/lua/mtx-timing.lua | 22 +- scripts/context/lua/mtx-tools.lua | 49 +- scripts/context/lua/mtx-unzip.lua | 22 +- scripts/context/lua/mtx-update.lua | 52 +- scripts/context/lua/mtx-watch.lua | 32 +- scripts/context/lua/mtxrun.lua | 47 +- scripts/context/ruby/mpstools.rb | 7 - scripts/context/ruby/texsync.rb | 206 -------- scripts/context/stubs/mswin/mtxrun.lua | 47 +- scripts/context/stubs/unix/mtxrun | 47 +- tex/context/base/cont-new.mkii | 2 +- tex/context/base/cont-new.mkiv | 2 +- tex/context/base/context-base.lmx | 73 +-- tex/context/base/context-version.pdf | Bin 4134 -> 4137 bytes tex/context/base/context-version.png | Bin 40182 -> 40520 bytes tex/context/base/context.mkii | 2 +- tex/context/base/context.mkiv | 2 +- tex/context/base/luat-run.lua | 5 +- tex/context/base/status-files.pdf | Bin 24788 -> 24796 bytes tex/context/base/status-lua.pdf | Bin 211561 -> 211440 bytes tex/context/base/trac-exp.lua | 138 ++++-- tex/context/base/trac-lmx.lua | 19 +- tex/context/base/trac-log.lua | 5 + tex/context/base/trac-tim.lua | 2 +- tex/context/base/trac-xml.lua | 37 +- tex/generic/context/luatex/luatex-fonts-merged.lua | 2 +- 184 files changed, 6461 insertions(+), 3435 deletions(-) delete mode 100644 doc/context/scripts/context.html delete mode 100644 doc/context/scripts/context.xml create mode 100644 doc/context/scripts/mkii/ctxtools.html create mode 100644 doc/context/scripts/mkii/ctxtools.man create mode 100644 doc/context/scripts/mkii/ctxtools.xml create mode 100644 doc/context/scripts/mkii/imgtopdf.html create mode 100644 doc/context/scripts/mkii/imgtopdf.man create mode 100644 doc/context/scripts/mkii/imgtopdf.xml create mode 100644 doc/context/scripts/mkii/pdftools.html create mode 100644 doc/context/scripts/mkii/pdftools.man create mode 100644 doc/context/scripts/mkii/pdftools.xml create mode 100644 doc/context/scripts/mkii/pstopdf.html create mode 100644 doc/context/scripts/mkii/pstopdf.man create mode 100644 doc/context/scripts/mkii/pstopdf.xml create mode 100644 doc/context/scripts/mkii/rlxtools.html create mode 100644 doc/context/scripts/mkii/rlxtools.man create mode 100644 doc/context/scripts/mkii/rlxtools.xml create mode 100644 doc/context/scripts/mkii/texexec.html create mode 100644 doc/context/scripts/mkii/texexec.man create mode 100644 doc/context/scripts/mkii/texexec.xml create mode 100644 doc/context/scripts/mkii/textools.html create mode 100644 doc/context/scripts/mkii/textools.man create mode 100644 doc/context/scripts/mkii/textools.xml create mode 100644 doc/context/scripts/mkii/texutil.html create mode 100644 doc/context/scripts/mkii/texutil.man create mode 100644 doc/context/scripts/mkii/texutil.xml create mode 100644 doc/context/scripts/mkii/tmftools.html create mode 100644 doc/context/scripts/mkii/tmftools.man create mode 100644 doc/context/scripts/mkii/tmftools.xml create mode 100644 doc/context/scripts/mkii/xmltools.html create mode 100644 doc/context/scripts/mkii/xmltools.man create mode 100644 doc/context/scripts/mkii/xmltools.xml create mode 100644 doc/context/scripts/mkiv/context.html create mode 100644 doc/context/scripts/mkiv/context.man create mode 100644 doc/context/scripts/mkiv/context.xml create mode 100644 doc/context/scripts/mkiv/mtx-babel.html create mode 100644 doc/context/scripts/mkiv/mtx-babel.man create mode 100644 doc/context/scripts/mkiv/mtx-babel.xml create mode 100644 doc/context/scripts/mkiv/mtx-base.html create mode 100644 doc/context/scripts/mkiv/mtx-base.man create mode 100644 doc/context/scripts/mkiv/mtx-base.xml create mode 100644 doc/context/scripts/mkiv/mtx-cache.html create mode 100644 doc/context/scripts/mkiv/mtx-cache.man create mode 100644 doc/context/scripts/mkiv/mtx-cache.xml create mode 100644 doc/context/scripts/mkiv/mtx-chars.html create mode 100644 doc/context/scripts/mkiv/mtx-chars.man create mode 100644 doc/context/scripts/mkiv/mtx-chars.xml create mode 100644 doc/context/scripts/mkiv/mtx-check.html create mode 100644 doc/context/scripts/mkiv/mtx-check.man create mode 100644 doc/context/scripts/mkiv/mtx-check.xml create mode 100644 doc/context/scripts/mkiv/mtx-colors.html create mode 100644 doc/context/scripts/mkiv/mtx-colors.man create mode 100644 doc/context/scripts/mkiv/mtx-colors.xml create mode 100644 doc/context/scripts/mkiv/mtx-context.html create mode 100644 doc/context/scripts/mkiv/mtx-context.man create mode 100644 doc/context/scripts/mkiv/mtx-context.xml create mode 100644 doc/context/scripts/mkiv/mtx-epub.html create mode 100644 doc/context/scripts/mkiv/mtx-epub.man create mode 100644 doc/context/scripts/mkiv/mtx-epub.xml create mode 100644 doc/context/scripts/mkiv/mtx-fcd.html create mode 100644 doc/context/scripts/mkiv/mtx-fcd.man create mode 100644 doc/context/scripts/mkiv/mtx-fcd.xml create mode 100644 doc/context/scripts/mkiv/mtx-flac.html create mode 100644 doc/context/scripts/mkiv/mtx-flac.man create mode 100644 doc/context/scripts/mkiv/mtx-flac.xml create mode 100644 doc/context/scripts/mkiv/mtx-fonts.html create mode 100644 doc/context/scripts/mkiv/mtx-fonts.man create mode 100644 doc/context/scripts/mkiv/mtx-fonts.xml create mode 100644 doc/context/scripts/mkiv/mtx-grep.html create mode 100644 doc/context/scripts/mkiv/mtx-grep.man create mode 100644 doc/context/scripts/mkiv/mtx-grep.xml create mode 100644 doc/context/scripts/mkiv/mtx-interface.html create mode 100644 doc/context/scripts/mkiv/mtx-interface.man create mode 100644 doc/context/scripts/mkiv/mtx-interface.xml create mode 100644 doc/context/scripts/mkiv/mtx-metapost.html create mode 100644 doc/context/scripts/mkiv/mtx-metapost.man create mode 100644 doc/context/scripts/mkiv/mtx-metapost.xml create mode 100644 doc/context/scripts/mkiv/mtx-metatex.html create mode 100644 doc/context/scripts/mkiv/mtx-metatex.man create mode 100644 doc/context/scripts/mkiv/mtx-metatex.xml create mode 100644 doc/context/scripts/mkiv/mtx-modules.html create mode 100644 doc/context/scripts/mkiv/mtx-modules.man create mode 100644 doc/context/scripts/mkiv/mtx-modules.xml create mode 100644 doc/context/scripts/mkiv/mtx-package.html create mode 100644 doc/context/scripts/mkiv/mtx-package.man create mode 100644 doc/context/scripts/mkiv/mtx-package.xml create mode 100644 doc/context/scripts/mkiv/mtx-patterns.html create mode 100644 doc/context/scripts/mkiv/mtx-patterns.man create mode 100644 doc/context/scripts/mkiv/mtx-patterns.xml create mode 100644 doc/context/scripts/mkiv/mtx-pdf.html create mode 100644 doc/context/scripts/mkiv/mtx-pdf.man create mode 100644 doc/context/scripts/mkiv/mtx-pdf.xml create mode 100644 doc/context/scripts/mkiv/mtx-profile.html create mode 100644 doc/context/scripts/mkiv/mtx-profile.man create mode 100644 doc/context/scripts/mkiv/mtx-profile.xml create mode 100644 doc/context/scripts/mkiv/mtx-rsync.html create mode 100644 doc/context/scripts/mkiv/mtx-rsync.man create mode 100644 doc/context/scripts/mkiv/mtx-rsync.xml create mode 100644 doc/context/scripts/mkiv/mtx-scite.html create mode 100644 doc/context/scripts/mkiv/mtx-scite.man create mode 100644 doc/context/scripts/mkiv/mtx-scite.xml create mode 100644 doc/context/scripts/mkiv/mtx-server.html create mode 100644 doc/context/scripts/mkiv/mtx-server.man create mode 100644 doc/context/scripts/mkiv/mtx-server.xml create mode 100644 doc/context/scripts/mkiv/mtx-texworks.html create mode 100644 doc/context/scripts/mkiv/mtx-texworks.man create mode 100644 doc/context/scripts/mkiv/mtx-texworks.xml create mode 100644 doc/context/scripts/mkiv/mtx-tools.html create mode 100644 doc/context/scripts/mkiv/mtx-tools.man create mode 100644 doc/context/scripts/mkiv/mtx-tools.xml create mode 100644 doc/context/scripts/mkiv/mtx-unzip.html create mode 100644 doc/context/scripts/mkiv/mtx-unzip.man create mode 100644 doc/context/scripts/mkiv/mtx-unzip.xml create mode 100644 doc/context/scripts/mkiv/mtx-update.html create mode 100644 doc/context/scripts/mkiv/mtx-update.man create mode 100644 doc/context/scripts/mkiv/mtx-update.xml create mode 100644 doc/context/scripts/mkiv/mtx-watch.html create mode 100644 doc/context/scripts/mkiv/mtx-watch.man create mode 100644 doc/context/scripts/mkiv/mtx-watch.xml create mode 100644 doc/context/scripts/mkiv/mtxrun.html create mode 100644 doc/context/scripts/mkiv/mtxrun.man create mode 100644 doc/context/scripts/mkiv/mtxrun.xml delete mode 100644 doc/context/scripts/mtx-context.html delete mode 100644 doc/context/scripts/mtx-context.man delete mode 100644 doc/context/scripts/mtx-context.xml delete mode 100644 doc/context/scripts/mtx-fonts.html delete mode 100644 doc/context/scripts/mtx-fonts.man delete mode 100644 doc/context/scripts/mtx-fonts.xml delete mode 100644 doc/context/scripts/mtxrun.html delete mode 100644 doc/context/scripts/mtxrun.man delete mode 100644 doc/context/scripts/mtxrun.xml create mode 100644 scripts/context/lua/mtx-mkii-help.lua delete mode 100644 scripts/context/ruby/mpstools.rb delete mode 100644 scripts/context/ruby/texsync.rb diff --git a/context/data/scite/scite-context-data-metafun.properties b/context/data/scite/scite-context-data-metafun.properties index c5aa4cbed..80cb13417 100644 --- a/context/data/scite/scite-context-data-metafun.properties +++ b/context/data/scite/scite-context-data-metafun.properties @@ -1,10 +1,3 @@ -keywordclass.metafun.internals=\ -nocolormodel greycolormodel graycolormodel rgbcolormodel \ -cmykcolormodel shadefactor textextoffset normaltransparent multiplytransparent \ -screentransparent overlaytransparent softlighttransparent hardlighttransparent colordodgetransparent \ -colorburntransparent darkentransparent lightentransparent differencetransparent exclusiontransparent \ -huetransparent saturationtransparent colortransparent luminositytransparent metapostversion - keywordclass.metafun.commands=\ sqr log ln exp \ inv pow pi radian tand \ @@ -52,3 +45,10 @@ drawpoints drawcontrolpoints drawcontrollines drawpointlabels drawlineoptions \ drawpointoptions drawcontroloptions drawlabeloptions draworiginoptions drawboundoptions \ drawpathoptions resetdrawoptions decorated redecorated undecorated +keywordclass.metafun.internals=\ +nocolormodel greycolormodel graycolormodel rgbcolormodel \ +cmykcolormodel shadefactor textextoffset normaltransparent multiplytransparent \ +screentransparent overlaytransparent softlighttransparent hardlighttransparent colordodgetransparent \ +colorburntransparent darkentransparent lightentransparent differencetransparent exclusiontransparent \ +huetransparent saturationtransparent colortransparent luminositytransparent metapostversion + diff --git a/doc/context/scripts/context.html b/doc/context/scripts/context.html deleted file mode 100644 index 4edd372de..000000000 --- a/doc/context/scripts/context.html +++ /dev/null @@ -1,552 +0,0 @@ - - - - - - - - - ConTeXt Process Management 0.60 - - - - -
-
-
- ConTeXt Process Management 0.60
-
-
-
-
-
- wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
-
-
-
-
-
-
-
-
- -
-
-

Command line options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
flagvaluedescription
basic
--runprocess (one or more) files (default action)
--makecreate context formats
--ctx=nameuse ctx file (process management specification)
--interfaceuse specified user interface (default: en)
--autopdfclose pdf file in viewer and start pdf viewer afterwards
--purgepurge files either or not after a run (--pattern=...)
--purgeallpurge all files either or not after a run (--pattern=...)
--usemodulelistload the given module or style, normally part of the distribution
--environmentlistload the given environment file first (document styles)
--modelistenable given the modes (conditional processing in styles)
--pathlistalso consult the given paths when files are looked for
--argumentslistset variables that can be consulted during a run (key/value pairs)
--randomseednumberset the randomseed
--resultnamerename the resulting output to the given name
--trackerslistset tracker variables (show list with --showtrackers)
--directiveslistset directive variables (show list with --showdirectives)
--silentlistdisable logcatgories (show list with --showlogcategories)
--noconsoledisable logging to the console (logfile only)
--purgeresultpurge result file before run
--forcexmlforce xml stub
--forcecldforce cld (context lua document) stub
--forceluaforce lua stub (like texlua)
--forcempforce mp stub
--arrangerun extra imposition pass, given that the style sets up imposition
--noarrangeignore imposition specifications in the style
--jituse luajittex with jit turned off (only use the faster virtual machine)
--jitonuse luajittex with jit turned on (in most cases not faster, even slower)
--onceonly run once (no multipass data file is produced)
--batchmoderun without stopping and do not show messages on the console
--nonstopmoderun without stopping
--generategenerate file database etc. (as luatools does)
--paranoiddo not descend to .. and ../..
--versionreport installed context version
--globalassume given file present elsewhere
--nofileuse dummy file as jobname
expert
--touchupdate context version number (remake needed afterwards, also provide --expert)
--nostatisticsomit runtime statistics at the end of the run
--updateupdate context from website (not to be confused with contextgarden)
--profileprofile job (use: mtxrun --script profile --analyze)
--timinggenerate timing and statistics overview
--extra=nameprocess extra (mtx-context-... in distribution)
--extrasshow extras
special
--pdftexprocess file with texexec using pdftex
--xetexprocess file with texexec using xetex
--mkiiprocess file with texexec
--pipedo not check for file and enter scroll mode (--dummyfile=whatever.tmp)
-
-
- - diff --git a/doc/context/scripts/context.xml b/doc/context/scripts/context.xml deleted file mode 100644 index 9105056d8..000000000 --- a/doc/context/scripts/context.xml +++ /dev/null @@ -1,182 +0,0 @@ - - - - mtx-context - ConTeXt Process Management - 0.60 - - - - - - process (one or more) files (default action) - - - create context formats - - - - - use ctx file (process management specification) - - - use specified user interface (default: en) - - - - - close pdf file in viewer and start pdf viewer afterwards - - - purge files either or not after a run (=...) - - - purge all files either or not after a run (=...) - - - - - load the given module or style, normally part of the distribution - - - load the given environment file first (document styles) - - - enable given the modes (conditional processing in styles) - - - also consult the given paths when files are looked for - - - set variables that can be consulted during a run (key/value pairs) - - - set the randomseed - - - rename the resulting output to the given name - - - set tracker variables (show list with ) - - - set directive variables (show list with ) - - - disable logcatgories (show list with ) - - - disable logging to the console (logfile only) - - - purge result file before run - - - - - force xml stub - - - force cld (context lua document) stub - - - force lua stub (like texlua) - - - force mp stub - - - - - run extra imposition pass, given that the style sets up imposition - - - ignore imposition specifications in the style - - - - - use luajittex with jit turned off (only use the faster virtual machine) - - - use luajittex with jit turned on (in most cases not faster, even slower) - - - - - only run once (no multipass data file is produced) - - - run without stopping and do not show messages on the console - - - run without stopping - - - - - generate file database etc. (as luatools does) - - - do not descend to .. and ../.. - - - report installed context version - - - - - assume given file present elsewhere - - - use dummy file as jobname - - - - - - - update context version number (remake needed afterwards, also provide ) - - - omit runtime statistics at the end of the run - - - update context from website (not to be confused with contextgarden) - - - profile job (use: mtxrun profile ) - - - generate timing and statistics overview - - - - - process extra (mtx-context-... in distribution) - - - show extras - - - - - - - process file with texexec using pdftex - - - process file with texexec using xetex - - - process file with texexec - - - - - do not check for file and enter scroll mode (=whatever.tmp) - - - - - diff --git a/doc/context/scripts/mkii/ctxtools.html b/doc/context/scripts/mkii/ctxtools.html new file mode 100644 index 000000000..0cb8799c2 --- /dev/null +++ b/doc/context/scripts/mkii/ctxtools.html @@ -0,0 +1,58 @@ + + + + + + + + + + + CtxTools 1.3.5 + + + + + +
+
CtxTools 1.3.5
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + + + +
flagvaluedescription
--touchcontextfileupdate context version
--contextversionreport context version
--jeditinterfacegenerate jedit syntax files [--pipe]
--bbeditinterfacegenerate bbedit syntax files [--pipe]
--sciteinterfacegenerate scite syntax files [--pipe]
--rawinterfacegenerate raw syntax files [--pipe]
--translateinterfacegenerate interface files (xml) [nl de ..]
--purgefilesremove temporary files [--all --recurse] [basename]
--documentation generate documentation [--type][filename]
--filterpages') # no help, hidden temporary feature
--dpxmapfilesconvert pdftex mapfiles to dvipdfmx [--force] [texmfroot]
--listentitiescreate doctype entity definition from enco-uc.tex
--brandfilesadd context copyright notice [--force]
--platformizereplace line-endings [--recurse --force] [pattern]
--dependencies analyze depedencies within context [--save --compact --filter[macros|filenames] ][filename]
--updatecontextdownload latest version and remake formats [--proxy]
--disarmutfbomremove utf bom [--force]
+
+
+
+ + diff --git a/doc/context/scripts/mkii/ctxtools.man b/doc/context/scripts/mkii/ctxtools.man new file mode 100644 index 000000000..466a3b356 --- /dev/null +++ b/doc/context/scripts/mkii/ctxtools.man @@ -0,0 +1,65 @@ +.TH "ctxtools" "1" "01-01-2013" "version 1.3.5" "CtxTools" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBctxtools\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nCtxTools\n +.SH "OPTIONS" +.TP +.B --touchcontextfile +update context version +.TP +.B --contextversion +report context version +.TP +.B --jeditinterface +generate jedit syntax files [--pipe] +.TP +.B --bbeditinterface +generate bbedit syntax files [--pipe] +.TP +.B --sciteinterface +generate scite syntax files [--pipe] +.TP +.B --rawinterface +generate raw syntax files [--pipe] +.TP +.B --translateinterface +generate interface files (xml) [nl de ..] +.TP +.B --purgefiles +remove temporary files [--all --recurse] [basename] +.TP +.B --documentation generate documentation [--type=] +[filename] +.TP +.B --filterpages' +) # no help, hidden temporary feature +.TP +.B --dpxmapfiles +convert pdftex mapfiles to dvipdfmx [--force] [texmfroot] +.TP +.B --listentities +create doctype entity definition from enco-uc.tex +.TP +.B --brandfiles +add context copyright notice [--force] +.TP +.B --platformize +replace line-endings [--recurse --force] [pattern] +.TP +.B --dependencies analyze depedencies within context [--save --compact --filter=[macros|filenames] ] +[filename] +.TP +.B --updatecontext +download latest version and remake formats [--proxy] +.TP +.B --disarmutfbom +remove utf bom [--force] +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkii/ctxtools.xml b/doc/context/scripts/mkii/ctxtools.xml new file mode 100644 index 000000000..9586270ce --- /dev/null +++ b/doc/context/scripts/mkii/ctxtools.xml @@ -0,0 +1,33 @@ + + + + ctxtools + CtxTools + 1.3.5 + + + + + update context version + report context version + generate jedit syntax files [ + generate bbedit syntax files [ + generate scite syntax files [ + generate raw syntax files [ + generate interface files (xml) [nl de ..] + remove temporary files [ [basename] + [filename] + ) # no help, hidden temporary feature + convert pdftex mapfiles to dvipdfmx [ [texmfroot] + create doctype entity definition from enco-uc.tex + add context copyright notice [ + replace line-endings [ [pattern] + [filename] + download latest version and remake formats [ + remove utf bom [ + + + + + + diff --git a/doc/context/scripts/mkii/imgtopdf.html b/doc/context/scripts/mkii/imgtopdf.html new file mode 100644 index 000000000..37d447aef --- /dev/null +++ b/doc/context/scripts/mkii/imgtopdf.html @@ -0,0 +1,49 @@ + + + + + + + + + + + ImgToPdf 1.1.2 + + + + + +
+
ImgToPdf 1.1.2
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + +
flagvaluedescription
--convertconvert image into pdf
--compressionlevel of compression in percent
--depthimage depth in bits
--colorspace colorspace (rgb,cmyk,gray)
--qualityquality in percent
--inputpathpath where files are looked for
--outputpathpath where files end up
--autodetermine settings automatically
+
+
+
+ + diff --git a/doc/context/scripts/mkii/imgtopdf.man b/doc/context/scripts/mkii/imgtopdf.man new file mode 100644 index 000000000..9ba7d2aa7 --- /dev/null +++ b/doc/context/scripts/mkii/imgtopdf.man @@ -0,0 +1,38 @@ +.TH "imgtopdf" "1" "01-01-2013" "version 1.1.2" "ImgToPdf" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBimgtopdf\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nImgToPdf\n +.SH "OPTIONS" +.TP +.B --convert +convert image into pdf +.TP +.B --compression +level of compression in percent +.TP +.B --depth +image depth in bits +.TP +.B --colorspace + colorspace (rgb,cmyk,gray) +.TP +.B --quality +quality in percent +.TP +.B --inputpath +path where files are looked for +.TP +.B --outputpath +path where files end up +.TP +.B --auto +determine settings automatically +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkii/imgtopdf.xml b/doc/context/scripts/mkii/imgtopdf.xml new file mode 100644 index 000000000..b516852c3 --- /dev/null +++ b/doc/context/scripts/mkii/imgtopdf.xml @@ -0,0 +1,22 @@ + + + + imgtopdf + ImgToPdf + 1.1.2 + + + + + convert image into pdf + level of compression in percent + image depth in bits + colorspace (rgb,cmyk,gray) + quality in percent + path where files are looked for + path where files end up + determine settings automatically + + + + diff --git a/doc/context/scripts/mkii/pdftools.html b/doc/context/scripts/mkii/pdftools.html new file mode 100644 index 000000000..4c1e76281 --- /dev/null +++ b/doc/context/scripts/mkii/pdftools.html @@ -0,0 +1,49 @@ + + + + + + + + + + + PDFTools 1.2.1 + + + + + +
+
PDFTools 1.2.1
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + +
flagvaluedescription
--spotimage filename --colorspec--colorname= [--retain --invert --subpath=]
--colorimage filename --colorspec[--retain --invert --colorname= ]
--convertimagefilename [--retain --subpath]
--downsampleimagefilename [--retain --subpath --lowres --normal]
--infofilename
--countpages[--pattern --threshold]
--checkembedded[--pattern]
--analyzefilefilename
+
+
+
+ + diff --git a/doc/context/scripts/mkii/pdftools.man b/doc/context/scripts/mkii/pdftools.man new file mode 100644 index 000000000..f8b7bc26c --- /dev/null +++ b/doc/context/scripts/mkii/pdftools.man @@ -0,0 +1,38 @@ +.TH "pdftools" "1" "01-01-2013" "version 1.2.1" "PDFTools" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBpdftools\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nPDFTools\n +.SH "OPTIONS" +.TP +.B --spotimage filename --colorspec +--colorname= [--retain --invert --subpath=] +.TP +.B --colorimage filename --colorspec +[--retain --invert --colorname= ] +.TP +.B --convertimage +filename [--retain --subpath] +.TP +.B --downsampleimage +filename [--retain --subpath --lowres --normal] +.TP +.B --info +filename +.TP +.B --countpages +[--pattern --threshold] +.TP +.B --checkembedded +[--pattern] +.TP +.B --analyzefile +filename +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkii/pdftools.xml b/doc/context/scripts/mkii/pdftools.xml new file mode 100644 index 000000000..3b903ff4c --- /dev/null +++ b/doc/context/scripts/mkii/pdftools.xml @@ -0,0 +1,24 @@ + + + + pdftools + PDFTools + 1.2.1 + + + + + [ + [ ] + filename [ + filename [ + filename + [ + [ + filename + + + + + + diff --git a/doc/context/scripts/mkii/pstopdf.html b/doc/context/scripts/mkii/pstopdf.html new file mode 100644 index 000000000..17f9c002d --- /dev/null +++ b/doc/context/scripts/mkii/pstopdf.html @@ -0,0 +1,43 @@ + + + + + + + + + + + PStoPDF 2.0.1 + + + + + +
+
PStoPDF 2.0.1
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + +
flagvaluedescription
--requesthandles exa request file
--watchwatch folders for conversions (untested)
+
+
+
+ + diff --git a/doc/context/scripts/mkii/pstopdf.man b/doc/context/scripts/mkii/pstopdf.man new file mode 100644 index 000000000..5c44cf09a --- /dev/null +++ b/doc/context/scripts/mkii/pstopdf.man @@ -0,0 +1,20 @@ +.TH "pstopdf" "1" "01-01-2013" "version 2.0.1" "PStoPDF" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBpstopdf\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nPStoPDF\n +.SH "OPTIONS" +.TP +.B --request +handles exa request file +.TP +.B --watch +watch folders for conversions (untested) +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkii/pstopdf.xml b/doc/context/scripts/mkii/pstopdf.xml new file mode 100644 index 000000000..f3a63c0e2 --- /dev/null +++ b/doc/context/scripts/mkii/pstopdf.xml @@ -0,0 +1,18 @@ + + + + pstopdf + PStoPDF + 2.0.1 + + + + + handles exa request file + watch folders for conversions (untested) + + + + + + diff --git a/doc/context/scripts/mkii/rlxtools.html b/doc/context/scripts/mkii/rlxtools.html new file mode 100644 index 000000000..a2e39d286 --- /dev/null +++ b/doc/context/scripts/mkii/rlxtools.html @@ -0,0 +1,43 @@ + + + + + + + + + + + RlxTools 1.0.1 + + + + + +
+
RlxTools 1.0.1
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + +
flagvaluedescription
--manipulate[--test] manipulatorfile resourselog
--identify[--collect] filename
+
+
+
+ + diff --git a/doc/context/scripts/mkii/rlxtools.man b/doc/context/scripts/mkii/rlxtools.man new file mode 100644 index 000000000..f9323a7f6 --- /dev/null +++ b/doc/context/scripts/mkii/rlxtools.man @@ -0,0 +1,20 @@ +.TH "rlxtools" "1" "01-01-2013" "version 1.0.1" "RlxTools" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBrlxtools\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nRlxTools\n +.SH "OPTIONS" +.TP +.B --manipulate +[--test] manipulatorfile resourselog +.TP +.B --identify +[--collect] filename +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkii/rlxtools.xml b/doc/context/scripts/mkii/rlxtools.xml new file mode 100644 index 000000000..b89671fdc --- /dev/null +++ b/doc/context/scripts/mkii/rlxtools.xml @@ -0,0 +1,18 @@ + + + + rlxtools + RlxTools + 1.0.1 + + + + + [ manipulatorfile resourselog + [ filename + + + + + + diff --git a/doc/context/scripts/mkii/texexec.html b/doc/context/scripts/mkii/texexec.html new file mode 100644 index 000000000..6b0d7c4be --- /dev/null +++ b/doc/context/scripts/mkii/texexec.html @@ -0,0 +1,57 @@ + + + + + + + + + + + TeXExec 6.2.1 + + + + + +
+
TeXExec 6.2.1
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + + +
flagvaluedescription
--makemake formats
--checkcheck versions
--processprocess file
--mptexprocess mp file
--mpxtexprocess mpx file
--mpgraphicprocess mp file to stand-alone graphics
--mpstaticprocess mp/ctx file to stand-alone graphics
--listinglist of file content
--figuresgenerate overview of figures
--modulesgenerate module documentation
--pdfarrangeimpose pages (booklets)
--pdfselectselect pages from file(s)
--pdfcopycopy pages from file(s)
--pdftrimtrim pages from file(s)
--pdfcombinecombine multiple pages
--pdfsplitsplit file in pages
+
+
+
+ + diff --git a/doc/context/scripts/mkii/texexec.man b/doc/context/scripts/mkii/texexec.man new file mode 100644 index 000000000..5dbe8a0ff --- /dev/null +++ b/doc/context/scripts/mkii/texexec.man @@ -0,0 +1,62 @@ +.TH "texexec" "1" "01-01-2013" "version 6.2.1" "TeXExec" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBtexexec\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nTeXExec\n +.SH "OPTIONS" +.TP +.B --make +make formats +.TP +.B --check +check versions +.TP +.B --process +process file +.TP +.B --mptex +process mp file +.TP +.B --mpxtex +process mpx file +.TP +.B --mpgraphic +process mp file to stand-alone graphics +.TP +.B --mpstatic +process mp/ctx file to stand-alone graphics +.TP +.B --listing +list of file content +.TP +.B --figures +generate overview of figures +.TP +.B --modules +generate module documentation +.TP +.B --pdfarrange +impose pages (booklets) +.TP +.B --pdfselect +select pages from file(s) +.TP +.B --pdfcopy +copy pages from file(s) +.TP +.B --pdftrim +trim pages from file(s) +.TP +.B --pdfcombine +combine multiple pages +.TP +.B --pdfsplit +split file in pages +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkii/texexec.xml b/doc/context/scripts/mkii/texexec.xml new file mode 100644 index 000000000..c3cb6127b --- /dev/null +++ b/doc/context/scripts/mkii/texexec.xml @@ -0,0 +1,32 @@ + + + + texexec + TeXExec + 6.2.1 + + + + + make formats + check versions + process file + process mp file + process mpx file + process mp file to stand-alone graphics + process mp/ctx file to stand-alone graphics + list of file content + generate overview of figures + generate module documentation + impose pages (booklets) + select pages from file(s) + copy pages from file(s) + trim pages from file(s) + combine multiple pages + split file in pages + + + + + + diff --git a/doc/context/scripts/mkii/textools.html b/doc/context/scripts/mkii/textools.html new file mode 100644 index 000000000..8874050fb --- /dev/null +++ b/doc/context/scripts/mkii/textools.html @@ -0,0 +1,57 @@ + + + + + + + + + + + TeXTools 1.3.1 + + + + + +
+
TeXTools 1.3.1
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + + +
flagvaluedescription
--removemapnames[pattern] [--recurse]
--restoremapnames[pattern] [--recurse]
--hidemapnames[pattern] [--recurse]
--videmapnames[pattern] [--recurse]
--findfilefilename [--recurse]
--unzipfiles[pattern] [--recurse]
--fixafmfiles[pattern] [--recurse]
--mactodos[pattern] [--recurse]
--fixtexmftrees[texmfroot] [--force]
--replacefilefilename [--force]
--updatetreefromroot toroot [--force --nocheck --merge --delete]
--downcasefilenames[--recurse] [--force]
--stripformfeeds[--recurse] [--force]
--showfontfilename
--encmakeafmfile encodingname
--tpmmaketpm file (run in texmf root)
+
+
+
+ + diff --git a/doc/context/scripts/mkii/textools.man b/doc/context/scripts/mkii/textools.man new file mode 100644 index 000000000..76758d983 --- /dev/null +++ b/doc/context/scripts/mkii/textools.man @@ -0,0 +1,62 @@ +.TH "textools" "1" "01-01-2013" "version 1.3.1" "TeXTools" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBtextools\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nTeXTools\n +.SH "OPTIONS" +.TP +.B --removemapnames +[pattern] [--recurse] +.TP +.B --restoremapnames +[pattern] [--recurse] +.TP +.B --hidemapnames +[pattern] [--recurse] +.TP +.B --videmapnames +[pattern] [--recurse] +.TP +.B --findfile +filename [--recurse] +.TP +.B --unzipfiles +[pattern] [--recurse] +.TP +.B --fixafmfiles +[pattern] [--recurse] +.TP +.B --mactodos +[pattern] [--recurse] +.TP +.B --fixtexmftrees +[texmfroot] [--force] +.TP +.B --replacefile +filename [--force] +.TP +.B --updatetree +fromroot toroot [--force --nocheck --merge --delete] +.TP +.B --downcasefilenames +[--recurse] [--force] +.TP +.B --stripformfeeds +[--recurse] [--force] +.TP +.B --showfont +filename +.TP +.B --encmake +afmfile encodingname +.TP +.B --tpmmake +tpm file (run in texmf root) +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkii/textools.xml b/doc/context/scripts/mkii/textools.xml new file mode 100644 index 000000000..b8c085cc0 --- /dev/null +++ b/doc/context/scripts/mkii/textools.xml @@ -0,0 +1,32 @@ + + + + textools + TeXTools + 1.3.1 + + + + + [pattern] [ + [pattern] [ + [pattern] [ + [pattern] [ + filename [ + [pattern] [ + [pattern] [ + [pattern] [ + [texmfroot] [ + filename [ + fromroot toroot [ + [ [ + [ [ + filename + afmfile encodingname + tpm file (run in texmf root) + + + + + + diff --git a/doc/context/scripts/mkii/texutil.html b/doc/context/scripts/mkii/texutil.html new file mode 100644 index 000000000..05880e278 --- /dev/null +++ b/doc/context/scripts/mkii/texutil.html @@ -0,0 +1,48 @@ + + + + + + + + + + + TeXUtil 9.1.0 + + + + + +
+
TeXUtil 9.1.0
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + +
flagvaluedescription
--referencesconvert tui file into tuo file
--figuresgenerate figure dimensions file
--logfilefilter essential log messages
--purgefilesremove most temporary files
--purgeallfilesremove all temporary files
--documentationgenerate documentation file from source
--analyzefileanalyze pdf file
+
+
+
+ + diff --git a/doc/context/scripts/mkii/texutil.man b/doc/context/scripts/mkii/texutil.man new file mode 100644 index 000000000..355d88343 --- /dev/null +++ b/doc/context/scripts/mkii/texutil.man @@ -0,0 +1,35 @@ +.TH "texutil" "1" "01-01-2013" "version 9.1.0" "TeXUtil" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBtexutil\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nTeXUtil\n +.SH "OPTIONS" +.TP +.B --references +convert tui file into tuo file +.TP +.B --figures +generate figure dimensions file +.TP +.B --logfile +filter essential log messages +.TP +.B --purgefiles +remove most temporary files +.TP +.B --purgeallfiles +remove all temporary files +.TP +.B --documentation +generate documentation file from source +.TP +.B --analyzefile +analyze pdf file +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkii/texutil.xml b/doc/context/scripts/mkii/texutil.xml new file mode 100644 index 000000000..0687f8a64 --- /dev/null +++ b/doc/context/scripts/mkii/texutil.xml @@ -0,0 +1,23 @@ + + + + texutil + TeXUtil + 9.1.0 + + + + + convert tui file into tuo file + generate figure dimensions file + filter essential log messages + remove most temporary files + remove all temporary files + generate documentation file from source + analyze pdf file + + + + + + \ No newline at end of file diff --git a/doc/context/scripts/mkii/tmftools.html b/doc/context/scripts/mkii/tmftools.html new file mode 100644 index 000000000..d3db5fd16 --- /dev/null +++ b/doc/context/scripts/mkii/tmftools.html @@ -0,0 +1,44 @@ + + + + + + + + + + + TMFTools 1.2.1 + + + + + +
+
TMFTools 1.2.1
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + +
flagvaluedescription
--analyze[--strict --sort --rootpath --treepath --delete --force] [pattern]
--serveact as kpse server
+
+
+
+ + diff --git a/doc/context/scripts/mkii/tmftools.man b/doc/context/scripts/mkii/tmftools.man new file mode 100644 index 000000000..9270351cd --- /dev/null +++ b/doc/context/scripts/mkii/tmftools.man @@ -0,0 +1,20 @@ +.TH "tmftools" "1" "01-01-2013" "version 1.1.0" "TMFTools" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBtmftools\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nTMFTools\n +.SH "OPTIONS" +.TP +.B --analyze +[--strict --sort --rootpath --treepath --delete --force] [pattern] +.TP +.B --serve +act as kpse server +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkii/tmftools.xml b/doc/context/scripts/mkii/tmftools.xml new file mode 100644 index 000000000..c52aa3067 --- /dev/null +++ b/doc/context/scripts/mkii/tmftools.xml @@ -0,0 +1,18 @@ + + + + tmftools + TMFTools + 1.1.0 + + + + + [ ] [pattern] + + + act as kpse server + + + + diff --git a/doc/context/scripts/mkii/xmltools.html b/doc/context/scripts/mkii/xmltools.html new file mode 100644 index 000000000..771233609 --- /dev/null +++ b/doc/context/scripts/mkii/xmltools.html @@ -0,0 +1,48 @@ + + + + + + + + + + + XMLTools 1.2.1 + + + + + +
+
XMLTools 1.2.1
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + +
flagvaluedescription
--dirgenerate directory listing
--mmlpagesgenerate graphic from mathml
--analyzereport entities and elements [--utf --process]
--cleanupcleanup xml file [--force]
--enhanceenhance xml file (partial)
--filterfilter elements from xml file [--element]
--dirgenerate ddirectory listing
+
+
+
+ + diff --git a/doc/context/scripts/mkii/xmltools.man b/doc/context/scripts/mkii/xmltools.man new file mode 100644 index 000000000..389831305 --- /dev/null +++ b/doc/context/scripts/mkii/xmltools.man @@ -0,0 +1,35 @@ +.TH "xmltools" "1" "01-01-2013" "version 1.2.2" "XMLTools" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBxmltools\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nXMLTools\n +.SH "OPTIONS" +.TP +.B --dir +generate directory listing +.TP +.B --mmlpages +generate graphic from mathml +.TP +.B --analyze +report entities and elements [--utf --process] +.TP +.B --cleanup +cleanup xml file [--force] +.TP +.B --enhance +enhance xml file (partial) +.TP +.B --filter +filter elements from xml file [--element] +.TP +.B --dir +generate ddirectory listing +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkii/xmltools.xml b/doc/context/scripts/mkii/xmltools.xml new file mode 100644 index 000000000..4b784c4e7 --- /dev/null +++ b/doc/context/scripts/mkii/xmltools.xml @@ -0,0 +1,21 @@ + + + + xmltools + XMLTools + 1.2.2 + + + + + generate directory listing + generate graphic from mathml + report entities and elements [ ] + cleanup xml file [] + enhance xml file (partial) + filter elements from xml file [] + generate ddirectory listing + + + + diff --git a/doc/context/scripts/mkiv/context.html b/doc/context/scripts/mkiv/context.html new file mode 100644 index 000000000..40e479d30 --- /dev/null +++ b/doc/context/scripts/mkiv/context.html @@ -0,0 +1,104 @@ + + + + + + + + + + + ConTeXt Process Management 0.60 + + + + + +
+
ConTeXt Process Management 0.60
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
flagvaluedescription
basic
--runprocess (one or more) files (default action)
--makecreate context formats
--ctx=nameuse ctx file (process management specification)
--interfaceuse specified user interface (default: en)
--autopdfclose pdf file in viewer and start pdf viewer afterwards
--purgepurge files either or not after a run (--pattern=...)
--purgeallpurge all files either or not after a run (--pattern=...)
--usemodulelistload the given module or style, normally part of the distribution
--environmentlistload the given environment file first (document styles)
--modelistenable given the modes (conditional processing in styles)
--pathlistalso consult the given paths when files are looked for
--argumentslistset variables that can be consulted during a run (key/value pairs)
--randomseednumberset the randomseed
--resultnamerename the resulting output to the given name
--trackerslistset tracker variables (show list with --showtrackers)
--directiveslistset directive variables (show list with --showdirectives)
--silentlistdisable logcatgories (show list with --showlogcategories)
--noconsoledisable logging to the console (logfile only)
--purgeresultpurge result file before run
--forcexmlforce xml stub
--forcecldforce cld (context lua document) stub
--forceluaforce lua stub (like texlua)
--forcempforce mp stub
--arrangerun extra imposition pass, given that the style sets up imposition
--noarrangeignore imposition specifications in the style
--jituse luajittex with jit turned off (only use the faster virtual machine)
--jitonuse luajittex with jit turned on (in most cases not faster, even slower)
--onceonly run once (no multipass data file is produced)
--batchmoderun without stopping and do not show messages on the console
--nonstopmoderun without stopping
--synctexrun with synctex enabled (optional value: zipped, unzipped, 1, -1)
--generategenerate file database etc. (as luatools does)
--paranoiddo not descend to .. and ../..
--versionreport installed context version
--globalassume given file present elsewhere
--nofileuse dummy file as jobname
expert
--touchupdate context version number (remake needed afterwards, also provide --expert)
--nostatisticsomit runtime statistics at the end of the run
--updateupdate context from website (not to be confused with contextgarden)
--profileprofile job (use: mtxrun --script profile --analyze)
--timinggenerate timing and statistics overview
--extra=nameprocess extra (mtx-context-... in distribution)
--extrasshow extras
special
--pdftexprocess file with texexec using pdftex
--xetexprocess file with texexec using xetex
--mkiiprocess file with texexec
--pipedo not check for file and enter scroll mode (--dummyfile=whatever.tmp)
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/context.man b/doc/context/scripts/mkiv/context.man new file mode 100644 index 000000000..6a42ea652 --- /dev/null +++ b/doc/context/scripts/mkiv/context.man @@ -0,0 +1,157 @@ +.TH "mtx-context" "1" "01-01-2013" "version 0.60" "ConTeXt Process Management" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script context\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt Process Management\n +.SH "OPTIONS: BASIC" +.TP +.B --run +process (one or more) files (default action) +.TP +.B --make +create context formats +.TP +.B --ctx=name +use ctx file (process management specification) +.TP +.B --interface +use specified user interface (default: en) +.TP +.B --autopdf +close pdf file in viewer and start pdf viewer afterwards +.TP +.B --purge +purge files either or not after a run (--pattern=...) +.TP +.B --purgeall +purge all files either or not after a run (--pattern=...) +.TP +.B --usemodule=list +load the given module or style, normally part of the distribution +.TP +.B --environment=list +load the given environment file first (document styles) +.TP +.B --mode=list +enable given the modes (conditional processing in styles) +.TP +.B --path=list +also consult the given paths when files are looked for +.TP +.B --arguments=list +set variables that can be consulted during a run (key/value pairs) +.TP +.B --randomseed=number +set the randomseed +.TP +.B --result=name +rename the resulting output to the given name +.TP +.B --trackers=list +set tracker variables (show list with --showtrackers) +.TP +.B --directives=list +set directive variables (show list with --showdirectives) +.TP +.B --silent=list +disable logcatgories (show list with --showlogcategories) +.TP +.B --noconsole +disable logging to the console (logfile only) +.TP +.B --purgeresult +purge result file before run +.TP +.B --forcexml +force xml stub +.TP +.B --forcecld +force cld (context lua document) stub +.TP +.B --forcelua +force lua stub (like texlua) +.TP +.B --forcemp +force mp stub +.TP +.B --arrange +run extra imposition pass, given that the style sets up imposition +.TP +.B --noarrange +ignore imposition specifications in the style +.TP +.B --jit +use luajittex with jit turned off (only use the faster virtual machine) +.TP +.B --jiton +use luajittex with jit turned on (in most cases not faster, even slower) +.TP +.B --once +only run once (no multipass data file is produced) +.TP +.B --batchmode +run without stopping and do not show messages on the console +.TP +.B --nonstopmode +run without stopping +.TP +.B --synctex +run with synctex enabled (optional value: zipped, unzipped, 1, -1) +.TP +.B --generate +generate file database etc. (as luatools does) +.TP +.B --paranoid +do not descend to .. and ../.. +.TP +.B --version +report installed context version +.TP +.B --global +assume given file present elsewhere +.TP +.B --nofile +use dummy file as jobname +.SH "OPTIONS: EXPERT" +.TP +.B --touch +update context version number (remake needed afterwards, also provide --expert) +.TP +.B --nostatistics +omit runtime statistics at the end of the run +.TP +.B --update +update context from website (not to be confused with contextgarden) +.TP +.B --profile +profile job (use: mtxrun --script profile --analyze) +.TP +.B --timing +generate timing and statistics overview +.TP +.B --extra=name +process extra (mtx-context-... in distribution) +.TP +.B --extras +show extras +.SH "OPTIONS: SPECIAL" +.TP +.B --pdftex +process file with texexec using pdftex +.TP +.B --xetex +process file with texexec using xetex +.TP +.B --mkii +process file with texexec +.TP +.B --pipe +do not check for file and enter scroll mode (--dummyfile=whatever.tmp) +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/context.xml b/doc/context/scripts/mkiv/context.xml new file mode 100644 index 000000000..6f52c2a91 --- /dev/null +++ b/doc/context/scripts/mkiv/context.xml @@ -0,0 +1,185 @@ + + + + mtx-context + ConTeXt Process Management + 0.60 + + + + + + process (one or more) files (default action) + + + create context formats + + + + + use ctx file (process management specification) + + + use specified user interface (default: en) + + + + + close pdf file in viewer and start pdf viewer afterwards + + + purge files either or not after a run (=...) + + + purge all files either or not after a run (=...) + + + + + load the given module or style, normally part of the distribution + + + load the given environment file first (document styles) + + + enable given the modes (conditional processing in styles) + + + also consult the given paths when files are looked for + + + set variables that can be consulted during a run (key/value pairs) + + + set the randomseed + + + rename the resulting output to the given name + + + set tracker variables (show list with ) + + + set directive variables (show list with ) + + + disable logcatgories (show list with ) + + + disable logging to the console (logfile only) + + + purge result file before run + + + + + force xml stub + + + force cld (context lua document) stub + + + force lua stub (like texlua) + + + force mp stub + + + + + run extra imposition pass, given that the style sets up imposition + + + ignore imposition specifications in the style + + + + + use luajittex with jit turned off (only use the faster virtual machine) + + + use luajittex with jit turned on (in most cases not faster, even slower) + + + + + only run once (no multipass data file is produced) + + + run without stopping and do not show messages on the console + + + run without stopping + + + run with synctex enabled (optional value: zipped, unzipped, 1, -1) + + + + + generate file database etc. (as luatools does) + + + do not descend to .. and ../.. + + + report installed context version + + + + + assume given file present elsewhere + + + use dummy file as jobname + + + + + + + update context version number (remake needed afterwards, also provide ) + + + omit runtime statistics at the end of the run + + + update context from website (not to be confused with contextgarden) + + + profile job (use: mtxrun profile ) + + + generate timing and statistics overview + + + + + process extra (mtx-context-... in distribution) + + + show extras + + + + + + + process file with texexec using pdftex + + + process file with texexec using xetex + + + process file with texexec + + + + + do not check for file and enter scroll mode (=whatever.tmp) + + + + + diff --git a/doc/context/scripts/mkiv/mtx-babel.html b/doc/context/scripts/mkiv/mtx-babel.html new file mode 100644 index 000000000..21de59c08 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-babel.html @@ -0,0 +1,44 @@ + + + + + + + + + + + Babel Input To UTF Conversion 1.20 + + + + + +
+
Babel Input To UTF Conversion 1.20
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + +
flagvaluedescription
--languagestringconversion language (e.g. greek)
--structurestringobey given structure (e.g. 'document', default: 'context')
--convertconvert babel codes into utf
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-babel.man b/doc/context/scripts/mkiv/mtx-babel.man new file mode 100644 index 000000000..920b1a1a4 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-babel.man @@ -0,0 +1,23 @@ +.TH "mtx-babel" "1" "01-01-2013" "version 1.20" "Babel Input To UTF Conversion" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script babel\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nBabel Input To UTF Conversion\n +.SH "OPTIONS" +.TP +.B --language=string +conversion language (e.g. greek) +.TP +.B --structure=string +obey given structure (e.g. 'document', default: 'context') +.TP +.B --convert +convert babel codes into utf +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-babel.xml b/doc/context/scripts/mkiv/mtx-babel.xml new file mode 100644 index 000000000..6a6efde15 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-babel.xml @@ -0,0 +1,17 @@ + + + + mtx-babel + Babel Input To UTF Conversion + 1.20 + + + + + conversion language (e.g. greek) + obey given structure (e.g. 'document', default: 'context') + convert babel codes into utf + + + + diff --git a/doc/context/scripts/mkiv/mtx-base.html b/doc/context/scripts/mkiv/mtx-base.html new file mode 100644 index 000000000..97ac24a7a --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-base.html @@ -0,0 +1,59 @@ + + + + + + + + + + + ConTeXt TDS Management Tool (aka luatools) 1.35 + + + + + +
+
ConTeXt TDS Management Tool (aka luatools) 1.35
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + + + + +
flagvaluedescription
--generategenerate file database
--variablesshow configuration variables
--configurationsshow configuration order
--expand-bracesexpand complex variable
--expand-pathexpand variable (resolve paths)
--expand-varexpand variable (resolve references)
--show-pathshow path expansion of ...
--var-valuereport value of variable
--find-filereport file location
--find-pathreport path of file
--make[or --ini] make luatex format
--run[or --fmt run luatex format
--compileassemble and compile lua inifile
--verbosegive a bit more info
--allshow all found files
--formatstrfilter cf format specification (default 'tex', use 'any' for any match)
--patternstrfilter variables
--trackerslistenable given trackers
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-base.man b/doc/context/scripts/mkiv/mtx-base.man new file mode 100644 index 000000000..835f88dca --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-base.man @@ -0,0 +1,68 @@ +.TH "mtx-base" "1" "01-01-2013" "version 1.35" "ConTeXt TDS Management Tool (aka luatools)" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script base\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt TDS Management Tool (aka luatools)\n +.SH "OPTIONS" +.TP +.B --generate +generate file database +.TP +.B --variables +show configuration variables +.TP +.B --configurations +show configuration order +.TP +.B --expand-braces +expand complex variable +.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 --make +[or --ini] make luatex format +.TP +.B --run +[or --fmt run luatex format +.TP +.B --compile +assemble and compile lua inifile +.TP +.B --verbose +give a bit more info +.TP +.B --all +show all found files +.TP +.B --format=str +filter cf format specification (default 'tex', use 'any' for any match) +.TP +.B --pattern=str +filter variables +.TP +.B --trackers=list +enable given trackers +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-base.xml b/doc/context/scripts/mkiv/mtx-base.xml new file mode 100644 index 000000000..7efaac7e1 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-base.xml @@ -0,0 +1,32 @@ + + + + mtx-base + ConTeXt TDS Management Tool (aka luatools) + 1.35 + + + + + generate file database + show configuration variables + show configuration order + expand complex variable + expand variable (resolve paths) + expand variable (resolve references) + show path expansion of ... + report value of variable + report file location + report path of file + [or make luatex format + [or run luatex format + assemble and compile lua inifile + give a bit more info + show all found files + filter cf format specification (default 'tex', use 'any' for any match) + filter variables + enable given trackers + + + + diff --git a/doc/context/scripts/mkiv/mtx-cache.html b/doc/context/scripts/mkiv/mtx-cache.html new file mode 100644 index 000000000..a344d2394 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-cache.html @@ -0,0 +1,46 @@ + + + + + + + + + + + ConTeXt & MetaTeX Cache Management 0.10 + + + + + +
+
ConTeXt & MetaTeX Cache Management 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + +
flagvaluedescription
--purgeremove not used files
--erasecompletely remove cache
--listshow cache
--allall (not yet implemented)
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-cache.man b/doc/context/scripts/mkiv/mtx-cache.man new file mode 100644 index 000000000..4d07fe52b --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-cache.man @@ -0,0 +1,26 @@ +.TH "mtx-cache" "1" "01-01-2013" "version 0.10" "ConTeXt &error; MetaTeX Cache Management" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script cache\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt &error; MetaTeX Cache Management\n +.SH "OPTIONS" +.TP +.B --purge +remove not used files +.TP +.B --erase +completely remove cache +.TP +.B --list +show cache +.TP +.B --all +all (not yet implemented) +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-cache.xml b/doc/context/scripts/mkiv/mtx-cache.xml new file mode 100644 index 000000000..2e37f036c --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-cache.xml @@ -0,0 +1,20 @@ + + + + mtx-cache + ConTeXt & MetaTeX Cache Management + 0.10 + + + + + remove not used files + completely remove cache + show cache + + + all (not yet implemented) + + + + diff --git a/doc/context/scripts/mkiv/mtx-chars.html b/doc/context/scripts/mkiv/mtx-chars.html new file mode 100644 index 000000000..64bb37038 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-chars.html @@ -0,0 +1,44 @@ + + + + + + + + + + + MkII Character Table Generators 0.10 + + + + + +
+
MkII Character Table Generators 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + +
flagvaluedescription
--xtxgenerate xetx-*.tex (used by xetex)
--pdfgenerate pdfr-def.tex (used by pdftex)
--entitiesgenerate entities table
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-chars.man b/doc/context/scripts/mkiv/mtx-chars.man new file mode 100644 index 000000000..a6db3c9cc --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-chars.man @@ -0,0 +1,23 @@ +.TH "mtx-chars" "1" "01-01-2013" "version 0.10" "MkII Character Table Generators" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script chars\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nMkII Character Table Generators\n +.SH "OPTIONS" +.TP +.B --xtx +generate xetx-*.tex (used by xetex) +.TP +.B --pdf +generate pdfr-def.tex (used by pdftex) +.TP +.B --entities +generate entities table +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-chars.xml b/doc/context/scripts/mkiv/mtx-chars.xml new file mode 100644 index 000000000..dd7749235 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-chars.xml @@ -0,0 +1,17 @@ + + + + mtx-chars + MkII Character Table Generators + 0.10 + + + + + generate xetx-*.tex (used by xetex) + generate pdfr-def.tex (used by pdftex) + generate entities table + + + + diff --git a/doc/context/scripts/mkiv/mtx-check.html b/doc/context/scripts/mkiv/mtx-check.html new file mode 100644 index 000000000..88cbc8759 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-check.html @@ -0,0 +1,42 @@ + + + + + + + + + + + Basic ConTeXt Syntax Checking 0.10 + + + + + +
+
Basic ConTeXt Syntax Checking 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + +
flagvaluedescription
--convertcheck tex file for errors
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-check.man b/doc/context/scripts/mkiv/mtx-check.man new file mode 100644 index 000000000..34a22fe74 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-check.man @@ -0,0 +1,17 @@ +.TH "mtx-check" "1" "01-01-2013" "version 0.10" "Basic ConTeXt Syntax Checking" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script check\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nBasic ConTeXt Syntax Checking\n +.SH "OPTIONS" +.TP +.B --convert +check tex file for errors +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-check.xml b/doc/context/scripts/mkiv/mtx-check.xml new file mode 100644 index 000000000..a8dcb82fd --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-check.xml @@ -0,0 +1,15 @@ + + + + mtx-check + Basic ConTeXt Syntax Checking + 0.10 + + + + + check tex file for errors + + + + diff --git a/doc/context/scripts/mkiv/mtx-colors.html b/doc/context/scripts/mkiv/mtx-colors.html new file mode 100644 index 000000000..3628fb66a --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-colors.html @@ -0,0 +1,44 @@ + + + + + + + + + + + ConTeXt Color Management 0.10 + + + + + +
+
ConTeXt Color Management 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + +
flagvaluedescription
--tableshow icc table
+
+

Example

+mtxrun --script color --table somename +

+
+ + diff --git a/doc/context/scripts/mkiv/mtx-colors.man b/doc/context/scripts/mkiv/mtx-colors.man new file mode 100644 index 000000000..8b3767984 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-colors.man @@ -0,0 +1,17 @@ +.TH "mtx-colors" "1" "01-01-2013" "version 0.10" "ConTeXt Color Management" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script colors\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt Color Management\n +.SH "OPTIONS" +.TP +.B --table +show icc table +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-colors.xml b/doc/context/scripts/mkiv/mtx-colors.xml new file mode 100644 index 000000000..ee6418b29 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-colors.xml @@ -0,0 +1,23 @@ + + + + mtx-colors + ConTeXt Color Management + 0.10 + + + + + show icc table + + + + + + Example + + mtxrun --script color --table somename + + + + diff --git a/doc/context/scripts/mkiv/mtx-context.html b/doc/context/scripts/mkiv/mtx-context.html new file mode 100644 index 000000000..40e479d30 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-context.html @@ -0,0 +1,104 @@ + + + + + + + + + + + ConTeXt Process Management 0.60 + + + + + +
+
ConTeXt Process Management 0.60
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
flagvaluedescription
basic
--runprocess (one or more) files (default action)
--makecreate context formats
--ctx=nameuse ctx file (process management specification)
--interfaceuse specified user interface (default: en)
--autopdfclose pdf file in viewer and start pdf viewer afterwards
--purgepurge files either or not after a run (--pattern=...)
--purgeallpurge all files either or not after a run (--pattern=...)
--usemodulelistload the given module or style, normally part of the distribution
--environmentlistload the given environment file first (document styles)
--modelistenable given the modes (conditional processing in styles)
--pathlistalso consult the given paths when files are looked for
--argumentslistset variables that can be consulted during a run (key/value pairs)
--randomseednumberset the randomseed
--resultnamerename the resulting output to the given name
--trackerslistset tracker variables (show list with --showtrackers)
--directiveslistset directive variables (show list with --showdirectives)
--silentlistdisable logcatgories (show list with --showlogcategories)
--noconsoledisable logging to the console (logfile only)
--purgeresultpurge result file before run
--forcexmlforce xml stub
--forcecldforce cld (context lua document) stub
--forceluaforce lua stub (like texlua)
--forcempforce mp stub
--arrangerun extra imposition pass, given that the style sets up imposition
--noarrangeignore imposition specifications in the style
--jituse luajittex with jit turned off (only use the faster virtual machine)
--jitonuse luajittex with jit turned on (in most cases not faster, even slower)
--onceonly run once (no multipass data file is produced)
--batchmoderun without stopping and do not show messages on the console
--nonstopmoderun without stopping
--synctexrun with synctex enabled (optional value: zipped, unzipped, 1, -1)
--generategenerate file database etc. (as luatools does)
--paranoiddo not descend to .. and ../..
--versionreport installed context version
--globalassume given file present elsewhere
--nofileuse dummy file as jobname
expert
--touchupdate context version number (remake needed afterwards, also provide --expert)
--nostatisticsomit runtime statistics at the end of the run
--updateupdate context from website (not to be confused with contextgarden)
--profileprofile job (use: mtxrun --script profile --analyze)
--timinggenerate timing and statistics overview
--extra=nameprocess extra (mtx-context-... in distribution)
--extrasshow extras
special
--pdftexprocess file with texexec using pdftex
--xetexprocess file with texexec using xetex
--mkiiprocess file with texexec
--pipedo not check for file and enter scroll mode (--dummyfile=whatever.tmp)
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-context.man b/doc/context/scripts/mkiv/mtx-context.man new file mode 100644 index 000000000..6a42ea652 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-context.man @@ -0,0 +1,157 @@ +.TH "mtx-context" "1" "01-01-2013" "version 0.60" "ConTeXt Process Management" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script context\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt Process Management\n +.SH "OPTIONS: BASIC" +.TP +.B --run +process (one or more) files (default action) +.TP +.B --make +create context formats +.TP +.B --ctx=name +use ctx file (process management specification) +.TP +.B --interface +use specified user interface (default: en) +.TP +.B --autopdf +close pdf file in viewer and start pdf viewer afterwards +.TP +.B --purge +purge files either or not after a run (--pattern=...) +.TP +.B --purgeall +purge all files either or not after a run (--pattern=...) +.TP +.B --usemodule=list +load the given module or style, normally part of the distribution +.TP +.B --environment=list +load the given environment file first (document styles) +.TP +.B --mode=list +enable given the modes (conditional processing in styles) +.TP +.B --path=list +also consult the given paths when files are looked for +.TP +.B --arguments=list +set variables that can be consulted during a run (key/value pairs) +.TP +.B --randomseed=number +set the randomseed +.TP +.B --result=name +rename the resulting output to the given name +.TP +.B --trackers=list +set tracker variables (show list with --showtrackers) +.TP +.B --directives=list +set directive variables (show list with --showdirectives) +.TP +.B --silent=list +disable logcatgories (show list with --showlogcategories) +.TP +.B --noconsole +disable logging to the console (logfile only) +.TP +.B --purgeresult +purge result file before run +.TP +.B --forcexml +force xml stub +.TP +.B --forcecld +force cld (context lua document) stub +.TP +.B --forcelua +force lua stub (like texlua) +.TP +.B --forcemp +force mp stub +.TP +.B --arrange +run extra imposition pass, given that the style sets up imposition +.TP +.B --noarrange +ignore imposition specifications in the style +.TP +.B --jit +use luajittex with jit turned off (only use the faster virtual machine) +.TP +.B --jiton +use luajittex with jit turned on (in most cases not faster, even slower) +.TP +.B --once +only run once (no multipass data file is produced) +.TP +.B --batchmode +run without stopping and do not show messages on the console +.TP +.B --nonstopmode +run without stopping +.TP +.B --synctex +run with synctex enabled (optional value: zipped, unzipped, 1, -1) +.TP +.B --generate +generate file database etc. (as luatools does) +.TP +.B --paranoid +do not descend to .. and ../.. +.TP +.B --version +report installed context version +.TP +.B --global +assume given file present elsewhere +.TP +.B --nofile +use dummy file as jobname +.SH "OPTIONS: EXPERT" +.TP +.B --touch +update context version number (remake needed afterwards, also provide --expert) +.TP +.B --nostatistics +omit runtime statistics at the end of the run +.TP +.B --update +update context from website (not to be confused with contextgarden) +.TP +.B --profile +profile job (use: mtxrun --script profile --analyze) +.TP +.B --timing +generate timing and statistics overview +.TP +.B --extra=name +process extra (mtx-context-... in distribution) +.TP +.B --extras +show extras +.SH "OPTIONS: SPECIAL" +.TP +.B --pdftex +process file with texexec using pdftex +.TP +.B --xetex +process file with texexec using xetex +.TP +.B --mkii +process file with texexec +.TP +.B --pipe +do not check for file and enter scroll mode (--dummyfile=whatever.tmp) +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-context.xml b/doc/context/scripts/mkiv/mtx-context.xml new file mode 100644 index 000000000..6f52c2a91 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-context.xml @@ -0,0 +1,185 @@ + + + + mtx-context + ConTeXt Process Management + 0.60 + + + + + + process (one or more) files (default action) + + + create context formats + + + + + use ctx file (process management specification) + + + use specified user interface (default: en) + + + + + close pdf file in viewer and start pdf viewer afterwards + + + purge files either or not after a run (=...) + + + purge all files either or not after a run (=...) + + + + + load the given module or style, normally part of the distribution + + + load the given environment file first (document styles) + + + enable given the modes (conditional processing in styles) + + + also consult the given paths when files are looked for + + + set variables that can be consulted during a run (key/value pairs) + + + set the randomseed + + + rename the resulting output to the given name + + + set tracker variables (show list with ) + + + set directive variables (show list with ) + + + disable logcatgories (show list with ) + + + disable logging to the console (logfile only) + + + purge result file before run + + + + + force xml stub + + + force cld (context lua document) stub + + + force lua stub (like texlua) + + + force mp stub + + + + + run extra imposition pass, given that the style sets up imposition + + + ignore imposition specifications in the style + + + + + use luajittex with jit turned off (only use the faster virtual machine) + + + use luajittex with jit turned on (in most cases not faster, even slower) + + + + + only run once (no multipass data file is produced) + + + run without stopping and do not show messages on the console + + + run without stopping + + + run with synctex enabled (optional value: zipped, unzipped, 1, -1) + + + + + generate file database etc. (as luatools does) + + + do not descend to .. and ../.. + + + report installed context version + + + + + assume given file present elsewhere + + + use dummy file as jobname + + + + + + + update context version number (remake needed afterwards, also provide ) + + + omit runtime statistics at the end of the run + + + update context from website (not to be confused with contextgarden) + + + profile job (use: mtxrun profile ) + + + generate timing and statistics overview + + + + + process extra (mtx-context-... in distribution) + + + show extras + + + + + + + process file with texexec using pdftex + + + process file with texexec using xetex + + + process file with texexec + + + + + do not check for file and enter scroll mode (=whatever.tmp) + + + + + diff --git a/doc/context/scripts/mkiv/mtx-epub.html b/doc/context/scripts/mkiv/mtx-epub.html new file mode 100644 index 000000000..6c8bb99d8 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-epub.html @@ -0,0 +1,44 @@ + + + + + + + + + + + ConTeXt EPUB Helpers 0.12 + + + + + +
+
ConTeXt EPUB Helpers 0.12
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + +
flagvaluedescription
--makecreate epub zip file
+
+

Example

+mtxrun --script epub --make mydocument +

+
+ + diff --git a/doc/context/scripts/mkiv/mtx-epub.man b/doc/context/scripts/mkiv/mtx-epub.man new file mode 100644 index 000000000..c42542dfe --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-epub.man @@ -0,0 +1,17 @@ +.TH "mtx-epub" "1" "01-01-2013" "version 0.12" "ConTeXt EPUB Helpers" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script epub\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt EPUB Helpers\n +.SH "OPTIONS" +.TP +.B --make +create epub zip file +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-epub.xml b/doc/context/scripts/mkiv/mtx-epub.xml new file mode 100644 index 000000000..5ef5dc81b --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-epub.xml @@ -0,0 +1,23 @@ + + + + mtx-epub + ConTeXt EPUB Helpers + 0.12 + + + + + create epub zip file + + + + + + Example + + mtxrun --script epub --make mydocument + + + + diff --git a/doc/context/scripts/mkiv/mtx-fcd.html b/doc/context/scripts/mkiv/mtx-fcd.html new file mode 100644 index 000000000..0719d9c0b --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-fcd.html @@ -0,0 +1,56 @@ + + + + + + + + + + + Fast Directory Change 1.00 + + + + + +
+
Fast Directory Change 1.00
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + +
flagvaluedescription
--clearclear the cache
--clear--history [entry] clear the history
--scanclear the cache and add given path(s)
--addadd given path(s)
--findfind given path (can be substring)
--find--nohistory find given path (can be substring) but don't use history
--stubprint platform stub file
--listshow roots of cached dirs
--list--history show history of chosen dirs
--helpshow this help
+
+

Example

+fcd --scan t:\ +
fcd --add f:\project +
fcd [--find] whatever +
fcd --list +

+
+ + diff --git a/doc/context/scripts/mkiv/mtx-fcd.man b/doc/context/scripts/mkiv/mtx-fcd.man new file mode 100644 index 000000000..aa3a93ce7 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-fcd.man @@ -0,0 +1,44 @@ +.TH "mtx-fcd" "1" "01-01-2013" "version 1.00" "Fast Directory Change" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script fcd\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nFast Directory Change\n +.SH "OPTIONS" +.TP +.B --clear +clear the cache +.TP +.B --clear +--history [entry] clear the history +.TP +.B --scan +clear the cache and add given path(s) +.TP +.B --add +add given path(s) +.TP +.B --find +find given path (can be substring) +.TP +.B --find +--nohistory find given path (can be substring) but don't use history +.TP +.B --stub +print platform stub file +.TP +.B --list +show roots of cached dirs +.TP +.B --list +--history show history of chosen dirs +.TP +.B --help +show this help +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-fcd.xml b/doc/context/scripts/mkiv/mtx-fcd.xml new file mode 100644 index 000000000..f20975efd --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-fcd.xml @@ -0,0 +1,35 @@ + + + + mtx-fcd + Fast Directory Change + 1.00 + + + + + clear the cache + [entry] clear the history + clear the cache and add given path(s) + add given path(s) + find given path (can be substring) + find given path (can be substring) but don't use history + print platform stub file + show roots of cached dirs + show history of chosen dirs + show this help + + + + + + Example + + fcd --scan t:\ + fcd --add f:\project + fcd [--find] whatever + fcd --list + + + + diff --git a/doc/context/scripts/mkiv/mtx-flac.html b/doc/context/scripts/mkiv/mtx-flac.html new file mode 100644 index 000000000..293b1cb95 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-flac.html @@ -0,0 +1,45 @@ + + + + + + + + + + + ConTeXt Flac Helpers 0.10 + + + + + +
+
ConTeXt Flac Helpers 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + +
flagvaluedescription
--collectcollect albums in xml file
+
+

Example

+mtxrun --script flac --collect somename.flac +
mtxrun --script flac --collect --pattern="m:/music/**") +

+
+ + diff --git a/doc/context/scripts/mkiv/mtx-flac.man b/doc/context/scripts/mkiv/mtx-flac.man new file mode 100644 index 000000000..576783a23 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-flac.man @@ -0,0 +1,17 @@ +.TH "mtx-flac" "1" "01-01-2013" "version 0.10" "ConTeXt Flac Helpers" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script flac\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt Flac Helpers\n +.SH "OPTIONS" +.TP +.B --collect +collect albums in xml file +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-flac.xml b/doc/context/scripts/mkiv/mtx-flac.xml new file mode 100644 index 000000000..bd5fc9bc9 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-flac.xml @@ -0,0 +1,24 @@ + + + + mtx-flac + ConTeXt Flac Helpers + 0.10 + + + + + collect albums in xml file + + + + + + Example + + mtxrun --script flac --collect somename.flac + mtxrun --script flac --collect --pattern="m:/music/**") + + + + diff --git a/doc/context/scripts/mkiv/mtx-fonts.html b/doc/context/scripts/mkiv/mtx-fonts.html new file mode 100644 index 000000000..5fdfc5feb --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-fonts.html @@ -0,0 +1,71 @@ + + + + + + + + + + + ConTeXt Font Database Management 0.21 + + + + + +
+
ConTeXt Font Database Management 0.21
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + + +
flagvaluedescription
--savesave open type font in raw table
--unpacksave a tma file in a more readale format
--reloadgenerate new font database (use --force when in doubt)
--reload--simple:generate luatex-fonts-names.lua (not for context!)
--list--name: list installed fonts, filter by name [--pattern]
--list--spec: list installed fonts, filter by spec [--filter]
--list--file: list installed fonts, filter by file [--pattern]
--patternstrfilter files using pattern
--filterlistkey-value pairs
--allshow all found instances (combined with other flags)
--infogive more details
--tracklistenable trackers
--statisticssome info about the database
+
+

Examples

+mtxrun --script font --list somename (== --pattern=*somename*) +

mtxrun --script font --list --name somename +
mtxrun --script font --list --name --pattern=*somename* +

mtxrun --script font --list --spec somename +
mtxrun --script font --list --spec somename-bold-italic +
mtxrun --script font --list --spec --pattern=*somename* +
mtxrun --script font --list --spec --filter="fontname=somename" +
mtxrun --script font --list --spec --filter="familyname=somename,weight=bold,style=italic,width=condensed" +
mtxrun --script font --list --spec --filter="familyname=crap*,weight=bold,style=italic" +

mtxrun --script font --list --all +
mtxrun --script font --list --file somename +
mtxrun --script font --list --file --all somename +
mtxrun --script font --list --file --pattern=*somename* +

+
+ + diff --git a/doc/context/scripts/mkiv/mtx-fonts.man b/doc/context/scripts/mkiv/mtx-fonts.man new file mode 100644 index 000000000..b8f1a26e2 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-fonts.man @@ -0,0 +1,53 @@ +.TH "mtx-fonts" "1" "01-01-2013" "version 0.21" "ConTeXt Font Database Management" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script fonts\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt Font Database Management\n +.SH "OPTIONS" +.TP +.B --save +save open type font in raw table +.TP +.B --unpack +save a tma file in a more readale format +.TP +.B --reload +generate new font database (use --force when in doubt) +.TP +.B --reload +--simple:generate luatex-fonts-names.lua (not for context!) +.TP +.B --list +--name: list installed fonts, filter by name [--pattern] +.TP +.B --list +--spec: list installed fonts, filter by spec [--filter] +.TP +.B --list +--file: list installed fonts, filter by file [--pattern] +.TP +.B --pattern=str +filter files using pattern +.TP +.B --filter=list +key-value pairs +.TP +.B --all +show all found instances (combined with other flags) +.TP +.B --info +give more details +.TP +.B --track=list +enable trackers +.TP +.B --statistics +some info about the database +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-fonts.xml b/doc/context/scripts/mkiv/mtx-fonts.xml new file mode 100644 index 000000000..f38633e51 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-fonts.xml @@ -0,0 +1,59 @@ + + + + mtx-fonts + ConTeXt Font Database Management + 0.21 + + + + + save open type font in raw table + save a tma file in a more readale format + + + generate new font database (use when in doubt) + :generate luatex-fonts-names.lua (not for context!) + + + : list installed fonts, filter by name [] + : list installed fonts, filter by spec [] + : list installed fonts, filter by file [] + + + filter files using pattern + key-value pairs + show all found instances (combined with other flags) + give more details + enable trackers + some info about the database + + + + + + Examples + + mtxrun --script font --list somename (== --pattern=*somename*) + + + mtxrun --script font --list --name somename + mtxrun --script font --list --name --pattern=*somename* + + + mtxrun --script font --list --spec somename + mtxrun --script font --list --spec somename-bold-italic + mtxrun --script font --list --spec --pattern=*somename* + mtxrun --script font --list --spec --filter="fontname=somename" + mtxrun --script font --list --spec --filter="familyname=somename,weight=bold,style=italic,width=condensed" + mtxrun --script font --list --spec --filter="familyname=crap*,weight=bold,style=italic" + + + mtxrun --script font --list --all + mtxrun --script font --list --file somename + mtxrun --script font --list --file --all somename + mtxrun --script font --list --file --pattern=*somename* + + + + diff --git a/doc/context/scripts/mkiv/mtx-grep.html b/doc/context/scripts/mkiv/mtx-grep.html new file mode 100644 index 000000000..3df541ba8 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-grep.html @@ -0,0 +1,45 @@ + + + + + + + + + + + Simple Grepper 0.10 + + + + + +
+
Simple Grepper 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + +
flagvaluedescription
--patternsearch for pattern (optional)
--countcount matches only
--nocommentskip lines that start with %% or #
--xmlpattern is lpath expression
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-grep.man b/doc/context/scripts/mkiv/mtx-grep.man new file mode 100644 index 000000000..7669553cb --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-grep.man @@ -0,0 +1,26 @@ +.TH "mtx-grep" "1" "01-01-2013" "version 0.10" "Simple Grepper" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script grep\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nSimple Grepper\n +.SH "OPTIONS" +.TP +.B --pattern +search for pattern (optional) +.TP +.B --count +count matches only +.TP +.B --nocomment +skip lines that start with %% or # +.TP +.B --xml +pattern is lpath expression +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-grep.xml b/doc/context/scripts/mkiv/mtx-grep.xml new file mode 100644 index 000000000..d8567e035 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-grep.xml @@ -0,0 +1,21 @@ + + + + mtx-grep + Simple Grepper + 0.10 + + + + + search for pattern (optional) + count matches only + skip lines that start with %% or # + pattern is lpath expression + + + + + patterns are lua patterns and need to be escaped accordingly + + diff --git a/doc/context/scripts/mkiv/mtx-interface.html b/doc/context/scripts/mkiv/mtx-interface.html new file mode 100644 index 000000000..25d263925 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-interface.html @@ -0,0 +1,60 @@ + + + + + + + + + + + ConTeXt Interface Related Goodies 0.13 + + + + + +
+
ConTeXt Interface Related Goodies 0.13
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + + + + + +
flagvaluedescription
--interfacesgenerate context interface files
--messagesgenerate context message files
--labelsgenerate context label files
--contextequals --interfaces --messages --languages
--scitegenerate scite interface
--bbeditgenerate bbedit interface files
--jeditgenerate jedit interface files
--textpadgenerate textpad interface files
--textcreate text files for commands and environments
--rawreport commands to the console
--checkgenerate check file
--toutfreplace named characters by utf
--preprocesspreprocess mkvi files to tex files [force,suffix]
--suffixuse given suffix for output files
--forceforce action even when in doubt
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-interface.man b/doc/context/scripts/mkiv/mtx-interface.man new file mode 100644 index 000000000..5bb0a3d46 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-interface.man @@ -0,0 +1,59 @@ +.TH "mtx-interface" "1" "01-01-2013" "version 0.13" "ConTeXt Interface Related Goodies" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script interface\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt Interface Related Goodies\n +.SH "OPTIONS" +.TP +.B --interfaces +generate context interface files +.TP +.B --messages +generate context message files +.TP +.B --labels +generate context label files +.TP +.B --context +equals --interfaces --messages --languages +.TP +.B --scite +generate scite interface +.TP +.B --bbedit +generate bbedit interface files +.TP +.B --jedit +generate jedit interface files +.TP +.B --textpad +generate textpad interface files +.TP +.B --text +create text files for commands and environments +.TP +.B --raw +report commands to the console +.TP +.B --check +generate check file +.TP +.B --toutf +replace named characters by utf +.TP +.B --preprocess +preprocess mkvi files to tex files [force,suffix] +.TP +.B --suffix +use given suffix for output files +.TP +.B --force +force action even when in doubt +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-interface.xml b/doc/context/scripts/mkiv/mtx-interface.xml new file mode 100644 index 000000000..6150215f6 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-interface.xml @@ -0,0 +1,37 @@ + + + + mtx-interface + ConTeXt Interface Related Goodies + 0.13 + + + + + generate context interface files + generate context message files + generate context label files + + + equals + + + generate scite interface + generate bbedit interface files + generate jedit interface files + generate textpad interface files + create text files for commands and environments + report commands to the console + generate check file + + + replace named characters by utf + preprocess mkvi files to tex files [force,suffix] + + + use given suffix for output files + force action even when in doubt + + + + diff --git a/doc/context/scripts/mkiv/mtx-metapost.html b/doc/context/scripts/mkiv/mtx-metapost.html new file mode 100644 index 000000000..d9be70744 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-metapost.html @@ -0,0 +1,50 @@ + + + + + + + + + + + MetaPost to PDF processor 0.10 + + + + + +
+
MetaPost to PDF processor 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + +
flagvaluedescription
--rawmpraw metapost run
--metafunuse metafun instead of plain
--latexforce --tex=latex
--texexecforce texexec usage (mkii)
--splitsplit single result file into pages
+
+

Examples

+mtxrun --script metapost yourfile.mp +
mtxrun --script metapost --split yourfile.mp +
mtxrun --script metapost yourfile.123 myfile.mps +

+
+ + diff --git a/doc/context/scripts/mkiv/mtx-metapost.man b/doc/context/scripts/mkiv/mtx-metapost.man new file mode 100644 index 000000000..6a7919652 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-metapost.man @@ -0,0 +1,29 @@ +.TH "mtx-metapost" "1" "01-01-2013" "version 0.10" "MetaPost to PDF processor" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script metapost\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nMetaPost to PDF processor\n +.SH "OPTIONS" +.TP +.B --rawmp +raw metapost run +.TP +.B --metafun +use metafun instead of plain +.TP +.B --latex +force --tex=latex +.TP +.B --texexec +force texexec usage (mkii) +.TP +.B --split +split single result file into pages +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-metapost.xml b/doc/context/scripts/mkiv/mtx-metapost.xml new file mode 100644 index 000000000..dbeb77a2a --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-metapost.xml @@ -0,0 +1,32 @@ + + + + mtx-metapost + MetaPost to PDF processor + 0.10 + + + + + raw metapost run + use metafun instead of plain + force + force texexec usage (mkii) + split single result file into pages + + + + + + Examples + + mtxrun --script metapost yourfile.mp + mtxrun --script metapost --split yourfile.mp + mtxrun --script metapost yourfile.123 myfile.mps + + + + + other usage resembles mptopdf.pl + + diff --git a/doc/context/scripts/mkiv/mtx-metatex.html b/doc/context/scripts/mkiv/mtx-metatex.html new file mode 100644 index 000000000..ac6c33b98 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-metatex.html @@ -0,0 +1,43 @@ + + + + + + + + + + + MetaTeX Process Management 0.10 + + + + + +
+
MetaTeX Process Management 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + +
flagvaluedescription
--runprocess (one or more) files (default action)
--makecreate metatex format(s)
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-metatex.man b/doc/context/scripts/mkiv/mtx-metatex.man new file mode 100644 index 000000000..91094f910 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-metatex.man @@ -0,0 +1,20 @@ +.TH "mtx-metatex" "1" "01-01-2013" "version 0.10" "MetaTeX Process Management" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script metatex\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nMetaTeX Process Management\n +.SH "OPTIONS" +.TP +.B --run +process (one or more) files (default action) +.TP +.B --make +create metatex format(s) +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-metatex.xml b/doc/context/scripts/mkiv/mtx-metatex.xml new file mode 100644 index 000000000..649673fbf --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-metatex.xml @@ -0,0 +1,16 @@ + + + + mtx-metatex + MetaTeX Process Management + 0.10 + + + + + process (one or more) files (default action) + create metatex format(s) + + + + diff --git a/doc/context/scripts/mkiv/mtx-modules.html b/doc/context/scripts/mkiv/mtx-modules.html new file mode 100644 index 000000000..4edfbdb82 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-modules.html @@ -0,0 +1,44 @@ + + + + + + + + + + + ConTeXt Module Documentation Generators 1.00 + + + + + +
+
ConTeXt Module Documentation Generators 1.00
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + +
flagvaluedescription
--convertconvert source files (tex, mkii, mkiv, mp) to 'ted' files
--processprocess source files (tex, mkii, mkiv, mp) to 'pdf' files
--prepuse original name with suffix 'prep' appended
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-modules.man b/doc/context/scripts/mkiv/mtx-modules.man new file mode 100644 index 000000000..b15a68ee1 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-modules.man @@ -0,0 +1,23 @@ +.TH "mtx-modules" "1" "01-01-2013" "version 1.00" "ConTeXt Module Documentation Generators" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script modules\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt Module Documentation Generators\n +.SH "OPTIONS" +.TP +.B --convert +convert source files (tex, mkii, mkiv, mp) to 'ted' files +.TP +.B --process +process source files (tex, mkii, mkiv, mp) to 'pdf' files +.TP +.B --prep +use original name with suffix 'prep' appended +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-modules.xml b/doc/context/scripts/mkiv/mtx-modules.xml new file mode 100644 index 000000000..fe0311d16 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-modules.xml @@ -0,0 +1,17 @@ + + + + mtx-modules + ConTeXt Module Documentation Generators + 1.00 + + + + + convert source files (tex, mkii, mkiv, mp) to 'ted' files + process source files (tex, mkii, mkiv, mp) to 'pdf' files + use original name with suffix 'prep' appended + + + + diff --git a/doc/context/scripts/mkiv/mtx-package.html b/doc/context/scripts/mkiv/mtx-package.html new file mode 100644 index 000000000..42e54a3ac --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-package.html @@ -0,0 +1,42 @@ + + + + + + + + + + + Distribution Related Goodies 0.10 + + + + + +
+
Distribution Related Goodies 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + +
flagvaluedescription
--mergemerge 'loadmodule' into merge file
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-package.man b/doc/context/scripts/mkiv/mtx-package.man new file mode 100644 index 000000000..4425ae87e --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-package.man @@ -0,0 +1,17 @@ +.TH "mtx-package" "1" "01-01-2013" "version 0.10" "Distribution Related Goodies" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script package\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nDistribution Related Goodies\n +.SH "OPTIONS" +.TP +.B --merge +merge 'loadmodule' into merge file +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-package.xml b/doc/context/scripts/mkiv/mtx-package.xml new file mode 100644 index 000000000..044370426 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-package.xml @@ -0,0 +1,15 @@ + + + + mtx-package + Distribution Related Goodies + 0.10 + + + + + merge 'loadmodule' into merge file + + + + diff --git a/doc/context/scripts/mkiv/mtx-patterns.html b/doc/context/scripts/mkiv/mtx-patterns.html new file mode 100644 index 000000000..427bee3bd --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-patterns.html @@ -0,0 +1,51 @@ + + + + + + + + + + + ConTeXt Pattern File Management 0.20 + + + + + +
+
ConTeXt Pattern File Management 0.20
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + +
flagvaluedescription
--convertgenerate context language files (mnemonic driven, if not given then all)
--checkcheck pattern file (or those used by context when no file given)
--pathsource path where hyph-foo.tex files are stored
--destinationdestination path
--specificationadditional patterns: e.g.: =cy,hyph-cy,welsh
+
+

Examples

+mtxrun --script pattern --check hyph-*.tex +
mtxrun --script pattern --check --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns +
mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex --destination=e:/tmp/patterns +
mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/txt --destination=e:/tmp/patterns +

+
+ + diff --git a/doc/context/scripts/mkiv/mtx-patterns.man b/doc/context/scripts/mkiv/mtx-patterns.man new file mode 100644 index 000000000..55192b522 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-patterns.man @@ -0,0 +1,29 @@ +.TH "mtx-patterns" "1" "01-01-2013" "version 0.20" "ConTeXt Pattern File Management" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script patterns\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt Pattern File Management\n +.SH "OPTIONS" +.TP +.B --convert +generate context language files (mnemonic driven, if not given then all) +.TP +.B --check +check pattern file (or those used by context when no file given) +.TP +.B --path +source path where hyph-foo.tex files are stored +.TP +.B --destination +destination path +.TP +.B --specification +additional patterns: e.g.: =cy,hyph-cy,welsh +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-patterns.xml b/doc/context/scripts/mkiv/mtx-patterns.xml new file mode 100644 index 000000000..f3255aebe --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-patterns.xml @@ -0,0 +1,30 @@ + + + + mtx-patterns + ConTeXt Pattern File Management + 0.20 + + + + + generate context language files (mnemonic driven, if not given then all) + check pattern file (or those used by context when no file given) + source path where hyph-foo.tex files are stored + destination path + additional patterns: e.g.: =cy,hyph-cy,welsh + + + + + + Examples + + mtxrun --script pattern --check hyph-*.tex + mtxrun --script pattern --check --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns + mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex --destination=e:/tmp/patterns + mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/txt --destination=e:/tmp/patterns + + + + diff --git a/doc/context/scripts/mkiv/mtx-pdf.html b/doc/context/scripts/mkiv/mtx-pdf.html new file mode 100644 index 000000000..be923581f --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-pdf.html @@ -0,0 +1,44 @@ + + + + + + + + + + + ConTeXt PDF Helpers 0.10 + + + + + +
+
ConTeXt PDF Helpers 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + +
flagvaluedescription
--infoshow some info about the given file
--metadatashow metadata xml blob
--fontsshow used fonts (--detail)
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-pdf.man b/doc/context/scripts/mkiv/mtx-pdf.man new file mode 100644 index 000000000..971e7c4a8 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-pdf.man @@ -0,0 +1,23 @@ +.TH "mtx-pdf" "1" "01-01-2013" "version 0.10" "ConTeXt PDF Helpers" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script pdf\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt PDF Helpers\n +.SH "OPTIONS" +.TP +.B --info +show some info about the given file +.TP +.B --metadata +show metadata xml blob +.TP +.B --fonts +show used fonts (--detail) +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-pdf.xml b/doc/context/scripts/mkiv/mtx-pdf.xml new file mode 100644 index 000000000..22e85988b --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-pdf.xml @@ -0,0 +1,17 @@ + + + + mtx-pdf + ConTeXt PDF Helpers + 0.10 + + + + + show some info about the given file + show metadata xml blob + show used fonts ( + + + + diff --git a/doc/context/scripts/mkiv/mtx-profile.html b/doc/context/scripts/mkiv/mtx-profile.html new file mode 100644 index 000000000..843349e4d --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-profile.html @@ -0,0 +1,43 @@ + + + + + + + + + + + ConTeXt MkIV LuaTeX Profiler 1.00 + + + + + +
+
ConTeXt MkIV LuaTeX Profiler 1.00
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + +
flagvaluedescription
--analyzeanalyze lua calls
--traceanalyze tex calls
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-profile.man b/doc/context/scripts/mkiv/mtx-profile.man new file mode 100644 index 000000000..d7133569f --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-profile.man @@ -0,0 +1,20 @@ +.TH "mtx-profile" "1" "01-01-2013" "version 1.00" "ConTeXt MkIV LuaTeX Profiler" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script profile\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt MkIV LuaTeX Profiler\n +.SH "OPTIONS" +.TP +.B --analyze +analyze lua calls +.TP +.B --trace +analyze tex calls +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-profile.xml b/doc/context/scripts/mkiv/mtx-profile.xml new file mode 100644 index 000000000..48252c2c8 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-profile.xml @@ -0,0 +1,16 @@ + + + + mtx-profile + ConTeXt MkIV LuaTeX Profiler + 1.00 + + + + + analyze lua calls + analyze tex calls + + + + diff --git a/doc/context/scripts/mkiv/mtx-rsync.html b/doc/context/scripts/mkiv/mtx-rsync.html new file mode 100644 index 000000000..0f805ff83 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-rsync.html @@ -0,0 +1,44 @@ + + + + + + + + + + + Rsync Helpers 0.10 + + + + + +
+
Rsync Helpers 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + +
flagvaluedescription
--jobuse given file as specification
--dryrunshow what would happen
--forceforce run
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-rsync.man b/doc/context/scripts/mkiv/mtx-rsync.man new file mode 100644 index 000000000..25b47cc56 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-rsync.man @@ -0,0 +1,23 @@ +.TH "mtx-rsync" "1" "01-01-2013" "version 0.10" "Rsync Helpers" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script rsync\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nRsync Helpers\n +.SH "OPTIONS" +.TP +.B --job +use given file as specification +.TP +.B --dryrun +show what would happen +.TP +.B --force +force run +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-rsync.xml b/doc/context/scripts/mkiv/mtx-rsync.xml new file mode 100644 index 000000000..28352cc36 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-rsync.xml @@ -0,0 +1,17 @@ + + + + mtx-rsync + Rsync Helpers + 0.10 + + + + + use given file as specification + show what would happen + force run + + + + diff --git a/doc/context/scripts/mkiv/mtx-scite.html b/doc/context/scripts/mkiv/mtx-scite.html new file mode 100644 index 000000000..041fbaa51 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-scite.html @@ -0,0 +1,42 @@ + + + + + + + + + + + Scite Helper Script 1.00 + + + + + +
+
Scite Helper Script 1.00
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + +
flagvaluedescription
--wordsconvert spell-*.txt into spell-*.lua
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-scite.man b/doc/context/scripts/mkiv/mtx-scite.man new file mode 100644 index 000000000..9656aef1f --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-scite.man @@ -0,0 +1,17 @@ +.TH "mtx-scite" "1" "01-01-2013" "version 1.00" "Scite Helper Script" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script scite\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nScite Helper Script\n +.SH "OPTIONS" +.TP +.B --words +convert spell-*.txt into spell-*.lua +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-scite.xml b/doc/context/scripts/mkiv/mtx-scite.xml new file mode 100644 index 000000000..87fe506dc --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-scite.xml @@ -0,0 +1,15 @@ + + + + mtx-scite + Scite Helper Script + 1.00 + + + + + convert spell-*.txt into spell-*.lua + + + + diff --git a/doc/context/scripts/mkiv/mtx-server.html b/doc/context/scripts/mkiv/mtx-server.html new file mode 100644 index 000000000..74d1d40f1 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-server.html @@ -0,0 +1,47 @@ + + + + + + + + + + + Simple Webserver For Helpers 0.10 + + + + + +
+
Simple Webserver For Helpers 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + +
flagvaluedescription
--startstart server
--portport to listen to
--rootserver root
--scriptsscripts sub path
--indexindex file
--autostart on own path
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-server.man b/doc/context/scripts/mkiv/mtx-server.man new file mode 100644 index 000000000..66060f7ba --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-server.man @@ -0,0 +1,32 @@ +.TH "mtx-server" "1" "01-01-2013" "version 0.10" "Simple Webserver For Helpers" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script server\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nSimple Webserver For Helpers\n +.SH "OPTIONS" +.TP +.B --start +start server +.TP +.B --port +port to listen to +.TP +.B --root +server root +.TP +.B --scripts +scripts sub path +.TP +.B --index +index file +.TP +.B --auto +start on own path +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-server.xml b/doc/context/scripts/mkiv/mtx-server.xml new file mode 100644 index 000000000..d7f3988ba --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-server.xml @@ -0,0 +1,20 @@ + + + + mtx-server + Simple Webserver For Helpers + 0.10 + + + + + start server + port to listen to + server root + scripts sub path + index file + start on own path + + + + diff --git a/doc/context/scripts/mkiv/mtx-texworks.html b/doc/context/scripts/mkiv/mtx-texworks.html new file mode 100644 index 000000000..996fe90eb --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-texworks.html @@ -0,0 +1,43 @@ + + + + + + + + + + + TeXworks Startup Script 1.00 + + + + + +
+
TeXworks Startup Script 1.00
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + +
flagvaluedescription
--start[--verbose] start texworks
--testreport what will happen
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-texworks.man b/doc/context/scripts/mkiv/mtx-texworks.man new file mode 100644 index 000000000..153e4ab7a --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-texworks.man @@ -0,0 +1,20 @@ +.TH "mtx-texworks" "1" "01-01-2013" "version 1.00" "TeXworks Startup Script" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script texworks\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nTeXworks Startup Script\n +.SH "OPTIONS" +.TP +.B --start +[--verbose] start texworks +.TP +.B --test +report what will happen +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-texworks.xml b/doc/context/scripts/mkiv/mtx-texworks.xml new file mode 100644 index 000000000..0dcb6b9dc --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-texworks.xml @@ -0,0 +1,16 @@ + + + + mtx-texworks + TeXworks Startup Script + 1.00 + + + + + [ start texworks + report what will happen + + + + diff --git a/doc/context/scripts/mkiv/mtx-tools.html b/doc/context/scripts/mkiv/mtx-tools.html new file mode 100644 index 000000000..c4f25b2ed --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-tools.html @@ -0,0 +1,56 @@ + + + + + + + + + + + Some File Related Goodies 1.01 + + + + + +
+
Some File Related Goodies 1.01
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + +
flagvaluedescription
--disarmutfbombremove utf bomb if present
--forceremove indeed
--dirtoxmlglob directory into xml
--patternglob pattern (default: *)
--urlurl attribute (no processing)
--rootthe root of the globbed path (default: .)
--outputoutput filename (console by default)
--recurserecurse into subdirecories
--stripnametake pathpart of given pattern
--longnameset name attributes to full path name
--patternglob pattern (default: *)
--recurserecurse into subdirecories
--forcedowncase indeed
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-tools.man b/doc/context/scripts/mkiv/mtx-tools.man new file mode 100644 index 000000000..6cf9a1a1d --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-tools.man @@ -0,0 +1,53 @@ +.TH "mtx-tools" "1" "01-01-2013" "version 1.01" "Some File Related Goodies" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script tools\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nSome File Related Goodies\n +.SH "OPTIONS" +.TP +.B --disarmutfbomb +remove utf bomb if present +.TP +.B --force +remove indeed +.TP +.B --dirtoxml +glob directory into xml +.TP +.B --pattern +glob pattern (default: *) +.TP +.B --url +url attribute (no processing) +.TP +.B --root +the root of the globbed path (default: .) +.TP +.B --output +output filename (console by default) +.TP +.B --recurse +recurse into subdirecories +.TP +.B --stripname +take pathpart of given pattern +.TP +.B --longname +set name attributes to full path name +.TP +.B --pattern +glob pattern (default: *) +.TP +.B --recurse +recurse into subdirecories +.TP +.B --force +downcase indeed +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-tools.xml b/doc/context/scripts/mkiv/mtx-tools.xml new file mode 100644 index 000000000..a2ce84d5b --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-tools.xml @@ -0,0 +1,31 @@ + + + + mtx-tools + Some File Related Goodies + 1.01 + + + + + remove utf bomb if present + remove indeed + + + glob directory into xml + glob pattern (default: *) + url attribute (no processing) + the root of the globbed path (default: .) + output filename (console by default) + recurse into subdirecories + take pathpart of given pattern + set name attributes to full path name + + + glob pattern (default: *) + recurse into subdirecories + downcase indeed + + + + diff --git a/doc/context/scripts/mkiv/mtx-unzip.html b/doc/context/scripts/mkiv/mtx-unzip.html new file mode 100644 index 000000000..58c124487 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-unzip.html @@ -0,0 +1,44 @@ + + + + + + + + + + + Simple Unzipper 0.10 + + + + + +
+
Simple Unzipper 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + +
flagvaluedescription
--listlist files in archive
--junkflatten unzipped directory structure
--extractextract files
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-unzip.man b/doc/context/scripts/mkiv/mtx-unzip.man new file mode 100644 index 000000000..089d9909a --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-unzip.man @@ -0,0 +1,23 @@ +.TH "mtx-unzip" "1" "01-01-2013" "version 0.10" "Simple Unzipper" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script unzip\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nSimple Unzipper\n +.SH "OPTIONS" +.TP +.B --list +list files in archive +.TP +.B --junk +flatten unzipped directory structure +.TP +.B --extract +extract files +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-unzip.xml b/doc/context/scripts/mkiv/mtx-unzip.xml new file mode 100644 index 000000000..9f56ca076 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-unzip.xml @@ -0,0 +1,17 @@ + + + + mtx-unzip + Simple Unzipper + 0.10 + + + + + list files in archive + flatten unzipped directory structure + extract files + + + + diff --git a/doc/context/scripts/mkiv/mtx-update.html b/doc/context/scripts/mkiv/mtx-update.html new file mode 100644 index 000000000..ea04dcfb3 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-update.html @@ -0,0 +1,59 @@ + + + + + + + + + + + ConTeXt Minimals Updater 0.31 + + + + + +
+
ConTeXt Minimals Updater 0.31
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + + + + +
flagvaluedescription
--platformstringplatform (windows, linux, linux-64, osx-intel, osx-ppc, linux-ppc)
--serverstringrepository url (rsync://contextgarden.net)
--modulestringrepository url (minimals)
--repositorystringspecify version (current, experimental)
--contextstringspecify version (current, latest, beta, yyyy.mm.dd)
--rsyncstringrsync binary (rsync)
--texrootstringinstallation directory (not guessed for the moment)
--enginestringtex engine (luatex, pdftex, xetex)
--modulesstringextra modules (can be list or 'all')
--fontsstringadditional fonts (can be list or 'all')
--goodiesstringextra binaries (like scite and texworks)
--forceinstead of a dryrun, do the real thing
--updateupdate minimal tree
--makealso make formats and generate file databases
--keepdon't delete unused or obsolete files
--stateupdate tree using saved state
--cygwinadapt drive specs to cygwin
--mingwassume mingw binaries being used
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-update.man b/doc/context/scripts/mkiv/mtx-update.man new file mode 100644 index 000000000..b23bda375 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-update.man @@ -0,0 +1,68 @@ +.TH "mtx-update" "1" "01-01-2013" "version 0.31" "ConTeXt Minimals Updater" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script update\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt Minimals Updater\n +.SH "OPTIONS" +.TP +.B --platform=string +platform (windows, linux, linux-64, osx-intel, osx-ppc, linux-ppc) +.TP +.B --server=string +repository url (rsync://contextgarden.net) +.TP +.B --module=string +repository url (minimals) +.TP +.B --repository=string +specify version (current, experimental) +.TP +.B --context=string +specify version (current, latest, beta, yyyy.mm.dd) +.TP +.B --rsync=string +rsync binary (rsync) +.TP +.B --texroot=string +installation directory (not guessed for the moment) +.TP +.B --engine=string +tex engine (luatex, pdftex, xetex) +.TP +.B --modules=string +extra modules (can be list or 'all') +.TP +.B --fonts=string +additional fonts (can be list or 'all') +.TP +.B --goodies=string +extra binaries (like scite and texworks) +.TP +.B --force +instead of a dryrun, do the real thing +.TP +.B --update +update minimal tree +.TP +.B --make +also make formats and generate file databases +.TP +.B --keep +don't delete unused or obsolete files +.TP +.B --state +update tree using saved state +.TP +.B --cygwin +adapt drive specs to cygwin +.TP +.B --mingw +assume mingw binaries being used +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-update.xml b/doc/context/scripts/mkiv/mtx-update.xml new file mode 100644 index 000000000..95e991341 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-update.xml @@ -0,0 +1,32 @@ + + + + mtx-update + ConTeXt Minimals Updater + 0.31 + + + + + platform (windows, linux, linux-64, osx-intel, osx-ppc, linux-ppc) + repository url (rsync://contextgarden.net) + repository url (minimals) + specify version (current, experimental) + specify version (current, latest, beta, yyyy.mm.dd) + rsync binary (rsync) + installation directory (not guessed for the moment) + tex engine (luatex, pdftex, xetex) + extra modules (can be list or 'all') + additional fonts (can be list or 'all') + extra binaries (like scite and texworks) + instead of a dryrun, do the real thing + update minimal tree + also make formats and generate file databases + don't delete unused or obsolete files + update tree using saved state + adapt drive specs to cygwin + assume mingw binaries being used + + + + diff --git a/doc/context/scripts/mkiv/mtx-watch.html b/doc/context/scripts/mkiv/mtx-watch.html new file mode 100644 index 000000000..a4f783e04 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-watch.html @@ -0,0 +1,49 @@ + + + + + + + + + + + ConTeXt Request Watchdog 1.00 + + + + + +
+
ConTeXt Request Watchdog 1.00
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + +
flagvaluedescription
--logpathoptional path for log files
--watchwatch given path [--delay]
--pipeuse pipe instead of execute
--delaydelay between sweeps
--automachinereplace /machine/ in path /servername/
--collectcondense log files
--cleanupdelayremove files in given path [--force]
--showlogshow log data
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-watch.man b/doc/context/scripts/mkiv/mtx-watch.man new file mode 100644 index 000000000..3d0b4f469 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-watch.man @@ -0,0 +1,38 @@ +.TH "mtx-watch" "1" "01-01-2013" "version 1.00" "ConTeXt Request Watchdog" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun --script watch\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt Request Watchdog\n +.SH "OPTIONS" +.TP +.B --logpath +optional path for log files +.TP +.B --watch +watch given path [--delay] +.TP +.B --pipe +use pipe instead of execute +.TP +.B --delay +delay between sweeps +.TP +.B --automachine +replace /machine/ in path /servername/ +.TP +.B --collect +condense log files +.TP +.B --cleanup=delay +remove files in given path [--force] +.TP +.B --showlog +show log data +.SH "AUTHOR" +More information about ConTeXt and the tools that come with it can be found at: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-watch.xml b/doc/context/scripts/mkiv/mtx-watch.xml new file mode 100644 index 000000000..14a3a5f16 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-watch.xml @@ -0,0 +1,22 @@ + + + + mtx-watch + ConTeXt Request Watchdog + 1.00 + + + + + optional path for log files + watch given path [ + use pipe instead of execute + delay between sweeps + replace /machine/ in path /servername/ + condense log files + remove files in given path [ + show log data + + + + diff --git a/doc/context/scripts/mkiv/mtxrun.html b/doc/context/scripts/mkiv/mtxrun.html new file mode 100644 index 000000000..1fa115455 --- /dev/null +++ b/doc/context/scripts/mkiv/mtxrun.html @@ -0,0 +1,94 @@ + + + + + + + + + + + ConTeXt TDS Runner Tool 1.31 + + + + + +
+
ConTeXt TDS Runner Tool 1.31
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
flagvaluedescription
--scriptrun an mtx script (lua prefered method) (--noquotes), no script gives list
--executerun a script or program (texmfstart method) (--noquotes)
--resolveresolve prefixed arguments
--ctxluarun internally (using preloaded libs)
--internalrun script using built in libraries (same as --ctxlua)
--locatelocate given filename in database (default) or system (--first --all --detail)
--autotreeuse texmf tree cf. env texmfstart_tree or texmfstarttree
--treepathtotreeuse given texmf tree (default file: setuptex.tmf)
--environmentnameuse given (tmf) environment file
--pathrunpathgo to given path before execution
--ifchangedfilenameonly execute when given file has changed (md checksum)
--iftouchedold,newonly execute when given file has changed (time stamp)
--makestubscreate stubs for (context related) scripts
--removestubsremove stubs (context related) scripts
--stubpathbinpathpaths where stubs wil be written
--windowscreate windows (mswin) stubs
--unixcreate unix (linux) stubs
--verbosegive a bit more info
--trackerslistenable given trackers
--prognamestrformat or backend
--editlaunch editor with found file
--launchlaunch files like manuals, assumes os support (--all)
--timedrunrun a script an time its run
--autogenerateregenerate databases if needed (handy when used to run context in an editor)
--usekpseuse kpse as fallback (when no mkiv and cache installed, often slower)
--forcekpseforce using kpse (handy when no mkiv and cache installed but less functionality)
--prefixesshow supported prefixes
--generategenerate file database
--variablesshow configuration variables
--configurationsshow configuration order
--directivesshow (known) directives
--trackersshow (known) trackers
--experimentsshow (known) experiments
--expand-bracesexpand complex variable
--expand-pathexpand variable (resolve paths)
--expand-varexpand variable (resolve references)
--show-pathshow path expansion of ...
--var-valuereport value of variable
--find-filereport file location
--find-pathreport path of file
--patternstringfilter variables
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtxrun.man b/doc/context/scripts/mkiv/mtxrun.man new file mode 100644 index 000000000..8a119abb8 --- /dev/null +++ b/doc/context/scripts/mkiv/mtxrun.man @@ -0,0 +1,137 @@ +.TH "mtxrun" "1" "01-01-2013" "version 1.31" "ConTeXt TDS Runner Tool" +.SH "NAME" +.PP +.SH "SYNOPSIS" +.PP +.SH \fBmtxrun\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] +.SH "DESCRIPTION"\nConTeXt TDS Runner Tool\n +.SH "OPTIONS" +.TP +.B --script +run an mtx script (lua prefered method) (--noquotes), no script gives list +.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 --autotree +use texmf tree cf. env texmfstart_tree or texmfstarttree +.TP +.B --tree=pathtotree +use given texmf tree (default file: setuptex.tmf) +.TP +.B --environment=name +use given (tmf) environment file +.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 --edit +launch editor with found file +.TP +.B --launch +launch files like manuals, assumes os support (--all) +.TP +.B --timedrun +run a script an 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 --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: + +maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context +webpage : http://www.pragma-ade.nl / http://tex.aanhet.net +wiki : http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtxrun.xml b/doc/context/scripts/mkiv/mtxrun.xml new file mode 100644 index 000000000..a7d4114d5 --- /dev/null +++ b/doc/context/scripts/mkiv/mtxrun.xml @@ -0,0 +1,79 @@ + + + + mtxrun + ConTeXt TDS Runner Tool + 1.31 + + + + + run an mtx script (lua prefered method) (), no script gives list + run a script or program (texmfstart method) () + resolve prefixed arguments + run internally (using preloaded libs) + run script using built in libraries (same as ) + locate given filename in database (default) or system ( ) + + + use texmf tree cf. env texmfstart_tree or texmfstarttree + use given texmf tree (default file: setuptex.tmf) + use given (tmf) environment file + go to given path before execution + only execute when given file has changed (md checksum) + only execute when given file has changed (time stamp) + + + create stubs for (context related) scripts + remove stubs (context related) scripts + paths where stubs wil be written + create windows (mswin) stubs + create unix (linux) stubs + + + give a bit more info + enable given trackers + format or backend + + + launch editor with found file + launch files like manuals, assumes os support () + + + run a script an time its run + regenerate databases if needed (handy when used to run context in an editor) + + + use kpse as fallback (when no mkiv and cache installed, often slower) + force using kpse (handy when no mkiv and cache installed but less functionality) + + + show supported prefixes + + + generate file database + + + show configuration variables + show configuration order + + + show (known) directives + show (known) trackers + show (known) experiments + + + expand complex variable + expand variable (resolve paths) + expand variable (resolve references) + show path expansion of ... + report value of variable + report file location + report path of file + + + filter variables + + + + diff --git a/doc/context/scripts/mtx-context.html b/doc/context/scripts/mtx-context.html deleted file mode 100644 index 4edd372de..000000000 --- a/doc/context/scripts/mtx-context.html +++ /dev/null @@ -1,552 +0,0 @@ - - - - - - - - - ConTeXt Process Management 0.60 - - - - -
-
-
- ConTeXt Process Management 0.60
-
-
-
-
-
- wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
-
-
-
-
-
-
-
-
- -
-
-

Command line options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
flagvaluedescription
basic
--runprocess (one or more) files (default action)
--makecreate context formats
--ctx=nameuse ctx file (process management specification)
--interfaceuse specified user interface (default: en)
--autopdfclose pdf file in viewer and start pdf viewer afterwards
--purgepurge files either or not after a run (--pattern=...)
--purgeallpurge all files either or not after a run (--pattern=...)
--usemodulelistload the given module or style, normally part of the distribution
--environmentlistload the given environment file first (document styles)
--modelistenable given the modes (conditional processing in styles)
--pathlistalso consult the given paths when files are looked for
--argumentslistset variables that can be consulted during a run (key/value pairs)
--randomseednumberset the randomseed
--resultnamerename the resulting output to the given name
--trackerslistset tracker variables (show list with --showtrackers)
--directiveslistset directive variables (show list with --showdirectives)
--silentlistdisable logcatgories (show list with --showlogcategories)
--noconsoledisable logging to the console (logfile only)
--purgeresultpurge result file before run
--forcexmlforce xml stub
--forcecldforce cld (context lua document) stub
--forceluaforce lua stub (like texlua)
--forcempforce mp stub
--arrangerun extra imposition pass, given that the style sets up imposition
--noarrangeignore imposition specifications in the style
--jituse luajittex with jit turned off (only use the faster virtual machine)
--jitonuse luajittex with jit turned on (in most cases not faster, even slower)
--onceonly run once (no multipass data file is produced)
--batchmoderun without stopping and do not show messages on the console
--nonstopmoderun without stopping
--generategenerate file database etc. (as luatools does)
--paranoiddo not descend to .. and ../..
--versionreport installed context version
--globalassume given file present elsewhere
--nofileuse dummy file as jobname
expert
--touchupdate context version number (remake needed afterwards, also provide --expert)
--nostatisticsomit runtime statistics at the end of the run
--updateupdate context from website (not to be confused with contextgarden)
--profileprofile job (use: mtxrun --script profile --analyze)
--timinggenerate timing and statistics overview
--extra=nameprocess extra (mtx-context-... in distribution)
--extrasshow extras
special
--pdftexprocess file with texexec using pdftex
--xetexprocess file with texexec using xetex
--mkiiprocess file with texexec
--pipedo not check for file and enter scroll mode (--dummyfile=whatever.tmp)
-
-
- - diff --git a/doc/context/scripts/mtx-context.man b/doc/context/scripts/mtx-context.man deleted file mode 100644 index 439f7bb9f..000000000 --- a/doc/context/scripts/mtx-context.man +++ /dev/null @@ -1,154 +0,0 @@ -.TH ConTeXt Process Management 0.60 -.SH "NAME" -mtx-context.SH "SYNOPSIS" -\fBmtx-context\fP [ \fIOPTIONS\fP ... ] -.SH "DESCRIPTION" -ConTeXt Process Management - -.SH "OPTIONS: BASIC" -.TP -.B --run -process (one or more) files (default action) -.TP -.B --make -create context formats -.TP -.B --ctx=name -use ctx file (process management specification) -.TP -.B --interface -use specified user interface (default: en) -.TP -.B --autopdf -close pdf file in viewer and start pdf viewer afterwards -.TP -.B --purge -purge files either or not after a run (--pattern=...) -.TP -.B --purgeall -purge all files either or not after a run (--pattern=...) -.TP -.B --usemodule=list -load the given module or style, normally part of the distribution -.TP -.B --environment=list -load the given environment file first (document styles) -.TP -.B --mode=list -enable given the modes (conditional processing in styles) -.TP -.B --path=list -also consult the given paths when files are looked for -.TP -.B --arguments=list -set variables that can be consulted during a run (key/value pairs) -.TP -.B --randomseed=number -set the randomseed -.TP -.B --result=name -rename the resulting output to the given name -.TP -.B --trackers=list -set tracker variables (show list with --showtrackers) -.TP -.B --directives=list -set directive variables (show list with --showdirectives) -.TP -.B --silent=list -disable logcatgories (show list with --showlogcategories) -.TP -.B --noconsole -disable logging to the console (logfile only) -.TP -.B --purgeresult -purge result file before run -.TP -.B --forcexml -force xml stub -.TP -.B --forcecld -force cld (context lua document) stub -.TP -.B --forcelua -force lua stub (like texlua) -.TP -.B --forcemp -force mp stub -.TP -.B --arrange -run extra imposition pass, given that the style sets up imposition -.TP -.B --noarrange -ignore imposition specifications in the style -.TP -.B --jit -use luajittex with jit turned off (only use the faster virtual machine) -.TP -.B --jiton -use luajittex with jit turned on (in most cases not faster, even slower) -.TP -.B --once -only run once (no multipass data file is produced) -.TP -.B --batchmode -run without stopping and do not show messages on the console -.TP -.B --nonstopmode -run without stopping -.TP -.B --generate -generate file database etc. (as luatools does) -.TP -.B --paranoid -do not descend to .. and ../.. -.TP -.B --version -report installed context version -.TP -.B --global -assume given file present elsewhere -.TP -.B --nofile -use dummy file as jobname -.SH "OPTIONS: EXPERT" -.TP -.B --touch -update context version number (remake needed afterwards, also provide --expert) -.TP -.B --nostatistics -omit runtime statistics at the end of the run -.TP -.B --update -update context from website (not to be confused with contextgarden) -.TP -.B --profile -profile job (use: mtxrun --script profile --analyze) -.TP -.B --timing -generate timing and statistics overview -.TP -.B --extra=name -process extra (mtx-context-... in distribution) -.TP -.B --extras -show extras -.SH "OPTIONS: SPECIAL" -.TP -.B --pdftex -process file with texexec using pdftex -.TP -.B --xetex -process file with texexec using xetex -.TP -.B --mkii -process file with texexec -.TP -.B --pipe -do not check for file and enter scroll mode (--dummyfile=whatever.tmp) -.SH "AUTHOR" -More information about ConTeXt and the tools that come with it can be found at: - -maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context -webpage : http://www.pragma-ade.nl / http://tex.aanhet.net -wiki : http://contextgarden.net diff --git a/doc/context/scripts/mtx-context.xml b/doc/context/scripts/mtx-context.xml deleted file mode 100644 index 9105056d8..000000000 --- a/doc/context/scripts/mtx-context.xml +++ /dev/null @@ -1,182 +0,0 @@ - - - - mtx-context - ConTeXt Process Management - 0.60 - - - - - - process (one or more) files (default action) - - - create context formats - - - - - use ctx file (process management specification) - - - use specified user interface (default: en) - - - - - close pdf file in viewer and start pdf viewer afterwards - - - purge files either or not after a run (=...) - - - purge all files either or not after a run (=...) - - - - - load the given module or style, normally part of the distribution - - - load the given environment file first (document styles) - - - enable given the modes (conditional processing in styles) - - - also consult the given paths when files are looked for - - - set variables that can be consulted during a run (key/value pairs) - - - set the randomseed - - - rename the resulting output to the given name - - - set tracker variables (show list with ) - - - set directive variables (show list with ) - - - disable logcatgories (show list with ) - - - disable logging to the console (logfile only) - - - purge result file before run - - - - - force xml stub - - - force cld (context lua document) stub - - - force lua stub (like texlua) - - - force mp stub - - - - - run extra imposition pass, given that the style sets up imposition - - - ignore imposition specifications in the style - - - - - use luajittex with jit turned off (only use the faster virtual machine) - - - use luajittex with jit turned on (in most cases not faster, even slower) - - - - - only run once (no multipass data file is produced) - - - run without stopping and do not show messages on the console - - - run without stopping - - - - - generate file database etc. (as luatools does) - - - do not descend to .. and ../.. - - - report installed context version - - - - - assume given file present elsewhere - - - use dummy file as jobname - - - - - - - update context version number (remake needed afterwards, also provide ) - - - omit runtime statistics at the end of the run - - - update context from website (not to be confused with contextgarden) - - - profile job (use: mtxrun profile ) - - - generate timing and statistics overview - - - - - process extra (mtx-context-... in distribution) - - - show extras - - - - - - - process file with texexec using pdftex - - - process file with texexec using xetex - - - process file with texexec - - - - - do not check for file and enter scroll mode (=whatever.tmp) - - - - - diff --git a/doc/context/scripts/mtx-fonts.html b/doc/context/scripts/mtx-fonts.html deleted file mode 100644 index b5372178c..000000000 --- a/doc/context/scripts/mtx-fonts.html +++ /dev/null @@ -1,387 +0,0 @@ - - - - - - - - - ConTeXt Font Database Management 0.21 - - - - -
-
-
- ConTeXt Font Database Management 0.21
-
-
-
-
-
- wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
-
-
-
-
-
-
-
-
- -
-
-

Command line options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
flagvaluedescription
--savesave open type font in raw table
--unpacksave a tma file in a more readale format
--reloadgenerate new font database (use --force when in doubt)
--reload--simple:generate luatex-fonts-names.lua (not for context!)
--list--name: list installed fonts, filter by name [--pattern]
--list--spec: list installed fonts, filter by spec [--filter]
--list--file: list installed fonts, filter by file [--pattern]
--patternstrfilter files using pattern
--filterlistkey-value pairs
--allshow all found instances (combined with other flags)
--infogive more details
--tracklistenable trackers
--statisticssome info about the database
-

Examples of searches

mtxrun --script font --list somename (== --pattern=*somename*)

mtxrun --script font --list --name somename
mtxrun --script font --list --name --pattern=*somename*

mtxrun --script font --list --spec somename
mtxrun --script font --list --spec somename-bold-italic
mtxrun --script font --list --spec --pattern=*somename*
mtxrun --script font --list --spec --filter="fontname=somename"
mtxrun --script font --list --spec --filter="familyname=somename,weight=bold,style=italic,width=condensed"
mtxrun --script font --list --spec --filter="familyname=crap*,weight=bold,style=italic"

mtxrun --script font --list --all
mtxrun --script font --list --file somename
mtxrun --script font --list --file --all somename
mtxrun --script font --list --file --pattern=*somename*

-
- - diff --git a/doc/context/scripts/mtx-fonts.man b/doc/context/scripts/mtx-fonts.man deleted file mode 100644 index 46dc2cc8e..000000000 --- a/doc/context/scripts/mtx-fonts.man +++ /dev/null @@ -1,53 +0,0 @@ -.TH ConTeXt Font Database Management 0.21 -.SH "NAME" -mtx-fonts.SH "SYNOPSIS" -\fBmtx-fonts\fP [ \fIOPTIONS\fP ... ] -.SH "DESCRIPTION" -ConTeXt Font Database Management - -.SH "OPTIONS" -.TP -.B --save -save open type font in raw table -.TP -.B --unpack -save a tma file in a more readale format -.TP -.B --reload -generate new font database (use --force when in doubt) -.TP -.B --reload ---simple:generate luatex-fonts-names.lua (not for context!) -.TP -.B --list ---name: list installed fonts, filter by name [--pattern] -.TP -.B --list ---spec: list installed fonts, filter by spec [--filter] -.TP -.B --list ---file: list installed fonts, filter by file [--pattern] -.TP -.B --pattern=str -filter files using pattern -.TP -.B --filter=list -key-value pairs -.TP -.B --all -show all found instances (combined with other flags) -.TP -.B --info -give more details -.TP -.B --track=list -enable trackers -.TP -.B --statistics -some info about the database -.SH "AUTHOR" -More information about ConTeXt and the tools that come with it can be found at: - -maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context -webpage : http://www.pragma-ade.nl / http://tex.aanhet.net -wiki : http://contextgarden.net diff --git a/doc/context/scripts/mtx-fonts.xml b/doc/context/scripts/mtx-fonts.xml deleted file mode 100644 index 4cd799ac3..000000000 --- a/doc/context/scripts/mtx-fonts.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - mtx-fonts - ConTeXt Font Database Management - 0.21 - - - - - save open type font in raw table - save a tma file in a more readale format - - - generate new font database (use when in doubt) - :generate luatex-fonts-names.lua (not for context!) - - - : list installed fonts, filter by name [] - : list installed fonts, filter by spec [] - : list installed fonts, filter by file [] - - - filter files using pattern - key-value pairs - show all found instances (combined with other flags) - give more details - enable trackers - some info about the database - - - - - - Examples of searches - - mtxrun --script font --list somename (== --pattern=*somename*) - - - mtxrun --script font --list --name somename - mtxrun --script font --list --name --pattern=*somename* - - - mtxrun --script font --list --spec somename - mtxrun --script font --list --spec somename-bold-italic - mtxrun --script font --list --spec --pattern=*somename* - mtxrun --script font --list --spec --filter="fontname=somename" - mtxrun --script font --list --spec --filter="familyname=somename,weight=bold,style=italic,width=condensed" - mtxrun --script font --list --spec --filter="familyname=crap*,weight=bold,style=italic" - - - mtxrun --script font --list --all - mtxrun --script font --list --file somename - mtxrun --script font --list --file --all somename - mtxrun --script font --list --file --pattern=*somename* - - - - diff --git a/doc/context/scripts/mtxrun.html b/doc/context/scripts/mtxrun.html deleted file mode 100644 index ffae8cec7..000000000 --- a/doc/context/scripts/mtxrun.html +++ /dev/null @@ -1,527 +0,0 @@ - - - - - - - - - ConTeXt TDS Runner Tool 1.31 - - - - -
-
-
- ConTeXt TDS Runner Tool 1.31
-
-
-
-
-
- wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
-
-
-
-
-
-
-
-
- -
-
-

Command line options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
flagvaluedescription
--scriptrun an mtx script (lua prefered method) (--noquotes), no script gives list
--executerun a script or program (texmfstart method) (--noquotes)
--resolveresolve prefixed arguments
--ctxluarun internally (using preloaded libs)
--internalrun script using built in libraries (same as --ctxlua)
--locatelocate given filename in database (default) or system (--first --all --detail)
--autotreeuse texmf tree cf. env texmfstart_tree or texmfstarttree
--treepathtotreeuse given texmf tree (default file: setuptex.tmf)
--environmentnameuse given (tmf) environment file
--pathrunpathgo to given path before execution
--ifchangedfilenameonly execute when given file has changed (md checksum)
--iftouchedold,newonly execute when given file has changed (time stamp)
--makestubscreate stubs for (context related) scripts
--removestubsremove stubs (context related) scripts
--stubpathbinpathpaths where stubs wil be written
--windowscreate windows (mswin) stubs
--unixcreate unix (linux) stubs
--verbosegive a bit more info
--trackerslistenable given trackers
--prognamestrformat or backend
--editlaunch editor with found file
--launchlaunch files like manuals, assumes os support (--all)
--timedrunrun a script an time its run
--autogenerateregenerate databases if needed (handy when used to run context in an editor)
--usekpseuse kpse as fallback (when no mkiv and cache installed, often slower)
--forcekpseforce using kpse (handy when no mkiv and cache installed but less functionality)
--prefixesshow supported prefixes
--generategenerate file database
--variablesshow configuration variables
--configurationsshow configuration order
--directivesshow (known) directives
--trackersshow (known) trackers
--experimentsshow (known) experiments
--expand-bracesexpand complex variable
--expand-pathexpand variable (resolve paths)
--expand-varexpand variable (resolve references)
--show-pathshow path expansion of ...
--var-valuereport value of variable
--find-filereport file location
--find-pathreport path of file
--patternstringfilter variables
-
-
- - diff --git a/doc/context/scripts/mtxrun.man b/doc/context/scripts/mtxrun.man deleted file mode 100644 index 744146fc8..000000000 --- a/doc/context/scripts/mtxrun.man +++ /dev/null @@ -1,137 +0,0 @@ -.TH ConTeXt TDS Runner Tool 1.31 -.SH "NAME" -mtxrun.SH "SYNOPSIS" -\fBmtxrun\fP [ \fIOPTIONS\fP ... ] -.SH "DESCRIPTION" -ConTeXt TDS Runner Tool - -.SH "OPTIONS" -.TP -.B --script -run an mtx script (lua prefered method) (--noquotes), no script gives list -.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 --autotree -use texmf tree cf. env texmfstart_tree or texmfstarttree -.TP -.B --tree=pathtotree -use given texmf tree (default file: setuptex.tmf) -.TP -.B --environment=name -use given (tmf) environment file -.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 --edit -launch editor with found file -.TP -.B --launch -launch files like manuals, assumes os support (--all) -.TP -.B --timedrun -run a script an 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 --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: - -maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context -webpage : http://www.pragma-ade.nl / http://tex.aanhet.net -wiki : http://contextgarden.net diff --git a/doc/context/scripts/mtxrun.xml b/doc/context/scripts/mtxrun.xml deleted file mode 100644 index a7d4114d5..000000000 --- a/doc/context/scripts/mtxrun.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - mtxrun - ConTeXt TDS Runner Tool - 1.31 - - - - - run an mtx script (lua prefered method) (), no script gives list - run a script or program (texmfstart method) () - resolve prefixed arguments - run internally (using preloaded libs) - run script using built in libraries (same as ) - locate given filename in database (default) or system ( ) - - - use texmf tree cf. env texmfstart_tree or texmfstarttree - use given texmf tree (default file: setuptex.tmf) - use given (tmf) environment file - go to given path before execution - only execute when given file has changed (md checksum) - only execute when given file has changed (time stamp) - - - create stubs for (context related) scripts - remove stubs (context related) scripts - paths where stubs wil be written - create windows (mswin) stubs - create unix (linux) stubs - - - give a bit more info - enable given trackers - format or backend - - - launch editor with found file - launch files like manuals, assumes os support () - - - run a script an time its run - regenerate databases if needed (handy when used to run context in an editor) - - - use kpse as fallback (when no mkiv and cache installed, often slower) - force using kpse (handy when no mkiv and cache installed but less functionality) - - - show supported prefixes - - - generate file database - - - show configuration variables - show configuration order - - - show (known) directives - show (known) trackers - show (known) experiments - - - expand complex variable - expand variable (resolve paths) - expand variable (resolve references) - show path expansion of ... - report value of variable - report file location - report path of file - - - filter variables - - - - diff --git a/scripts/context/lua/mtx-babel.lua b/scripts/context/lua/mtx-babel.lua index 120e49092..8c11465de 100644 --- a/scripts/context/lua/mtx-babel.lua +++ b/scripts/context/lua/mtx-babel.lua @@ -9,9 +9,23 @@ if not modules then modules = { } end modules ['mtx-babel'] = { -- data tables by Thomas A. Schmitz local helpinfo = [[ ---language=string conversion language (e.g. greek) ---structure=string obey given structure (e.g. 'document', default: 'context') ---convert convert babel codes into utf + + + + mtx-babel + Babel Input To UTF Conversion + 1.20 + + + + + conversion language (e.g. greek) + obey given structure (e.g. 'document', default: 'context') + convert babel codes into utf + + + + ]] local application = logs.application { @@ -431,6 +445,8 @@ end if environment.argument("convert") then scripts.babel.convert(environment.files[1] or "") +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-base.lua b/scripts/context/lua/mtx-base.lua index ab5bfe18a..e8bf991f4 100644 --- a/scripts/context/lua/mtx-base.lua +++ b/scripts/context/lua/mtx-base.lua @@ -7,29 +7,43 @@ if not modules then modules = { } end modules ['mtx-base'] = { } local helpinfo = [[ ---generate generate file database ---variables show configuration variables ---configurations show configuration order ---expand-braces expand complex variable ---expand-path expand variable (resolve paths) ---expand-var expand variable (resolve references) ---show-path show path expansion of ... ---var-value report value of variable ---find-file report file location ---find-path report path of file ---make or --ini make luatex format ---run or --fmt= run luatex format ---compile assemble and compile lua inifile ---verbose give a bit more info ---all show all found files ---format=str filter cf format specification (default 'tex', use 'any' for any match) ---pattern=str filter variables ---trackers=list enable given trackers + + + + mtx-base + ConTeXt TDS Management Tool (aka luatools) + 1.35 + + + + + generate file database + show configuration variables + show configuration order + expand complex variable + expand variable (resolve paths) + expand variable (resolve references) + show path expansion of ... + report value of variable + report file location + report path of file + [or make luatex format + [or run luatex format + assemble and compile lua inifile + give a bit more info + show all found files + filter cf format specification (default 'tex', use 'any' for any match) + filter variables + enable given trackers + + + + ]] local application = logs.application { name = "mtx-base", - banner = "ConTeXt TDS Management Tool 1.35 (aka luatools)", + banner = "ConTeXt TDS Management Tool (aka luatools) 1.35", helpinfo = helpinfo, } @@ -107,6 +121,8 @@ elseif environment.arguments["variables"] or environment.arguments["show-variabl elseif environment.arguments["configurations"] or environment.arguments["show-configurations"] then resolvers.load("nofiles") resolvers.listers.configurations() +elseif environment.arguments["exporthelp"] then + application.export(environment.arguments["exporthelp"],environment.files[1]) elseif environment.arguments["help"] or (environment.files[1]=='help') or (#environment.files==0) then application.help() elseif environment.files[1] == 'texmfcnf.lua' then diff --git a/scripts/context/lua/mtx-cache.lua b/scripts/context/lua/mtx-cache.lua index 08202bbf8..cd5512618 100644 --- a/scripts/context/lua/mtx-cache.lua +++ b/scripts/context/lua/mtx-cache.lua @@ -7,11 +7,26 @@ if not modules then modules = { } end modules ['mtx-cache'] = { } local helpinfo = [[ ---purge remove not used files ---erase completely remove cache ---list show cache - ---all all (not yet implemented) + + + + mtx-cache + ConTeXt & MetaTeX Cache Management + 0.10 + + + + + remove not used files + completely remove cache + show cache + + + all (not yet implemented) + + + + ]] local application = logs.application { @@ -114,6 +129,8 @@ elseif environment.argument("erase") then scripts.cache.erase() elseif environment.argument("list") then scripts.cache.list() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-chars.lua b/scripts/context/lua/mtx-chars.lua index ad2c499be..9f6852da2 100644 --- a/scripts/context/lua/mtx-chars.lua +++ b/scripts/context/lua/mtx-chars.lua @@ -9,9 +9,23 @@ if not modules then modules = { } end modules ['mtx-chars'] = { -- obsolete: --stix convert stix table to math table local helpinfo = [[ ---xtx generate xetx-*.tex (used by xetex) ---pdf generate pdfr-def.tex (used by pdftex) ---entities generate entities table + + + + mtx-chars + MkII Character Table Generators + 0.10 + + + + + generate xetx-*.tex (used by xetex) + generate pdfr-def.tex (used by pdftex) + generate entities table + + + + ]] local application = logs.application { @@ -387,6 +401,8 @@ elseif environment.argument("xtx") then scripts.chars.makeencoutf() elseif environment.argument("pdf") then scripts.chars.makepdfr() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-check.lua b/scripts/context/lua/mtx-check.lua index 8307a02c6..9f52509ec 100644 --- a/scripts/context/lua/mtx-check.lua +++ b/scripts/context/lua/mtx-check.lua @@ -11,7 +11,21 @@ local gsub, sub, format = string.gsub, string.sub, string.format local insert, remove = table.insert, table.remove local helpinfo = [[ ---convert check tex file for errors + + + + mtx-check + Basic ConTeXt Syntax Checking + 0.10 + + + + + check tex file for errors + + + + ]] local application = logs.application { @@ -229,6 +243,8 @@ if environment.argument("check") then scripts.checker.check(environment.files[1]) elseif environment.argument("help") then application.help() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) elseif environment.files[1] then scripts.checker.check(environment.files[1]) else diff --git a/scripts/context/lua/mtx-colors.lua b/scripts/context/lua/mtx-colors.lua index 2a51d5099..7dd1b4ac4 100644 --- a/scripts/context/lua/mtx-colors.lua +++ b/scripts/context/lua/mtx-colors.lua @@ -9,11 +9,29 @@ if not modules then modules = { } end modules ['mtx-colors'] = { -- todo: fc-cache -v en check dirs, or better is: fc-cat -v | grep Directory local helpinfo = [[ ---table show icc table - -example: - -mtxrun --script color --table somename + + + + mtx-colors + ConTeXt Color Management + 0.10 + + + + + show icc table + + + + + + Example + + mtxrun --script color --table somename + + + + ]] local application = logs.application { @@ -52,6 +70,8 @@ end if environment.argument("table") then scripts.colors.table() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua index ad25b52ce..43180ddae 100644 --- a/scripts/context/lua/mtx-context.lua +++ b/scripts/context/lua/mtx-context.lua @@ -134,6 +134,9 @@ local helpinfo = [[ run without stopping + + run with synctex enabled (optional value: zipped, unzipped, 1, -1) + @@ -680,6 +683,9 @@ function scripts.context.run(ctxdata,filename) local a_noarrange = getargument("noarrange") local a_jiton = getargument("jiton") -- + a_batchmode = (a_batchmode and "batchmode") or (a_nonstopmode and "nonstopmode") or nil + a_synctex = tonumber(a_synctex) or (toboolean(a_synctex,true) and 1) or (a_synctex == "zipped" and 1) or (a_synctex == "unzipped" and -1) or nil + -- for i=1,#filelist do -- local filename = filelist[i] @@ -701,6 +707,9 @@ function scripts.context.run(ctxdata,filename) formatname = formatofinterface[analysis.interface] or formatname formatfile, scriptfile = resolvers.locateformat(formatname) end + -- + a_jiton = (a_jiton or toboolean(analysis.jiton,true)) and true or nil + -- if not formatfile or not scriptfile then report("warning: no format found, forcing remake (source driven)") scripts.context.make(formatname,a_engine) @@ -741,11 +750,6 @@ function scripts.context.run(ctxdata,filename) scripts.context.make(formatname) end -- --- if a_engine and a_engine ~= "" and a_engine ~= "luatex" then --- formatfile = gsub(formatfile,"/luatex%-cache/",format("/%s-cache/",a_engine)) --- scriptfile = gsub(scriptfile,"/luatex%-cache/",format("/%s-cache/",a_engine)) --- end - -- local oldhash = multipass_hashfiles(jobname) local newhash = { } local maxnofruns = once and 1 or multipass_nofruns @@ -763,23 +767,23 @@ function scripts.context.run(ctxdata,filename) } -- for k, v in next, environment.arguments do + -- the raw arguments if c_flags[k] == nil then c_flags[k] = v end end -- - a_jiton = a_jiton or toboolean(analysis.jiton,true) -- local l_flags = { - ["interaction"] = (a_batchmode and "batchmode") or (a_nonstopmode and "nonstopmode") or nil, - ["synctex"] = a_synctex and 1 or nil, + ["interaction"] = a_batchmode, + ["synctex"] = a_synctex, ["no-parse-first-line"] = true, -- ["no-mktex"] = true, -- ["file-line-error-style"] = true, ["fmt"] = formatfile, ["lua"] = scriptfile, ["jobname"] = jobname, - ["jiton"] = a_jiton and true or false, + ["jiton"] = a_jiton, } -- if a_synctex then @@ -1118,7 +1122,7 @@ local temporary_runfiles = { "tui", "tua", "tup", "ted", "tes", "top", "log", "tmp", "run", "bck", "rlg", "mpt", "mpx", "mpd", "mpo", "mpb", "ctl", - "synctex.gz", "pgf", + "synctex", "synctex.gz", "pgf", "prep", } diff --git a/scripts/context/lua/mtx-convert.lua b/scripts/context/lua/mtx-convert.lua index 14ade611e..b76b3baaf 100644 --- a/scripts/context/lua/mtx-convert.lua +++ b/scripts/context/lua/mtx-convert.lua @@ -9,12 +9,26 @@ if not modules then modules = { } end modules ['mtx-convert'] = { -- todo: eps and svg local helpinfo = [[ ---convertall convert all graphics on path ---inputpath=string original graphics path ---outputpath=string converted graphics path ---watch watch folders ---force force conversion (even if older) ---delay time between sweeps + + + + mtx-convert + ConTeXT Graphic Conversion Helpers + 0.10 + + + + + convert all graphics on path + original graphics path + converted graphics path + watch folders + force conversion (even if older) + time between sweeps + + + + ]] local application = logs.application { @@ -154,6 +168,8 @@ if environment.arguments.convertall then convert.convertall() elseif environment.files[1] then convert.convertgiven() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-epub.lua b/scripts/context/lua/mtx-epub.lua index 28a37fec2..11f0a2024 100644 --- a/scripts/context/lua/mtx-epub.lua +++ b/scripts/context/lua/mtx-epub.lua @@ -22,11 +22,29 @@ local format, gsub = string.format, string.gsub local concat = table.concat local helpinfo = [[ ---make create epub zip file - -example: - -mtxrun --script epub --make mydocument + + + + mtx-epub + ConTeXt EPUB Helpers + 0.12 + + + + + create epub zip file + + + + + + Example + + mtxrun --script epub --make mydocument + + + + ]] local application = logs.application { @@ -353,6 +371,8 @@ end if environment.argument("make") then scripts.epub.make() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-fcd.lua b/scripts/context/lua/mtx-fcd.lua index d7e1d17a7..ba9299020 100644 --- a/scripts/context/lua/mtx-fcd.lua +++ b/scripts/context/lua/mtx-fcd.lua @@ -22,28 +22,46 @@ if not modules then modules = { } end modules ['mtx-fcd'] = { -- part if the same run, so that indeed we change. local helpinfo = [[ ---clear clear the cache ---clear --history [entry] clear the history ---scan clear the cache and add given path(s) ---add add given path(s) ---find file given path (can be substring) ---find --nohistory file given path (can be substring) but don't use history ---stub print platform stub file ---list show roots of cached dirs ---list --history show history of chosen dirs ---help show this help - -usage: - - fcd --scan t:\ - fcd --add f:\project - fcd [--find] whatever - fcd --list + + + + mtx-fcd + Fast Directory Change + 1.00 + + + + + clear the cache + [entry] clear the history + clear the cache and add given path(s) + add given path(s) + find given path (can be substring) + find given path (can be substring) but don't use history + print platform stub file + show roots of cached dirs + show history of chosen dirs + show this help + + + + + + Example + + fcd --scan t:\ + fcd --add f:\project + fcd [--find] whatever + fcd --list + + + + ]] local application = logs.application { name = "mtx-fcd", - banner = "Fast Directory Change", + banner = "Fast Directory Change 1.00", helpinfo = helpinfo, } @@ -358,6 +376,8 @@ elseif argument("list") then end elseif argument("help") then application.help() +elseif argument("exporthelp") then + application.export(argument("exporthelp"),environment.files[1]) else -- also argument("find") fcd_load() fcd_find() diff --git a/scripts/context/lua/mtx-flac.lua b/scripts/context/lua/mtx-flac.lua index 851fe6ea1..2155b24be 100644 --- a/scripts/context/lua/mtx-flac.lua +++ b/scripts/context/lua/mtx-flac.lua @@ -168,12 +168,30 @@ end -- local helpinfo = [[ ---collect collect albums in xml file - -example: - -mtxrun --script flac --collect somename.flac -mtxrun --script flac --collect --pattern="m:/music/**") + + + + mtx-flac + ConTeXt Flac Helpers + 0.10 + + + + + collect albums in xml file + + + + + + Example + + mtxrun --script flac --collect somename.flac + mtxrun --script flac --collect --pattern="m:/music/**") + + + + ]] local application = logs.application { @@ -213,6 +231,8 @@ end if environment.argument("collect") then scripts.flac.collect() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-fonts.lua b/scripts/context/lua/mtx-fonts.lua index 659059fa1..3f75a4fc6 100644 --- a/scripts/context/lua/mtx-fonts.lua +++ b/scripts/context/lua/mtx-fonts.lua @@ -45,7 +45,7 @@ local helpinfo = [[ - Examples of searches + Examples mtxrun --script font --list somename (== --pattern=*somename*) diff --git a/scripts/context/lua/mtx-grep.lua b/scripts/context/lua/mtx-grep.lua index 98a97279d..dbcce67f6 100644 --- a/scripts/context/lua/mtx-grep.lua +++ b/scripts/context/lua/mtx-grep.lua @@ -7,12 +7,27 @@ if not modules then modules = { } end modules ['mtx-babel'] = { } local helpinfo = [[ ---pattern search for pattern (optional) ---count count matches only ---nocomment skip lines that start with %% or # ---xml pattern is lpath expression - -patterns are lua patterns and need to be escaped accordingly + + + + mtx-grep + Simple Grepper + 0.10 + + + + + search for pattern (optional) + count matches only + skip lines that start with %% or # + pattern is lpath expression + + + + + patterns are lua patterns and need to be escaped accordingly + + ]] local application = logs.application { @@ -144,7 +159,9 @@ end local pattern = environment.argument("pattern") local files = environment.files and #environment.files > 0 and environment.files -if pattern and files then +if environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),files[1]) +elseif pattern and files then scripts.grep.find(pattern, files) elseif files then scripts.grep.find(files[1], files, 2) diff --git a/scripts/context/lua/mtx-interface.lua b/scripts/context/lua/mtx-interface.lua index 2790e2669..82cefd638 100644 --- a/scripts/context/lua/mtx-interface.lua +++ b/scripts/context/lua/mtx-interface.lua @@ -11,25 +11,43 @@ local gsub, format, gmatch, find = string.gsub, string.format, string.gmatch, st local utfchar, utfgsub = utf.char, utf.gsub local helpinfo = [[ ---interfaces generate context interface files ---messages generate context message files ---labels generate context label files - ---context equals --interfaces --messages --languages - ---scite generate scite interface ---bbedit generate bbedit interface files ---jedit generate jedit interface files ---textpad generate textpad interface files ---text create text files for commands and environments ---raw report commands to the console ---check generate check file - ---toutf replace named characters by utf ---preprocess preprocess mkvi files to tex files [force,suffix] - ---suffix use given suffix for output files ---force force action even when in doubt + + + + mtx-interface + ConTeXt Interface Related Goodies + 0.13 + + + + + generate context interface files + generate context message files + generate context label files + + + equals + + + generate scite interface + generate bbedit interface files + generate jedit interface files + generate textpad interface files + create text files for commands and environments + report commands to the console + generate check file + + + replace named characters by utf + preprocess mkvi files to tex files [force,suffix] + + + use given suffix for output files + force action even when in doubt + + + + ]] local application = logs.application { @@ -596,6 +614,8 @@ elseif ea("scite") or ea("bbedit") or ea("jedit") or ea("textpad") or ea("text") if ea("raw") then scripts.interface.editor("raw") end +elseif ea("exporthelp") then + application.export(ea("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-metapost.lua b/scripts/context/lua/mtx-metapost.lua index 44cf8205d..08daec978 100644 --- a/scripts/context/lua/mtx-metapost.lua +++ b/scripts/context/lua/mtx-metapost.lua @@ -7,19 +7,38 @@ if not modules then modules = { } end modules ['mtx-metapost'] = { -- this was m } local helpinfo = [[ ---rawmp raw metapost run ---metafun use metafun instead of plain ---latex force --tex=latex ---texexec force texexec usage (mkii) ---split split single result file into pages - -intended usage: - -mtxrun --script metapost yourfile.mp -mtxrun --script metapost --split yourfile.mp -mtxrun --script metapost yourfile.123 myfile.mps - -other usage resembles mptopdf.pl + + + + mtx-metapost + MetaPost to PDF processor + 0.10 + + + + + raw metapost run + use metafun instead of plain + force + force texexec usage (mkii) + split single result file into pages + + + + + + Examples + + mtxrun --script metapost yourfile.mp + mtxrun --script metapost --split yourfile.mp + mtxrun --script metapost yourfile.123 myfile.mps + + + + + other usage resembles mptopdf.pl + + ]] local application = logs.application { @@ -166,10 +185,12 @@ function scripts.mptopdf.convertall() end end -if environment.files[1] then +if environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) +elseif environment.files[1] then scripts.mptopdf.convertall() else - if not environment.arguments.help then + if not environment.argument("help") then report("provide MP output file (or pattern)") report() end diff --git a/scripts/context/lua/mtx-metatex.lua b/scripts/context/lua/mtx-metatex.lua index 0b66d59ef..455ecbd52 100644 --- a/scripts/context/lua/mtx-metatex.lua +++ b/scripts/context/lua/mtx-metatex.lua @@ -9,8 +9,22 @@ if not modules then modules = { } end modules ['mtx-metatex'] = { -- future versions will deal with specific variants of metatex local helpinfo = [[ ---run process (one or more) files (default action) ---make create metatex format(s) + + + + mtx-metatex + MetaTeX Process Management + 0.10 + + + + + process (one or more) files (default action) + create metatex format(s) + + + + ]] local application = logs.application { @@ -57,6 +71,8 @@ elseif environment.argument("make") then scripts.metatex.timed(scripts.metatex.make) elseif environment.argument("help") then logs.help(messages.help,false) +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) elseif environment.files[1] then scripts.metatex.timed(scripts.metatex.run) else diff --git a/scripts/context/lua/mtx-mkii-help.lua b/scripts/context/lua/mtx-mkii-help.lua new file mode 100644 index 000000000..e43f47bf0 --- /dev/null +++ b/scripts/context/lua/mtx-mkii-help.lua @@ -0,0 +1,376 @@ +local helpinfo = [[ + + + + texexec + TeXExec + 6.2.1 + + + + + make formats + check versions + process file + process mp file + process mpx file + process mp file to stand-alone graphics + process mp/ctx file to stand-alone graphics + list of file content + generate overview of figures + generate module documentation + impose pages (booklets) + select pages from file(s) + copy pages from file(s) + trim pages from file(s) + combine multiple pages + split file in pages + + + + + + +]] + + +local texexec = logs.application { + name = "texexec", + banner = "TeXExec 6.2.1", + helpinfo = helpinfo, +} + +local helpinfo = [[ + + + + texutil + TeXUtil + 9.1.0 + + + + + convert tui file into tuo file + generate figure dimensions file + filter essential log messages + remove most temporary files + remove all temporary files + generate documentation file from source + analyze pdf file + + + + + +]] + +local texutil = logs.application { + name = "texutil", + banner = "TeXUtil 9.1.0", + helpinfo = helpinfo, +} + +local helpinfo = [[ + + + + ctxtools + CtxTools + 1.3.5 + + + + + update context version + report context version + generate jedit syntax files [ + generate bbedit syntax files [ + generate scite syntax files [ + generate raw syntax files [ + generate interface files (xml) [nl de ..] + remove temporary files [ [basename] + [filename] + ) # no help, hidden temporary feature + convert pdftex mapfiles to dvipdfmx [ [texmfroot] + create doctype entity definition from enco-uc.tex + add context copyright notice [ + replace line-endings [ [pattern] + [filename] + download latest version and remake formats [ + remove utf bom [ + + + + + + +]] + +local ctxtools = logs.application { + name = "ctxtools", + banner = "CtxTools 1.3.5", + helpinfo = helpinfo, +} + +local helpinfo = [[ + + + + textools + TeXTools + 1.3.1 + + + + + [pattern] [ + [pattern] [ + [pattern] [ + [pattern] [ + filename [ + [pattern] [ + [pattern] [ + [pattern] [ + [texmfroot] [ + filename [ + fromroot toroot [ + [ [ + [ [ + filename + afmfile encodingname + tpm file (run in texmf root) + + + + + + +]] + +local textools = logs.application { + name = "textools", + banner = "TeXTools 1.3.1", + helpinfo = helpinfo, +} + +local helpinfo = [[ + + + + pdftools + PDFTools + 1.2.1 + + + + + [ + [ ] + filename [ + filename [ + filename + [ + [ + filename + + + + + + +]] + +local pdftools = logs.application { + name = "pdftools", + banner = "PDFTools 1.2.1", + helpinfo = helpinfo, +} + +local helpinfo = [[ + + + + tmftools + TMFTools + 1.1.0 + + + + + [ ] [pattern] + + + act as kpse server + + + + +]] + +local tmftools = logs.application { + name = "tmftools", + banner = "TMFTools 1.2.1", + helpinfo = helpinfo, +} + +local helpinfo = [[ + + + + xmltools + XMLTools + 1.2.2 + + + + + generate directory listing + generate graphic from mathml + report entities and elements [ ] + cleanup xml file [] + enhance xml file (partial) + filter elements from xml file [] + generate ddirectory listing + + + + +]] + +local xmltools = logs.application { + name = "xmltools", + banner = "XMLTools 1.2.1", + helpinfo = helpinfo, +} + +local helpinfo = [[ + + + + pstopdf + PStoPDF + 2.0.1 + + + + + handles exa request file + watch folders for conversions (untested) + + + + + + +]] + +local pstopdf = logs.application { + name = "pstopdf", + banner = "PStoPDF 2.0.1", + helpinfo = helpinfo, +} + +local helpinfo = [[ + + + + rlxtools + RlxTools + 1.0.1 + + + + + [ manipulatorfile resourselog + [ filename + + + + + + +]] + +local rlxtools = logs.application { + name = "rlxtools", + banner = "RlxTools 1.0.1", + helpinfo = helpinfo, +} + +local helpinfo = [[ + + + + imgtopdf + ImgToPdf + 1.1.2 + + + + + convert image into pdf + level of compression in percent + image depth in bits + colorspace (rgb,cmyk,gray) + quality in percent + path where files are looked for + path where files end up + determine settings automatically + + + + +]] + +local imgtopdf = logs.application { + name = "imgtopdf", + banner = "ImgToPdf 1.1.2", + helpinfo = helpinfo, +} + +-- texmfstart.rb is normally replaced by mtxrun +-- runtools.rb is run from within context +-- concheck.rb is run from within editors +-- texsync.rb is no longer in the zip +-- mpstools.rb is no longer in the zip +-- rscortool.rb is only run indirectly +-- rsfiltool.rb is only run indirectly +-- rslibtool.rb is only run indirectly + + +local application = logs.application { + name = "mkii-help", + banner = "MkII Help generator 1.00", +} + +local filename = environment.files[1] + +if not filename then + application.report("no mkii script given") + return +end + +local mkiiapplication + +if filename == "texexec" then mkiiapplication = texexec +elseif filename == "texutil" then mkiiapplication = texutil +elseif filename == "ctxtools" then mkiiapplication = ctxtools +elseif filename == "textools" then mkiiapplication = textools +elseif filename == "pdftools" then mkiiapplication = pdftools +elseif filename == "tmftools" then mkiiapplication = tmftools +elseif filename == "xmltools" then mkiiapplication = xmltools +elseif filename == "pstopdf" then mkiiapplication = pstopdf +elseif filename == "rlxtools" then mkiiapplication = rlxtools +elseif filename == "imgtopdf" then mkiiapplication = imgtopdf end + +if not mkiiapplication then + application.report("no valid mkii script given") + return +end + +if environment.argument("exporthelp") then + mkiiapplication.export(environment.argument("exporthelp"),environment.files[2]) +else + mkiiapplication.help() +end diff --git a/scripts/context/lua/mtx-modules.lua b/scripts/context/lua/mtx-modules.lua index 902b12ac3..ef38a7156 100644 --- a/scripts/context/lua/mtx-modules.lua +++ b/scripts/context/lua/mtx-modules.lua @@ -10,9 +10,23 @@ scripts = scripts or { } scripts.modules = scripts.modules or { } local helpinfo = [[ ---convert convert source files (tex, mkii, mkiv, mp) to 'ted' files ---process process source files (tex, mkii, mkiv, mp) to 'pdf' files ---prep use original name with suffix 'prep' appended + + + + mtx-modules + ConTeXt Module Documentation Generators + 1.00 + + + + + convert source files (tex, mkii, mkiv, mp) to 'ted' files + process source files (tex, mkii, mkiv, mp) to 'pdf' files + use original name with suffix 'prep' appended + + + + ]] local application = logs.application { @@ -181,6 +195,8 @@ if environment.argument("process") then scripts.modules.process(true) elseif environment.argument("convert") then scripts.modules.process(false) +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-package.lua b/scripts/context/lua/mtx-package.lua index 879dd5e3a..8c9e6b9fc 100644 --- a/scripts/context/lua/mtx-package.lua +++ b/scripts/context/lua/mtx-package.lua @@ -9,7 +9,21 @@ if not modules then modules = { } end modules ['mtx-package'] = { local format, gsub, gmatch = string.format, string.gsub, string.gmatch local helpinfo = [[ ---merge merge 'loadmodule' into merge file + + + + mtx-package + Distribution Related Goodies + 0.10 + + + + + merge 'loadmodule' into merge file + + + + ]] local application = logs.application { @@ -63,6 +77,8 @@ end if environment.argument("merge") then scripts.package.merge_luatex_files(environment.files[1] or "") +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-patterns.lua b/scripts/context/lua/mtx-patterns.lua index 86f63bb16..7144da9b0 100644 --- a/scripts/context/lua/mtx-patterns.lua +++ b/scripts/context/lua/mtx-patterns.lua @@ -12,18 +12,36 @@ local addsuffix = file.addsuffix local lpegmatch, validutf8 = lpeg.match, lpeg.patterns.validutf8 local helpinfo = [[ ---convert generate context language files (mnemonic driven, if not given then all) ---check check pattern file (or those used by context when no file given) ---path source path where hyph-foo.tex files are stored ---destination destination path ---specification additional patterns: e.g.: =cy,hyph-cy,welsh - -examples of usage: - -mtxrun --script pattern --check hyph-*.tex -mtxrun --script pattern --check --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns -mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex --destination=e:/tmp/patterns -mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/txt --destination=e:/tmp/patterns + + + + mtx-patterns + ConTeXt Pattern File Management + 0.20 + + + + + generate context language files (mnemonic driven, if not given then all) + check pattern file (or those used by context when no file given) + source path where hyph-foo.tex files are stored + destination path + additional patterns: e.g.: =cy,hyph-cy,welsh + + + + + + Examples + + mtxrun --script pattern --check hyph-*.tex + mtxrun --script pattern --check --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns + mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex --destination=e:/tmp/patterns + mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/txt --destination=e:/tmp/patterns + + + + ]] local application = logs.application { @@ -529,6 +547,8 @@ if environment.argument("check") then elseif environment.argument("convert") then scripts.patterns.prepare() scripts.patterns.convert() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-pdf.lua b/scripts/context/lua/mtx-pdf.lua index f37ee006a..3e4130344 100644 --- a/scripts/context/lua/mtx-pdf.lua +++ b/scripts/context/lua/mtx-pdf.lua @@ -13,9 +13,23 @@ local concat = table.concat local setmetatableindex, sortedhash, sortedkeys = table.setmetatableindex, table.sortedhash, table.sortedkeys local helpinfo = [[ ---info show some info about the given file ---metadata show metadata xml blob ---fonts show used fonts (--detail) + + + + mtx-pdf + ConTeXt PDF Helpers + 0.10 + + + + + show some info about the given file + show metadata xml blob + show used fonts ( + + + + ]] local application = logs.application { @@ -213,6 +227,8 @@ elseif environment.argument("metadata") then scripts.pdf.metadata(filename) elseif environment.argument("fonts") then scripts.pdf.fonts(filename) +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-profile.lua b/scripts/context/lua/mtx-profile.lua index 35cf1fc47..3550474f3 100644 --- a/scripts/context/lua/mtx-profile.lua +++ b/scripts/context/lua/mtx-profile.lua @@ -12,8 +12,22 @@ if not modules then modules = { } end modules ['mtx-profile'] = { local match, format, find = string.match, string.format, string.find local helpinfo = [[ ---analyze analyze lua calls ---trace analyze tex calls + + + + mtx-profile + ConTeXt MkIV LuaTeX Profiler + 1.00 + + + + + analyze lua calls + analyze tex calls + + + + ]] local application = logs.application { @@ -166,6 +180,8 @@ if environment.argument("analyze") then scripts.profiler.analyze(environment.files[1] or "luatex-profile.log") elseif environment.argument("trace") then scripts.profiler.analyze(environment.files[1] or "temp.log") +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-rsync.lua b/scripts/context/lua/mtx-rsync.lua index 288419431..65f795ee5 100644 --- a/scripts/context/lua/mtx-rsync.lua +++ b/scripts/context/lua/mtx-rsync.lua @@ -46,9 +46,23 @@ if not modules then modules = { } end modules ['mtx-rsync'] = { -- } local helpinfo = [[ ---job use given file as specification ---dryrun show what would happen ---force force run + + + + mtx-rsync + Rsync Helpers + 0.10 + + + + + use given file as specification + show what would happen + force run + + + + ]] local application = logs.application { @@ -164,7 +178,9 @@ elseif arguments.force then rsync.mode = "force" end -if arguments.job then +if arguments.exporthelp then + application.export(arguments.exporthelp,environment.files[1]) +elseif arguments.job then rsync.job(files[1]) elseif files[1] and files[2] then rsync.run(files[1],files[2]) diff --git a/scripts/context/lua/mtx-scite.lua b/scripts/context/lua/mtx-scite.lua index 3369c5f3b..972edbfe6 100644 --- a/scripts/context/lua/mtx-scite.lua +++ b/scripts/context/lua/mtx-scite.lua @@ -10,13 +10,22 @@ local P, R, S, C, Ct, Cf, Cc, Cg = lpeg.P, lpeg.R, lpeg.S, lpeg.C, lpeg.Ct, lpeg local lpegmatch = lpeg.match local format, lower, gmatch = string.format, string.lower, string.gmatch --- local helpinfo = [[ --- --start [--verbose] start scite --- --test report what will happen --- ]] - local helpinfo = [[ ---words convert spell-*.txt into spell-*.lua + + + + mtx-scite + Scite Helper Script + 1.00 + + + + + convert spell-*.txt into spell-*.lua + + + + ]] local application = logs.application { @@ -242,6 +251,8 @@ end if environment.argument("words") then scripts.scite.words() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-server.lua b/scripts/context/lua/mtx-server.lua index 766df8da8..5ec15de70 100644 --- a/scripts/context/lua/mtx-server.lua +++ b/scripts/context/lua/mtx-server.lua @@ -7,12 +7,26 @@ if not modules then modules = { } end modules ['mtx-server'] = { } local helpinfo = [[ ---start start server ---port port to listen to ---root server root ---scripts scripts sub path ---index index file ---auto start on own path + + + + mtx-server + Simple Webserver For Helpers + 0.10 + + + + + start server + port to listen to + server root + scripts sub path + index file + start on own path + + + + ]] local application = logs.application { @@ -379,6 +393,8 @@ elseif environment.argument("start") then scripts = environment.argument("scripts"), script = environment.argument("script"), } +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-texworks.lua b/scripts/context/lua/mtx-texworks.lua index 33e56df46..ae5f2afa4 100644 --- a/scripts/context/lua/mtx-texworks.lua +++ b/scripts/context/lua/mtx-texworks.lua @@ -7,8 +7,22 @@ if not modules then modules = { } end modules ['mtx-texworks'] = { } local helpinfo = [[ ---start [--verbose] start texworks ---test report what will happen + + + + mtx-texworks + TeXworks Startup Script + 1.00 + + + + + [ start texworks + report what will happen + + + + ]] local application = logs.application { @@ -100,6 +114,8 @@ if environment.argument("start") then scripts.texworks.start(true) elseif environment.argument("test") then scripts.texworks.start() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-timing.lua b/scripts/context/lua/mtx-timing.lua index 03100e991..7d1a220e4 100644 --- a/scripts/context/lua/mtx-timing.lua +++ b/scripts/context/lua/mtx-timing.lua @@ -9,9 +9,23 @@ if not modules then modules = { } end modules ['mtx-timing'] = { local format, gsub, concat = string.format, string.gsub, table.concat local helpinfo = [[ ---xhtml make xhtml file ---launch launch after conversion ---remove remove after launching + + + + mtx-timing + ConTeXt Timing Tools + 0.10 + + + + + make xhtml file + launch after conversion + remove after launching + + + + ]] local application = logs.application { @@ -196,6 +210,8 @@ end if environment.argument("xhtml") then scripts.timings.xhtml(environment.files[1] or "") +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-tools.lua b/scripts/context/lua/mtx-tools.lua index 22a83e603..19b7458a1 100644 --- a/scripts/context/lua/mtx-tools.lua +++ b/scripts/context/lua/mtx-tools.lua @@ -9,22 +9,37 @@ if not modules then modules = { } end modules ['mtx-tools'] = { local find, format, sub, rep, gsub, lower = string.find, string.format, string.sub, string.rep, string.gsub, string.lower local helpinfo = [[ ---disarmutfbomb remove utf bomb if present - --force remove indeed - ---dirtoxml glob directory into xml - --pattern glob pattern (default: *) - --url url attribute (no processing) - --root the root of the globbed path (default: .) - --output output filename (console by default) - --recurse recurse into subdirecories - --stripname take pathpart of given pattern - --longname set name attributes to full path name - ---downcase - --pattern glob pattern (default: *) - --recurse recurse into subdirecories - --force downcase indeed + + + + mtx-tools + Some File Related Goodies + 1.01 + + + + + remove utf bomb if present + remove indeed + + + glob directory into xml + glob pattern (default: *) + url attribute (no processing) + the root of the globbed path (default: .) + output filename (console by default) + recurse into subdirecories + take pathpart of given pattern + set name attributes to full path name + + + glob pattern (default: *) + recurse into subdirecories + downcase indeed + + + + ]] local application = logs.application { @@ -177,6 +192,8 @@ elseif environment.argument("dirtoxml") then scripts.tools.dirtoxml() elseif environment.argument("downcase") then scripts.tools.downcase() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-unzip.lua b/scripts/context/lua/mtx-unzip.lua index 645863426..02d9676bc 100644 --- a/scripts/context/lua/mtx-unzip.lua +++ b/scripts/context/lua/mtx-unzip.lua @@ -11,9 +11,23 @@ if not modules then modules = { } end modules ['mtx-unzip'] = { local format = string.format local helpinfo = [[ ---list list files in archive ---junk flatten unzipped directory structure ---extract extract files + + + + mtx-unzip + Simple Unzipper + 0.10 + + + + + list files in archive + flatten unzipped directory structure + extract files + + + + ]] local application = logs.application { @@ -109,6 +123,8 @@ if environment.arguments["h"] or environment.arguments["help"] then application.help() elseif environment.arguments["l"] or environment.arguments["list"] then scripts.unzipper.list(zipfile) +elseif environment.arguments["exporthelp"] then + application.export(environment.arguments["exporthelp"],environment.files[1]) elseif environment.files[1] then -- implicit --extract scripts.unzipper.extract(zipfile) else diff --git a/scripts/context/lua/mtx-update.lua b/scripts/context/lua/mtx-update.lua index 8eee996b5..64203d3e3 100644 --- a/scripts/context/lua/mtx-update.lua +++ b/scripts/context/lua/mtx-update.lua @@ -12,24 +12,38 @@ if not modules then modules = { } end modules ['mtx-update'] = { -- platforms that matter. local helpinfo = [[ ---platform=string platform (windows, linux, linux-64, osx-intel, osx-ppc, linux-ppc) ---server=string repository url (rsync://contextgarden.net) ---module=string repository url (minimals) ---repository=string specify version (current, experimental) ---context=string specify version (current, latest, beta, yyyy.mm.dd) ---rsync=string rsync binary (rsync) ---texroot=string installation directory (not guessed for the moment) ---engine=string tex engine (luatex, pdftex, xetex) ---modules=string extra modules (can be list or 'all') ---fonts=string additional fonts (can be list or 'all') ---goodies=string extra binaries (like scite and texworks) ---force instead of a dryrun, do the real thing ---update update minimal tree ---make also make formats and generate file databases ---keep don't delete unused or obsolete files ---state update tree using saved state ---cygwin adapt drive specs to cygwin ---mingw assume mingw binaries being used + + + + mtx-update + ConTeXt Minimals Updater + 0.31 + + + + + platform (windows, linux, linux-64, osx-intel, osx-ppc, linux-ppc) + repository url (rsync://contextgarden.net) + repository url (minimals) + specify version (current, experimental) + specify version (current, latest, beta, yyyy.mm.dd) + rsync binary (rsync) + installation directory (not guessed for the moment) + tex engine (luatex, pdftex, xetex) + extra modules (can be list or 'all') + additional fonts (can be list or 'all') + extra binaries (like scite and texworks) + instead of a dryrun, do the real thing + update minimal tree + also make formats and generate file databases + don't delete unused or obsolete files + update tree using saved state + adapt drive specs to cygwin + assume mingw binaries being used + + + + ]] local application = logs.application { @@ -646,6 +660,8 @@ if environment.argument("update") then end elseif environment.argument("make") then scripts.update.make() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtx-watch.lua b/scripts/context/lua/mtx-watch.lua index 4ed7b1575..95323f571 100644 --- a/scripts/context/lua/mtx-watch.lua +++ b/scripts/context/lua/mtx-watch.lua @@ -7,14 +7,28 @@ if not modules then modules = { } end modules ['mtx-watch'] = { } local helpinfo = [[ ---logpath optional path for log files ---watch watch given path [--delay] ---pipe use pipe instead of execute ---delay delay between sweeps ---automachine replace /machine/ in path // ---collect condense log files ---cleanup=delay remove files in given path [--force] ---showlog show log data + + + + mtx-watch + ConTeXt Request Watchdog + 1.00 + + + + + optional path for log files + watch given path [ + use pipe instead of execute + delay between sweeps + replace /machine/ in path /servername/ + condense log files + remove files in given path [ + show log data + + + + ]] local application = logs.application { @@ -410,6 +424,8 @@ elseif environment.argument("cleanup") then scripts.watch.save_logs(scripts.watch.cleanup_stale_files()) elseif environment.argument("showlog") then scripts.watch.show_logs() +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua index 92c9a763a..ef405fb1e 100644 --- a/scripts/context/lua/mtxrun.lua +++ b/scripts/context/lua/mtxrun.lua @@ -6072,7 +6072,7 @@ do -- create closure to overcome 200 locals limit package.loaded["trac-log"] = package.loaded["trac-log"] or true --- original size: 21510, stripped down to: 15167 +-- original size: 21573, stripped down to: 15212 if not modules then modules={} end modules ['trac-log']={ version=1.001, @@ -6588,7 +6588,10 @@ local reporters={ info=reportinfo, export=reportexport, } +local exporters={ +} logs.reporters=reporters +logs.exporters=exporters function logs.application(t) t.name=t.name or "unknown" t.banner=t.banner @@ -11178,7 +11181,7 @@ do -- create closure to overcome 200 locals limit package.loaded["trac-xml"] = package.loaded["trac-xml"] or true --- original size: 3490, stripped down to: 2879 +-- original size: 4104, stripped down to: 3380 if not modules then modules={} end modules ['trac-xml']={ version=1.001, @@ -11217,9 +11220,9 @@ local function showhelp(specification,...) local value=flag.at.value local short=xmltext(xmlfirst(flag,"/short")) if value then - report("--%-24s %s",formatters["%s=%s"](name,value),short) + report("--%-20s %s",formatters["%s=%s"](name,value),short) else - report("--%-24s %s",name,short) + report("--%-20s %s",name,short) end end report() @@ -11242,6 +11245,12 @@ local function showhelp(specification,...) report() end end + for comment in xmlcollected(root,"/application/comments/comment") do + local comment=xmltext(comment) + report() + report(comment) + report() + end end local reporthelp=reporters.help local exporthelp=reporters.export @@ -11253,14 +11262,30 @@ function reporters.help(t,...) reporthelp(t,...) end end +local exporters=logs.exporters function reporters.export(t,method,filename) dofile(resolvers.findfile("trac-exp.lua","tex")) - local exporters=logs.exporters - local result=method and exporters and exporters[method] and exporters[method](t,method) or exporthelp(t) - if type(filename)=="string" and filename~="" then - io.savedata(filename,result) + if not exporters or not method then + return exporthelp(t) + end + if method=="all" then + method=table.keys(exporters) else - reporters.lines(t,result) + method={ method } + end + filename=type(filename)=="string" and filename~="" and filename or false + for i=1,#method do + local m=method[i] + local result=exporters[m](t,m) + if result and result~="" then + if filename then + local fullname=file.replacesuffix(filename,m) + t.report("saving export in %a",fullname) + io.savedata(fullname,result) + else + reporters.lines(t,result) + end + end end end @@ -15513,8 +15538,8 @@ end -- of closure -- used libraries : l-lua.lua l-lpeg.lua l-function.lua l-string.lua l-table.lua l-io.lua l-number.lua l-set.lua l-os.lua l-file.lua l-md5.lua l-url.lua l-dir.lua l-boolean.lua l-unicode.lua l-math.lua util-str.lua util-tab.lua util-sto.lua util-prs.lua util-fmt.lua trac-set.lua trac-log.lua trac-inf.lua trac-pro.lua util-lua.lua util-deb.lua util-mrg.lua util-tpl.lua util-env.lua luat-env.lua lxml-tab.lua lxml-lpt.lua lxml-mis.lua lxml-aux.lua lxml-xml.lua trac-xml.lua data-ini.lua data-exp.lua data-env.lua data-tmp.lua data-met.lua data-res.lua data-pre.lua data-inp.lua data-out.lua data-fil.lua data-con.lua data-use.lua data-zip.lua data-tre.lua data-sch.lua data-lua.lua data-aux.lua data-tmf.lua data-lst.lua luat-sta.lua luat-fmt.lua -- skipped libraries : - --- original bytes : 640903 --- stripped bytes : 231417 +-- original bytes : 641580 +-- stripped bytes : 231548 -- end library merge diff --git a/scripts/context/ruby/mpstools.rb b/scripts/context/ruby/mpstools.rb deleted file mode 100644 index 534bfb95b..000000000 --- a/scripts/context/ruby/mpstools.rb +++ /dev/null @@ -1,7 +0,0 @@ -# todo -# -# this script will replace mptopdf and makempy - -puts("This program is yet unfinished, for the moment it just calls 'mptopdf'.\n\n") - -system("texmfstart mptopdf #{ARGV.join(' ')}") diff --git a/scripts/context/ruby/texsync.rb b/scripts/context/ruby/texsync.rb deleted file mode 100644 index fd6593f05..000000000 --- a/scripts/context/ruby/texsync.rb +++ /dev/null @@ -1,206 +0,0 @@ -#!/usr/bin/env ruby - -# program : texsync -# copyright : PRAGMA Advanced Document Engineering -# version : 2003-2005 -# author : Hans Hagen -# -# project : ConTeXt / eXaMpLe -# concept : Hans Hagen -# info : j.hagen@xs4all.nl -# www : www.pragma-ade.com - -# For the moment this script only handles the 'minimal' context -# distribution. In due time I will add a few more options, like -# synchronization of the iso image. - -# taco's sync: rsync -au -v rsync://www.pragma-ade.com/all ./htdocs - -banner = ['TeXSync', 'version 1.1.1', '2002/2004', 'PRAGMA ADE/POD'] - -$: << File.expand_path(File.dirname($0)) ; $: << File.join($:.last,'lib') ; $:.uniq! - -require 'base/switch' -require 'base/logger' -# require 'base/tool' - -require 'rbconfig' - -class Commands - - include CommandBase - - @@formats = ['en','nl','de','cz','it','ro', 'fr'] - @@always = ['metafun','mptopdf','en','nl'] - @@rsync = 'rsync -r -z -c --progress --stats "--exclude=*.fmt" "--exclude=*.efmt" "--exclude=*.mem"' - - @@kpsewhich = Hash.new - - @@kpsewhich['minimal'] = 'SELFAUTOPARENT' - @@kpsewhich['context'] = 'TEXMFLOCAL' - @@kpsewhich['documentation'] = 'TEXMFLOCAL' - @@kpsewhich['unknown'] = 'SELFAUTOPARENT' - - def update - - report - - return unless destination = getdestination - - texpaths = gettexpaths - address = option('address') - user = option('user') - tree = option('tree') - force = option('force') - - ok = true - begin - report("synchronizing '#{tree}' from '#{address}' to '#{destination}'") - report - if texpaths then - texpaths.each do |path| - report("synchronizing path '#{path}' of '#{tree}' from '#{address}' to '#{destination}'") - command = "#{rsync} #{user}@#{address}::#{tree}/#{path} #{destination}/{path}" - ok = ok && system(command) if force - end - else - command = "#{@@rsync} #{user}@#{address}::#{tree} #{destination}" - ok = system(command) if force - end - rescue - report("error in running rsync") - ok = false - ensure - if force then - if ok then - if option('make') then - report("generating tex and metapost formats") - report - @@formats.delete_if do |f| - begin - `kpsewhich cont-#{f}`.chomp.empty? - rescue - end - end - str = [@@formats,@@always].flatten.uniq.join(' ') - begin - system("texexec --make --alone #{str}") - rescue - report("unable to generate formats '#{str}'") - else - report - end - else - report("regenerate the formats files if needed") - end - else - report("error in synchronizing '#{tree}'") - end - else - report("provide --force to execute '#{command}'") unless force - end - end - - end - - def list - - report - - address = option('address') - user = option('user') - result = nil - - begin - report("fetching list of trees from '#{address}'") - command = "#{@@rsync} #{user}@#{address}::" - if option('force') then - result = `#{command}`.chomp - else - report("provide --force to execute '#{command}'") - end - rescue - result = nil - else - if result then - report("available trees:") - report - reportlines(result) - end - ensure - report("unable to fetch list") unless result - end - - end - - private - - def gettexpaths - if option('full') then - texpaths = ['texmf','texmf-local','texmf-fonts','texmf-mswin','texmf-linux','texmf-macos'] - elsif option('terse') then - texpaths = ['texmf','texmf-local','texmf-fonts'] - case RbConfig::CONFIG['host_os'] # or: Tool.ruby_platform - when /mswin/ then texpaths.push('texmf-mswin') - when /linux/ then texpaths.push('texmf-linux') - when /darwin/ then texpaths.push('texmf-macosx') - end - else - texpaths = nil - end - texpaths - end - - def getdestination - if (destination = option('destination')) && ! destination.empty? then - begin - if @@kpsewhich.key?(destination) then - destination = @@kpsewhich[option('tree')] || @@kpsewhich['unknown'] - destination = `kpsewhich --expand-var=$#{destination}`.chomp - elsif ! FileTest.directory?(destination) then - destination = nil - end - rescue - report("unable to determine destination tex root") - else - if ! destination || destination.empty? then - report("no destination is specified") - elsif not FileTest.directory?(destination) then - report("invalid destination '#{destination}'") - elsif not FileTest.writable?(destination) then - report("destination '#{destination}' is not writable") - else - report("using destination '#{destination}'") - return destination - end - end - else - report("unknown destination") - end - return nil - end - -end - -logger = Logger.new(banner.shift) -commandline = CommandLine.new - -commandline.registeraction('update', 'update installed tree') -commandline.registeraction('list', 'list available trees') - -commandline.registerflag('terse', 'download as less as possible (esp binaries)') -commandline.registerflag('full', 'download everything (all binaries)') -commandline.registerflag('force', 'confirm action') -commandline.registerflag('make', 'remake formats') - -commandline.registervalue('address', 'www.pragma-ade.com', 'adress of repository (www.pragma-ade)') -commandline.registervalue('user', 'guest', 'user account (guest)') -commandline.registervalue('tree', 'tex', 'tree to synchronize (tex)') -commandline.registervalue('destination', nil, 'destination of tree (kpsewhich)') - -commandline.registeraction('help') -commandline.registeraction('version') - -commandline.expand - -Commands.new(commandline,logger,banner).send(commandline.action || 'help') diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua index 92c9a763a..ef405fb1e 100644 --- a/scripts/context/stubs/mswin/mtxrun.lua +++ b/scripts/context/stubs/mswin/mtxrun.lua @@ -6072,7 +6072,7 @@ do -- create closure to overcome 200 locals limit package.loaded["trac-log"] = package.loaded["trac-log"] or true --- original size: 21510, stripped down to: 15167 +-- original size: 21573, stripped down to: 15212 if not modules then modules={} end modules ['trac-log']={ version=1.001, @@ -6588,7 +6588,10 @@ local reporters={ info=reportinfo, export=reportexport, } +local exporters={ +} logs.reporters=reporters +logs.exporters=exporters function logs.application(t) t.name=t.name or "unknown" t.banner=t.banner @@ -11178,7 +11181,7 @@ do -- create closure to overcome 200 locals limit package.loaded["trac-xml"] = package.loaded["trac-xml"] or true --- original size: 3490, stripped down to: 2879 +-- original size: 4104, stripped down to: 3380 if not modules then modules={} end modules ['trac-xml']={ version=1.001, @@ -11217,9 +11220,9 @@ local function showhelp(specification,...) local value=flag.at.value local short=xmltext(xmlfirst(flag,"/short")) if value then - report("--%-24s %s",formatters["%s=%s"](name,value),short) + report("--%-20s %s",formatters["%s=%s"](name,value),short) else - report("--%-24s %s",name,short) + report("--%-20s %s",name,short) end end report() @@ -11242,6 +11245,12 @@ local function showhelp(specification,...) report() end end + for comment in xmlcollected(root,"/application/comments/comment") do + local comment=xmltext(comment) + report() + report(comment) + report() + end end local reporthelp=reporters.help local exporthelp=reporters.export @@ -11253,14 +11262,30 @@ function reporters.help(t,...) reporthelp(t,...) end end +local exporters=logs.exporters function reporters.export(t,method,filename) dofile(resolvers.findfile("trac-exp.lua","tex")) - local exporters=logs.exporters - local result=method and exporters and exporters[method] and exporters[method](t,method) or exporthelp(t) - if type(filename)=="string" and filename~="" then - io.savedata(filename,result) + if not exporters or not method then + return exporthelp(t) + end + if method=="all" then + method=table.keys(exporters) else - reporters.lines(t,result) + method={ method } + end + filename=type(filename)=="string" and filename~="" and filename or false + for i=1,#method do + local m=method[i] + local result=exporters[m](t,m) + if result and result~="" then + if filename then + local fullname=file.replacesuffix(filename,m) + t.report("saving export in %a",fullname) + io.savedata(fullname,result) + else + reporters.lines(t,result) + end + end end end @@ -15513,8 +15538,8 @@ end -- of closure -- used libraries : l-lua.lua l-lpeg.lua l-function.lua l-string.lua l-table.lua l-io.lua l-number.lua l-set.lua l-os.lua l-file.lua l-md5.lua l-url.lua l-dir.lua l-boolean.lua l-unicode.lua l-math.lua util-str.lua util-tab.lua util-sto.lua util-prs.lua util-fmt.lua trac-set.lua trac-log.lua trac-inf.lua trac-pro.lua util-lua.lua util-deb.lua util-mrg.lua util-tpl.lua util-env.lua luat-env.lua lxml-tab.lua lxml-lpt.lua lxml-mis.lua lxml-aux.lua lxml-xml.lua trac-xml.lua data-ini.lua data-exp.lua data-env.lua data-tmp.lua data-met.lua data-res.lua data-pre.lua data-inp.lua data-out.lua data-fil.lua data-con.lua data-use.lua data-zip.lua data-tre.lua data-sch.lua data-lua.lua data-aux.lua data-tmf.lua data-lst.lua luat-sta.lua luat-fmt.lua -- skipped libraries : - --- original bytes : 640903 --- stripped bytes : 231417 +-- original bytes : 641580 +-- stripped bytes : 231548 -- end library merge diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun index 92c9a763a..ef405fb1e 100755 --- a/scripts/context/stubs/unix/mtxrun +++ b/scripts/context/stubs/unix/mtxrun @@ -6072,7 +6072,7 @@ do -- create closure to overcome 200 locals limit package.loaded["trac-log"] = package.loaded["trac-log"] or true --- original size: 21510, stripped down to: 15167 +-- original size: 21573, stripped down to: 15212 if not modules then modules={} end modules ['trac-log']={ version=1.001, @@ -6588,7 +6588,10 @@ local reporters={ info=reportinfo, export=reportexport, } +local exporters={ +} logs.reporters=reporters +logs.exporters=exporters function logs.application(t) t.name=t.name or "unknown" t.banner=t.banner @@ -11178,7 +11181,7 @@ do -- create closure to overcome 200 locals limit package.loaded["trac-xml"] = package.loaded["trac-xml"] or true --- original size: 3490, stripped down to: 2879 +-- original size: 4104, stripped down to: 3380 if not modules then modules={} end modules ['trac-xml']={ version=1.001, @@ -11217,9 +11220,9 @@ local function showhelp(specification,...) local value=flag.at.value local short=xmltext(xmlfirst(flag,"/short")) if value then - report("--%-24s %s",formatters["%s=%s"](name,value),short) + report("--%-20s %s",formatters["%s=%s"](name,value),short) else - report("--%-24s %s",name,short) + report("--%-20s %s",name,short) end end report() @@ -11242,6 +11245,12 @@ local function showhelp(specification,...) report() end end + for comment in xmlcollected(root,"/application/comments/comment") do + local comment=xmltext(comment) + report() + report(comment) + report() + end end local reporthelp=reporters.help local exporthelp=reporters.export @@ -11253,14 +11262,30 @@ function reporters.help(t,...) reporthelp(t,...) end end +local exporters=logs.exporters function reporters.export(t,method,filename) dofile(resolvers.findfile("trac-exp.lua","tex")) - local exporters=logs.exporters - local result=method and exporters and exporters[method] and exporters[method](t,method) or exporthelp(t) - if type(filename)=="string" and filename~="" then - io.savedata(filename,result) + if not exporters or not method then + return exporthelp(t) + end + if method=="all" then + method=table.keys(exporters) else - reporters.lines(t,result) + method={ method } + end + filename=type(filename)=="string" and filename~="" and filename or false + for i=1,#method do + local m=method[i] + local result=exporters[m](t,m) + if result and result~="" then + if filename then + local fullname=file.replacesuffix(filename,m) + t.report("saving export in %a",fullname) + io.savedata(fullname,result) + else + reporters.lines(t,result) + end + end end end @@ -15513,8 +15538,8 @@ end -- of closure -- used libraries : l-lua.lua l-lpeg.lua l-function.lua l-string.lua l-table.lua l-io.lua l-number.lua l-set.lua l-os.lua l-file.lua l-md5.lua l-url.lua l-dir.lua l-boolean.lua l-unicode.lua l-math.lua util-str.lua util-tab.lua util-sto.lua util-prs.lua util-fmt.lua trac-set.lua trac-log.lua trac-inf.lua trac-pro.lua util-lua.lua util-deb.lua util-mrg.lua util-tpl.lua util-env.lua luat-env.lua lxml-tab.lua lxml-lpt.lua lxml-mis.lua lxml-aux.lua lxml-xml.lua trac-xml.lua data-ini.lua data-exp.lua data-env.lua data-tmp.lua data-met.lua data-res.lua data-pre.lua data-inp.lua data-out.lua data-fil.lua data-con.lua data-use.lua data-zip.lua data-tre.lua data-sch.lua data-lua.lua data-aux.lua data-tmf.lua data-lst.lua luat-sta.lua luat-fmt.lua -- skipped libraries : - --- original bytes : 640903 --- stripped bytes : 231417 +-- original bytes : 641580 +-- stripped bytes : 231548 -- end library merge diff --git a/tex/context/base/cont-new.mkii b/tex/context/base/cont-new.mkii index 4fceea3cb..2a48ec5db 100644 --- a/tex/context/base/cont-new.mkii +++ b/tex/context/base/cont-new.mkii @@ -11,7 +11,7 @@ %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. -\newcontextversion{2013.03.20 10:34} +\newcontextversion{2013.03.21 13:42} %D This file is loaded at runtime, thereby providing an %D excellent place for hacks, patches, extensions and new diff --git a/tex/context/base/cont-new.mkiv b/tex/context/base/cont-new.mkiv index 43c591c41..30ea51f5d 100644 --- a/tex/context/base/cont-new.mkiv +++ b/tex/context/base/cont-new.mkiv @@ -11,7 +11,7 @@ %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. -\newcontextversion{2013.03.20 10:34} +\newcontextversion{2013.03.21 13:42} %D This file is loaded at runtime, thereby providing an excellent place for %D hacks, patches, extensions and new features. diff --git a/tex/context/base/context-base.lmx b/tex/context/base/context-base.lmx index 2b093c3e1..482d43e88 100644 --- a/tex/context/base/context-base.lmx +++ b/tex/context/base/context-base.lmx @@ -2,6 +2,8 @@ + + - -
+ + -
+
-
- -
+
-
-
+
+
-
- -
+
-
-
+
+
-
- -
+
-
- + +
- +
- +
diff --git a/tex/context/base/context-version.pdf b/tex/context/base/context-version.pdf index 45ca003ab..398afdd50 100644 Binary files a/tex/context/base/context-version.pdf and b/tex/context/base/context-version.pdf differ diff --git a/tex/context/base/context-version.png b/tex/context/base/context-version.png index 71514b2c2..804c18555 100644 Binary files a/tex/context/base/context-version.png and b/tex/context/base/context-version.png differ diff --git a/tex/context/base/context.mkii b/tex/context/base/context.mkii index 5158dbd76..7da4eb13e 100644 --- a/tex/context/base/context.mkii +++ b/tex/context/base/context.mkii @@ -20,7 +20,7 @@ %D your styles an modules. \edef\contextformat {\jobname} -\edef\contextversion{2013.03.20 10:34} +\edef\contextversion{2013.03.21 13:42} %D For those who want to use this: diff --git a/tex/context/base/context.mkiv b/tex/context/base/context.mkiv index a2f2280fa..33b230506 100644 --- a/tex/context/base/context.mkiv +++ b/tex/context/base/context.mkiv @@ -25,7 +25,7 @@ %D up and the dependencies are more consistent. \edef\contextformat {\jobname} -\edef\contextversion{2013.03.20 10:34} +\edef\contextversion{2013.03.21 13:42} %D For those who want to use this: diff --git a/tex/context/base/luat-run.lua b/tex/context/base/luat-run.lua index 34d45d096..eaede1030 100644 --- a/tex/context/base/luat-run.lua +++ b/tex/context/base/luat-run.lua @@ -139,8 +139,9 @@ directives.register("system.synctex", function(v) else report_system("synctex functionality is disabled!") end + synctex = tonumber(synctex) or (toboolean(synctex,true) and 1) or (synctex == "zipped" and 1) or (synctex == "unzipped" and -1) or false -- currently this is bugged: - tex.synctex = synctex and 1 or 0 + tex.synctex = synctex -- so for the moment we need: context.normalsynctex() if synctex then @@ -151,7 +152,7 @@ directives.register("system.synctex", function(v) end) statistics.register("synctex tracing",function() - if synctex or tex.synctex > 0 then + if synctex or tex.synctex ~= 0 then return "synctex has been enabled (extra log file generated)" end end) diff --git a/tex/context/base/status-files.pdf b/tex/context/base/status-files.pdf index d1d5c4328..adb9c707d 100644 Binary files a/tex/context/base/status-files.pdf and b/tex/context/base/status-files.pdf differ diff --git a/tex/context/base/status-lua.pdf b/tex/context/base/status-lua.pdf index b97167234..b82cb9420 100644 Binary files a/tex/context/base/status-lua.pdf and b/tex/context/base/status-lua.pdf differ diff --git a/tex/context/base/trac-exp.lua b/tex/context/base/trac-exp.lua index d1ce3c458..cd30500a2 100644 --- a/tex/context/base/trac-exp.lua +++ b/tex/context/base/trac-exp.lua @@ -35,9 +35,9 @@ local function categorytitle(category) return xmltext(xmlfirst(category,"/title")) or "" end -local exporters = { } +local exporters = logs.exporters -exporters.man = function(specification,...) +function exporters.man(specification,...) local root = xml.convert(specification.helpinfo or "") if not root then return @@ -54,9 +54,23 @@ exporters.man = function(specification,...) -- local result = { } -- - result[#result+1] = formatters['.TH %s\n.SH "NAME"\n%s.SH "SYNOPSIS"\n\\fB%s\\fP [ \\fIOPTIONS\\fP ... ]\n.SH "DESCRIPTION"\n%s\n']( - banner,name,name,detail - ) + -- .TH "context" "1" "some date" "version" "ConTeXt" -- we use a fake date as I don't want to polute the git repos + -- + local runner = string.match(name,"^mtx%-(.*)") + if runner then + runner = formatters["mtxrun --script %s"](runner) + else + runner = name + end + -- + result[#result+1] = formatters[ [[.TH "%s" "1" "%s" "version %s" "%s" ]] ](name,os.date("01-01-%Y"),version,detail) + result[#result+1] = formatters[ [[.SH "NAME" %s]] ] () + result[#result+1] = ".PP" + result[#result+1] = formatters[ [[.SH "SYNOPSIS" ]] ](name) + result[#result+1] = ".PP" + result[#result+1] = formatters[ [[.SH \fB%s\fP [ \fIOPTIONS\fP ... ] [ \fIFILENAMES\fP ] ]] ](runner) + result[#result+1] = formatters[ [[.SH "DESCRIPTION"\n%s\n ]] ](detail) + -- for category in xmlcollected(root,"/application/flags/category") do if nofcategories > 1 then result[#result+1] = formatters['.SH "OPTIONS: %s"'](string.upper(category.at.name or "all")) @@ -89,7 +103,7 @@ local craptemplate = [[ ]] -exporters.xml = function(specification,...) +function exporters.xml(specification,...) local helpinfo = specification.helpinfo if type(helpinfo) == "string" then if string.find(helpinfo,"^<%?xml") then @@ -103,54 +117,80 @@ exporters.xml = function(specification,...) return formatters[craptemplate](specification.banner or "?",helpinfo) end +-- the following template is optimized a bit for space + +-- local bodytemplate = [[ +--

Command line options

+-- +-- +-- +-- +-- +-- +-- 1 then +-- ?> +-- +-- +-- +-- +-- +-- +--
flagvaluedescription
--
+--
+--





+-- ]] + local bodytemplate = [[

Command line options

- - - - - - 1 then - ?> - - - - - - + + 1 then ?> + + + + + +
flagvaluedescription
--
flagvaluedescription
--
-



+
+ +

+ + +

+

]] -exporters.html = function(specification,...) +function exporters.html(specification,...) local root = xml.convert(specification.helpinfo or "") if not root then return @@ -186,5 +226,3 @@ exporters.html = function(specification,...) -- return html end - -logs.exporters = exporters diff --git a/tex/context/base/trac-lmx.lua b/tex/context/base/trac-lmx.lua index b7e811860..18c7f6020 100644 --- a/tex/context/base/trac-lmx.lua +++ b/tex/context/base/trac-lmx.lua @@ -13,7 +13,7 @@ local format, sub, gsub = string.format, string.sub, string.gsub local concat = table.concat local collapsespaces = string.collapsespaces local P, Cc, Cs, C, Carg, lpegmatch = lpeg.P, lpeg.Cc, lpeg.Cs, lpeg.C, lpeg.Carg, lpeg.match -local joinpath, replacesuffix, pathpart = file.join, file.replacesuffix, file.pathpart +local joinpath, replacesuffix, pathpart, filesuffix = file.join, file.replacesuffix, file.pathpart, file.suffix local allocate = utilities.storage.allocate local setmetatableindex = table.setmetatableindex @@ -221,7 +221,7 @@ local function do_type_variable(str) end end -local function do_include(filename) +local function do_include(filename,option) local data = loadedsubfile(filename) if (not data or data == "") and givenpath then data = loadedsubfile(joinpath(givenpath,filename)) @@ -241,6 +241,9 @@ local function do_include(filename) -- report_lmx("included file: %s",filename) data = do_nested_include(data) end + if filesuffix(filename,"css") and option == "strip" then -- new + data = lmx.stripcss(data) + end return data end @@ -425,6 +428,8 @@ end local whitespace = lpeg.patterns.whitespace local optionalspaces = whitespace^0 +local dquote = P('"') + local begincomment = P("") @@ -435,10 +440,12 @@ local beginembedcss = P("/*") local endembedcss = P("*/") local gobbledendxml = (optionalspaces * endembedxml) / "" -local argumentxml = (1-gobbledendxml)^0 +----- argumentxml = (1-gobbledendxml)^0 +local argumentxml = (whitespace^1 + dquote * C((1-dquote)^1) * dquote + C((1-gobbledendxml-whitespace)^1))^0 local gobbledendcss = (optionalspaces * endembedcss) / "" -local argumentcss = (1-gobbledendcss)^0 +----- argumentcss = (1-gobbledendcss)^0 +local argumentcss = (whitespace^1 + dquote * C((1-dquote)^1) * dquote + C((1-gobbledendcss-whitespace)^1))^0 local commentxml = (begincomment * (1-endcomment)^0 * endcomment) / "" @@ -697,7 +704,7 @@ end -- Test 2: -- local str = [[ --- +-- -- -- some content a -- some content b @@ -715,7 +722,7 @@ end -- -- -- ]] --- + -- local defaults = { trace = true, a = 3, b = 3 } -- local result = lmx.new(str,defaults) -- inspect(result.data) diff --git a/tex/context/base/trac-log.lua b/tex/context/base/trac-log.lua index 4f1d9ac01..211734ef3 100644 --- a/tex/context/base/trac-log.lua +++ b/tex/context/base/trac-log.lua @@ -703,7 +703,12 @@ local reporters = { export = reportexport, } +local exporters = { + -- empty +} + logs.reporters = reporters +logs.exporters = exporters function logs.application(t) t.name = t.name or "unknown" diff --git a/tex/context/base/trac-tim.lua b/tex/context/base/trac-tim.lua index 25ae6b1bc..527efa088 100644 --- a/tex/context/base/trac-tim.lua +++ b/tex/context/base/trac-tim.lua @@ -16,7 +16,7 @@ moduledata.progress = progress local report_timing = logs.reporter("timing") -progress.parameters = nodes.snapshots.getparameters +progress.parameters = nodes and nodes.snapshots.getparameters progress.defaultfilename = ((tex and tex.jobname) or "whatever") .. "-luatex-progress" -- storage diff --git a/tex/context/base/trac-xml.lua b/tex/context/base/trac-xml.lua index e44f3c399..39cfcfb22 100644 --- a/tex/context/base/trac-xml.lua +++ b/tex/context/base/trac-xml.lua @@ -41,9 +41,9 @@ local function showhelp(specification,...) -- local short = xmlserialize(short,xs) local short = xmltext(xmlfirst(flag,"/short")) if value then - report("--%-24s %s",formatters["%s=%s"](name,value),short) + report("--%-20s %s",formatters["%s=%s"](name,value),short) else - report("--%-24s %s",name,short) + report("--%-20s %s",name,short) end end report() @@ -66,6 +66,12 @@ local function showhelp(specification,...) report() end end + for comment in xmlcollected(root,"/application/comments/comment") do + local comment = xmltext(comment) + report() + report(comment) + report() + end end local reporthelp = reporters.help @@ -80,13 +86,30 @@ function reporters.help(t,...) end end +local exporters = logs.exporters + function reporters.export(t,method,filename) dofile(resolvers.findfile("trac-exp.lua","tex")) - local exporters = logs.exporters - local result = method and exporters and exporters[method] and exporters[method](t,method) or exporthelp(t) - if type(filename) == "string" and filename ~= "" then - io.savedata(filename,result) + if not exporters or not method then + return exporthelp(t) + end + if method == "all" then + method = table.keys(exporters) else - reporters.lines(t,result) + method = { method } + end + filename = type(filename) == "string" and filename ~= "" and filename or false + for i=1,#method do + local m = method[i] + local result = exporters[m](t,m) + if result and result ~= "" then + if filename then + local fullname = file.replacesuffix(filename,m) + t.report("saving export in %a",fullname) + io.savedata(fullname,result) + else + reporters.lines(t,result) + end + end end end diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua index e2a6781ed..5e187a841 100644 --- a/tex/generic/context/luatex/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : luatex-fonts-merged.lua -- parent file : luatex-fonts.lua --- merge date : 03/20/13 10:34:56 +-- merge date : 03/21/13 13:42:24 do -- begin closure to overcome local limits and interference -- cgit v1.2.3