summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/musixtex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-08-05 21:01:41 +0000
committerKarl Berry <karl@freefriends.org>2018-08-05 21:01:41 +0000
commitde1ff8108cc79531f98cc1ce402304e28b73cac7 (patch)
treec07085f0a6575965d4f9aeec26625ffa01535944 /Master/texmf-dist/scripts/musixtex
parent6f10523a75ddc7592e2c5e5db809908f864e9bd8 (diff)
musixtex (5aug18)
git-svn-id: svn://tug.org/texlive/trunk@48353 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/musixtex')
-rwxr-xr-xMaster/texmf-dist/scripts/musixtex/musixtex.lua15
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/musixtex/musixtex.lua b/Master/texmf-dist/scripts/musixtex/musixtex.lua
index 71d9c64581f..f591940b20f 100755
--- a/Master/texmf-dist/scripts/musixtex/musixtex.lua
+++ b/Master/texmf-dist/scripts/musixtex/musixtex.lua
@@ -1,12 +1,12 @@
#!/usr/bin/env texlua
-VERSION = "0.19"
+VERSION = "0.21"
--[[
musixtex.lua: processes MusiXTeX files using prepmx and/or pmxab and/or
autosp as pre-processors (and deletes intermediate files)
- (c) Copyright 2011-2017 Bob Tennent rdt@cs.queensu.ca
+ (c) Copyright 2011-2018 Bob Tennent rdt@cs.queensu.ca
and Dirk Laurie dirk.laurie@gmail.com
This program is free software; you can redistribute it and/or modify it
@@ -29,6 +29,12 @@ VERSION = "0.19"
ChangeLog:
+ version 0.21 2018-07-27 RDT
+ add -P option.
+
+ version 0.20 2018-06-11 RDT
+ remove .mx1 file before tex processing
+
version 0.19 2017-12-10 RDT
Allow non-standard extensions.
Add -M and -A options.
@@ -135,6 +141,7 @@ Options: -v version
-F fmt use fmt as the TeX processor
-d tex-dvi-pdf (using dvipdfm if -D not used)
-D dvixx use dvixx as the dvi processor
+ -P ps2pdfxx use ps2pdfxx as the Postscript processor
-c preprocess pmx file using pmxchords
-m stop at pmx
-M prepmxx use prepmxx as the mtx preprocessor
@@ -335,6 +342,9 @@ function process_option(this_arg)
end
if dvi == dvips then dvi = dvi .. " -q" end
quiet = " >> " .. tempname
+ elseif this_arg == "-P" then
+ narg = narg+1
+ ps2pdf = arg[narg]
else
print("! Unknown option "..this_arg.." ignored")
end
@@ -417,6 +427,7 @@ end
function tex_process(tex,basename,extension)
if not (extension == "tex" or extension == "ltx") or not tex then return end
+ remove(basename .. ".mx1")
remove(basename .. ".mx2")
local filename = basename .. "." ..extension
-- .ltx extension re-selects engine only for the current file, and only