diff options
author | Karl Berry <karl@freefriends.org> | 2013-12-12 22:56:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-12-12 22:56:27 +0000 |
commit | 6798abfc65601a62a920b9771c803c8ee2f2a8af (patch) | |
tree | caafe524385d6f3355d5287328964b9feeacd01d /Master/texmf-dist/scripts/pmx/pmx2pdf.lua | |
parent | 58e9dc36a6522eda2493956fc1afa754ad91ed75 (diff) |
pmx (12dec13)
git-svn-id: svn://tug.org/texlive/trunk@32395 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/pmx/pmx2pdf.lua')
-rwxr-xr-x | Master/texmf-dist/scripts/pmx/pmx2pdf.lua | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/pmx/pmx2pdf.lua b/Master/texmf-dist/scripts/pmx/pmx2pdf.lua index 5d257cf76f4..23a14bcf100 100755 --- a/Master/texmf-dist/scripts/pmx/pmx2pdf.lua +++ b/Master/texmf-dist/scripts/pmx/pmx2pdf.lua @@ -1,12 +1,12 @@ #!/usr/bin/env texlua -VERSION = "0.2.1" +VERSION = "0.3.1" --[[ pmx2pdf: processes MusiXTeX files using pmxab as a pre-processor (and deletes intermediate files) - (c) Copyright 2011-12 Bob Tennent rdt@cs.queensu.ca + (c) Copyright 2011-13 Bob Tennent rdt@cs.queensu.ca This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -27,6 +27,11 @@ VERSION = "0.2.1" --[[ ChangeLog: + version 0.3.1 2013-12-11 RDT + added -F fmt option + + version 0.3.0 2013-12-10 RDT + added -c option to preprocess using pmxchords version 0.2.1 2012-05-15 RDT renamed to avoid possible name clashes @@ -48,6 +53,8 @@ function usage() print(" -s stop at dvi") print(" -t stop at tex/mid") print(" -i retain intermediate files") + print(" -c preprocess using pmxchords") + print(" -F fmt use fmt as the TeX processor") print(" -f restore default processing") end @@ -100,6 +107,9 @@ repeat tex = ""; dvi = ""; ps2pdf = "" elseif this_arg == "-i" then intermediate = 0 + elseif this_arg == "-F" then + narg = narg+1 + tex = arg[narg] else filename = this_arg if filename ~= "" and string.sub(filename, -4, -1) == ".pmx" then |