summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/pmx/Windows/pmx.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/pmx/Windows/pmx.bat')
-rwxr-xr-xMaster/texmf-dist/scripts/pmx/Windows/pmx.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/pmx/Windows/pmx.bat b/Master/texmf-dist/scripts/pmx/Windows/pmx.bat
new file mode 100755
index 00000000000..6373c4d63aa
--- /dev/null
+++ b/Master/texmf-dist/scripts/pmx/Windows/pmx.bat
@@ -0,0 +1,6 @@
+:: wrapper script to call pmx.lua
+:: Usage: pmx [options] basename[.pmx]
+:: Suggested by Tomasz Luczak (Tomek) t34www@googlemail.com
+
+@for /f "delims=" %%I in ('kpsewhich --format=texmfscripts %~n0.lua') do texlua "%%I" %*
+:end