diff options
author | Karl Berry <karl@freefriends.org> | 2017-07-25 21:59:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-07-25 21:59:42 +0000 |
commit | 4e4b787e99ada44a23bb8282b286624251dad96e (patch) | |
tree | e1cb29c40b068cee917ca4e58758181b4c384132 /Build/source | |
parent | 4e29592c44cbe461c59707c7ddfa41fd623c9179 (diff) |
musixtex (25jul17)
git-svn-id: svn://tug.org/texlive/trunk@44885 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/musixtex/musixtex.lua | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/musixtex/musixtex.lua b/Build/source/texk/texlive/linked_scripts/musixtex/musixtex.lua index 0791ea9e6a5..609c5ffe301 100755 --- a/Build/source/texk/texlive/linked_scripts/musixtex/musixtex.lua +++ b/Build/source/texk/texlive/linked_scripts/musixtex/musixtex.lua @@ -1,12 +1,12 @@ #!/usr/bin/env texlua -VERSION = "0.17a" +VERSION = "0.18" --[[ musixtex.lua: processes MusiXTeX files using prepmx and/or pmxab and/or autosp as pre-processors (and deletes intermediate files) - (c) Copyright 2011-2016 Bob Tennent rdt@cs.queensu.ca + (c) Copyright 2011-2017 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 @@ -28,6 +28,8 @@ VERSION = "0.17a" --[[ ChangeLog: + version 0.18 2017-06-13 RDT + Allow autosp to generate .ltx files version 0.17a 2017-01-08 RDT Added -D option. @@ -117,7 +119,7 @@ function usage() Usage: [texlua] musixtex.lua { option | basename[.mtx | .pmx | .aspc | .tex | .ltx] } ... When no extension is given, extensions are tried in the above order until a source file is found. Preprocessing goes mtx-pmx-tex or - aspc-tex, with the entry point determined by the extension. + aspc-tex/ltx, with the entry point determined by the extension. The normal route after preprocessing goes tex-dvi-ps-pdf, but shorter routes are also available, see the options. Options: -v version @@ -404,7 +406,10 @@ function preprocess(basename,extension) end if extension == "aspc" then if execute ("autosp " .. basename .. ".aspc" ) == 0 then - extension = "tex" + if exists ( basename .. ".ltx") + then extension = "ltx" + else extension = "tex" + end else print ("!! autosp preprocessing of " .. basename .. ".aspc fails.") exit_code = exit_code+1 |