summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/pmx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-20 01:02:06 +0000
committerKarl Berry <karl@freefriends.org>2012-11-20 01:02:06 +0000
commitcbc7da6f080f7e2ac5e9e23829b4113d3a889a4f (patch)
tree11cf1e4cce3bd5f8c904e4a13bcd6fba6750affc /Master/texmf-dist/scripts/pmx
parent75ac361d4baec2e30571f52e8c1d4b740c801a82 (diff)
pmx (9oct12)
git-svn-id: svn://tug.org/texlive/trunk@28297 c570f23f-e606-0410-a88d-b1316a301751
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