diff options
author | Hans Hagen <pragma@wxs.nl> | 2014-01-21 16:07:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2014-01-21 16:07:00 +0100 |
commit | 5e7ca681fa20247e2774b90558ae8e79f1962a50 (patch) | |
tree | 0e933dd4db766826e8a8269733e0a9120a16a7b8 /scripts | |
parent | 7daa58c720f86c29f3f8980eddb7537f5a766309 (diff) | |
download | context-5e7ca681fa20247e2774b90558ae8e79f1962a50.tar.gz |
beta 2014.01.21 16:07
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/context/stubs/mswin/context.exe | bin | 4608 -> 4608 bytes | |||
-rwxr-xr-x | scripts/context/stubs/mswin/ctxtools.exe | bin | 4608 -> 4608 bytes | |||
-rwxr-xr-x | scripts/context/stubs/mswin/luatools.exe | bin | 4608 -> 4608 bytes | |||
-rwxr-xr-x | scripts/context/stubs/mswin/metatex.exe | bin | 4608 -> 4608 bytes | |||
-rwxr-xr-x | scripts/context/stubs/mswin/mptopdf.exe | bin | 4608 -> 4608 bytes | |||
-rw-r--r-- | scripts/context/stubs/mswin/mtxrun.dll | bin | 7680 -> 7680 bytes | |||
-rwxr-xr-x | scripts/context/stubs/mswin/mtxrun.exe | bin | 4608 -> 4608 bytes | |||
-rwxr-xr-x | scripts/context/stubs/mswin/mtxrunjit.exe | bin | 0 -> 4608 bytes | |||
-rwxr-xr-x | scripts/context/stubs/mswin/mtxworks.exe | bin | 4608 -> 4608 bytes | |||
-rwxr-xr-x | scripts/context/stubs/mswin/pstopdf.exe | bin | 4608 -> 4608 bytes | |||
-rwxr-xr-x | scripts/context/stubs/mswin/texexec.exe | bin | 4608 -> 4608 bytes | |||
-rwxr-xr-x | scripts/context/stubs/mswin/texmfstart.exe | bin | 4608 -> 4608 bytes | |||
-rw-r--r-- | scripts/context/stubs/source/readme.txt | 42 |
13 files changed, 23 insertions, 19 deletions
diff --git a/scripts/context/stubs/mswin/context.exe b/scripts/context/stubs/mswin/context.exe Binary files differindex faae5caa7..6b2c88311 100755 --- a/scripts/context/stubs/mswin/context.exe +++ b/scripts/context/stubs/mswin/context.exe diff --git a/scripts/context/stubs/mswin/ctxtools.exe b/scripts/context/stubs/mswin/ctxtools.exe Binary files differindex faae5caa7..6b2c88311 100755 --- a/scripts/context/stubs/mswin/ctxtools.exe +++ b/scripts/context/stubs/mswin/ctxtools.exe diff --git a/scripts/context/stubs/mswin/luatools.exe b/scripts/context/stubs/mswin/luatools.exe Binary files differindex faae5caa7..6b2c88311 100755 --- a/scripts/context/stubs/mswin/luatools.exe +++ b/scripts/context/stubs/mswin/luatools.exe diff --git a/scripts/context/stubs/mswin/metatex.exe b/scripts/context/stubs/mswin/metatex.exe Binary files differindex faae5caa7..6b2c88311 100755 --- a/scripts/context/stubs/mswin/metatex.exe +++ b/scripts/context/stubs/mswin/metatex.exe diff --git a/scripts/context/stubs/mswin/mptopdf.exe b/scripts/context/stubs/mswin/mptopdf.exe Binary files differindex faae5caa7..6b2c88311 100755 --- a/scripts/context/stubs/mswin/mptopdf.exe +++ b/scripts/context/stubs/mswin/mptopdf.exe diff --git a/scripts/context/stubs/mswin/mtxrun.dll b/scripts/context/stubs/mswin/mtxrun.dll Binary files differindex 5a79e1bad..42b38cb23 100644 --- a/scripts/context/stubs/mswin/mtxrun.dll +++ b/scripts/context/stubs/mswin/mtxrun.dll diff --git a/scripts/context/stubs/mswin/mtxrun.exe b/scripts/context/stubs/mswin/mtxrun.exe Binary files differindex faae5caa7..6b2c88311 100755 --- a/scripts/context/stubs/mswin/mtxrun.exe +++ b/scripts/context/stubs/mswin/mtxrun.exe diff --git a/scripts/context/stubs/mswin/mtxrunjit.exe b/scripts/context/stubs/mswin/mtxrunjit.exe Binary files differnew file mode 100755 index 000000000..6b2c88311 --- /dev/null +++ b/scripts/context/stubs/mswin/mtxrunjit.exe diff --git a/scripts/context/stubs/mswin/mtxworks.exe b/scripts/context/stubs/mswin/mtxworks.exe Binary files differindex faae5caa7..6b2c88311 100755 --- a/scripts/context/stubs/mswin/mtxworks.exe +++ b/scripts/context/stubs/mswin/mtxworks.exe diff --git a/scripts/context/stubs/mswin/pstopdf.exe b/scripts/context/stubs/mswin/pstopdf.exe Binary files differindex faae5caa7..6b2c88311 100755 --- a/scripts/context/stubs/mswin/pstopdf.exe +++ b/scripts/context/stubs/mswin/pstopdf.exe diff --git a/scripts/context/stubs/mswin/texexec.exe b/scripts/context/stubs/mswin/texexec.exe Binary files differindex faae5caa7..6b2c88311 100755 --- a/scripts/context/stubs/mswin/texexec.exe +++ b/scripts/context/stubs/mswin/texexec.exe diff --git a/scripts/context/stubs/mswin/texmfstart.exe b/scripts/context/stubs/mswin/texmfstart.exe Binary files differindex faae5caa7..6b2c88311 100755 --- a/scripts/context/stubs/mswin/texmfstart.exe +++ b/scripts/context/stubs/mswin/texmfstart.exe diff --git a/scripts/context/stubs/source/readme.txt b/scripts/context/stubs/source/readme.txt index 354d85b09..72892ee2f 100644 --- a/scripts/context/stubs/source/readme.txt +++ b/scripts/context/stubs/source/readme.txt @@ -1,36 +1,40 @@ Copyright: -The originally 'runscript' program was written by in 2009 by -T.M.Trzeciak and is public domain. This derived mtxrun program -is an adapted version by Hans Hagen. +The originally 'runscript' program was written by in 2009 by T.M.Trzeciak and is +public domain. This derived mtxrun program is an adapted version by Hans Hagen and +Luigi Scarso. Comment: -In ConTeXt MkIV we have two core scripts: luatools.lua and -mtxrun.lua where the second one is used to launch other scripts. +In ConTeXt MkIV we have two core scripts: luatools.lua and mtxrun.lua where the +second one is used to launch other scripts. The mtxrun.exe program calls luatex.exe. + Normally a user will use a call like: -mtxrun --script font --reload + mtxrun --script font --reload + +Here mtxrun is a lua script. In order to avoid the usage of a cmd file on windows this +runner will start texlua directly. In TeXlive a runner is added for each cmd file but +we don't want that overhead (and extra files). By using an exe we can call these +scripts in batch files without the need for using call. + +The mtxrun.exe file can be copied to a mtxrunjit.exe file in which case luajittex.exe +is called. -Here mtxrun is a lua script. In order to avoid the usage of a cmd -file on windows this runner will start texlua directly. In TeXlive -a runner is added for each cmd file but we don't want that overhead -(and extra files). By using an exe we can call these scripts in -batch files without the need for using call. + mtxrunjit --script font --reload -We also don't want to use other runners, like those that use kpse -to locate the script as this is exactly what mtxrun itself is doing -already. Therefore the runscript program is adapted to a more direct -approach suitable for mtxrun. +We also don't want to use other runners, like those that use kpse to locate the script +as this is exactly what mtxrun itself is doing already. Therefore the runscript program +is adapted to a more direct approach suitable for mtxrun. Compilation: with gcc (size optimized): -gcc -Os -s -shared -o mtxrun.dll mtxrun_dll.c -gcc -Os -s -o mtxrun.exe mtxrun_exe.c -L./ -lmtxrun + gcc -Os -s -shared -o mtxrun.dll mtxrun_dll.c + gcc -Os -s -o mtxrun.exe mtxrun_exe.c -L./ -lmtxrun with tcc (ver. 0.9.24), extra small size -tcc -shared -o runscript.dll runscript_dll.c -tcc -o runscript.exe runscript_exe.c runscript.def + tcc -shared -o runscript.dll runscript_dll.c + tcc -o runscript.exe runscript_exe.c runscript.def |