From 6798abfc65601a62a920b9771c803c8ee2f2a8af Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Dec 2013 22:56:27 +0000 Subject: pmx (12dec13) git-svn-id: svn://tug.org/texlive/trunk@32395 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/pmx/pmx2pdf.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/scripts/pmx') 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 -- cgit v1.2.3