summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/pmx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/pmx')
-rwxr-xr-xMaster/texmf-dist/scripts/pmx/Windows/pmx2pdf.bat6
-rwxr-xr-xMaster/texmf-dist/scripts/pmx/pmx2pdf.lua7
2 files changed, 4 insertions, 9 deletions
diff --git a/Master/texmf-dist/scripts/pmx/Windows/pmx2pdf.bat b/Master/texmf-dist/scripts/pmx/Windows/pmx2pdf.bat
deleted file mode 100755
index 24184c8deeb..00000000000
--- a/Master/texmf-dist/scripts/pmx/Windows/pmx2pdf.bat
+++ /dev/null
@@ -1,6 +0,0 @@
-:: wrapper script to call pmx2pdf.lua
-:: Usage: pmx2pdf [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
diff --git a/Master/texmf-dist/scripts/pmx/pmx2pdf.lua b/Master/texmf-dist/scripts/pmx/pmx2pdf.lua
index 37790841e5f..5d257cf76f4 100755
--- a/Master/texmf-dist/scripts/pmx/pmx2pdf.lua
+++ b/Master/texmf-dist/scripts/pmx/pmx2pdf.lua
@@ -27,6 +27,7 @@ VERSION = "0.2.1"
--[[
ChangeLog:
+
version 0.2.1 2012-05-15 RDT
renamed to avoid possible name clashes
@@ -119,9 +120,9 @@ repeat
err = tonumber(linebuf)
pmxaerr:close()
if ( err == 0 ) and
- ((tex == "") or os.execute(tex .. " " .. filename) == 0) and
- ((tex == "") or os.execute(musixflx .. " " .. filename) == 0) and
- ((tex == "") or os.execute(tex .. " " .. filename) == 0) and
+ (tex == "" or os.execute(tex .. " " .. filename) == 0) and
+ (tex == "" or os.execute(musixflx .. " " .. filename) == 0) and
+ (tex == "" or os.execute(tex .. " " .. filename) == 0) and
((tex ~= "latex" and tex ~= "pdflatex")
or (os.execute(tex .. " " .. filename) == 0)) and
(dvi == "" or (os.execute(dvi .. " " .. filename) == 0)) and