summaryrefslogtreecommitdiff
path: root/macros/musixtex/windows/musixtex.bat
diff options
context:
space:
mode:
Diffstat (limited to 'macros/musixtex/windows/musixtex.bat')
-rw-r--r--macros/musixtex/windows/musixtex.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/musixtex/windows/musixtex.bat b/macros/musixtex/windows/musixtex.bat
new file mode 100644
index 0000000000..c9bf9af63f
--- /dev/null
+++ b/macros/musixtex/windows/musixtex.bat
@@ -0,0 +1,6 @@
+:: wrapper script to call musixtex.lua
+:: Usage: musixtex [options] basename[.tex]
+:: Suggested by Tomasz Luczak (Tomek) t34www@googlemail.com
+
+@for /f "delims=" %%I in ('kpsewhich --format=texmfscripts %~n0.lua') do texlua "%%I" %*
+:end