diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/generic/pmx/README | 2 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/pmx/pmx2pdf.lua | 15 |
2 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/generic/pmx/README b/Master/texmf-dist/doc/generic/pmx/README index 8c6a40b2b32..4fdae04a388 100644 --- a/Master/texmf-dist/doc/generic/pmx/README +++ b/Master/texmf-dist/doc/generic/pmx/README @@ -1,4 +1,4 @@ -This is PMX, version 2.7.0 (2013-12-12). PMX provides a preprocessor for MusiXTeX. +This is PMX, version 2.7.0 (2013-12-14). PMX provides a preprocessor for MusiXTeX. pmxab builds a TeX input file based on a .pmx input file in a much simpler language, making most of the layout decisions by itself. It has diff --git a/Master/texmf-dist/scripts/pmx/pmx2pdf.lua b/Master/texmf-dist/scripts/pmx/pmx2pdf.lua index 23a14bcf100..4f441763844 100755 --- a/Master/texmf-dist/scripts/pmx/pmx2pdf.lua +++ b/Master/texmf-dist/scripts/pmx/pmx2pdf.lua @@ -1,6 +1,6 @@ #!/usr/bin/env texlua -VERSION = "0.3.1" +VERSION = "0.3.2" --[[ pmx2pdf: processes MusiXTeX files using pmxab as a pre-processor @@ -27,6 +27,10 @@ VERSION = "0.3.1" --[[ ChangeLog: + + version 0.3.2 2013-12-14 RDT + restore the -c option that somehow got dropped + version 0.3.1 2013-12-11 RDT added -F fmt option @@ -69,6 +73,7 @@ if #arg == 0 then end -- defaults: +pmxab = "pmxab" tex = "etex" musixflx = "musixflx" dvi = "dvips" @@ -102,11 +107,13 @@ repeat elseif this_arg == "-s" then dvi = ""; ps2pdf = "" elseif this_arg == "-f" then - tex = "etex"; dvi = "dvips"; ps2pdf = "ps2pdf"; intermediate = 1 + pmxab = "pmxab"; tex = "etex"; dvi = "dvips"; ps2pdf = "ps2pdf"; intermediate = 1 elseif this_arg == "-t" then tex = ""; dvi = ""; ps2pdf = "" elseif this_arg == "-i" then intermediate = 0 + elseif this_arg == "-c" then + pmxab = "pmxchords" elseif this_arg == "-F" then narg = narg+1 tex = arg[narg] @@ -118,9 +125,9 @@ repeat if not io.open(filename .. ".pmx", "r") then print("Non-existent file: ", filename .. ".pmx") else - print("Processing ".. filename .. ".pmx.") + print("Processing ".. filename .. ".pmx" .. " using " .. pmxab .. "." ) os.remove( filename .. ".mx2" ) - os.execute("pmxab" .. " " .. filename ) + os.execute(pmxab .. " " .. filename ) pmxaerr = io.open("pmxaerr.dat", "r") if (not pmxaerr) then print("No log file.") |