From 4b4f9ac4f758e3af0edea124617fe75a6967b828 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 19 Oct 2012 22:53:30 +0000 Subject: m-tx (12oct12) git-svn-id: svn://tug.org/texlive/trunk@28032 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/m-tx/m-tx.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/scripts/m-tx') diff --git a/Master/texmf-dist/scripts/m-tx/m-tx.lua b/Master/texmf-dist/scripts/m-tx/m-tx.lua index 3ed578563ed..495777b6d57 100755 --- a/Master/texmf-dist/scripts/m-tx/m-tx.lua +++ b/Master/texmf-dist/scripts/m-tx/m-tx.lua @@ -1,6 +1,6 @@ #!/usr/bin/env texlua -VERSION = "0.3" +VERSION = "0.4" --[[ m-tx.lua: processes MusiXTeX files using prepmx and pmxab as pre-processors (and deletes intermediate files) @@ -26,6 +26,7 @@ VERSION = "0.3" --[[ ChangeLog: + version 0.3 2012-04-09 RDT Change name to m-tx to avoid clash with another program. @@ -134,9 +135,9 @@ repeat end os.remove( filename .. ".mx2" ) if ( OK ) and - ((tex == "") or os.execute(tex .. " " .. filename) == 0) and - ((tex == "") or os.execute(musixflx .. " " .. filename) == 0) and - ((tex == "") or os.execute(tex .. " " .. filename) == 0) and + (tex == "" or os.execute(tex .. " " .. filename) == 0) and + (tex == "" or os.execute(musixflx .. " " .. filename) == 0) and + (tex == "" or os.execute(tex .. " " .. filename) == 0) and ((tex ~= "latex" and tex ~= "pdflatex") or (os.execute(tex .. " " .. filename) == 0)) and (dvi == "" or (os.execute(dvi .. " " .. filename) == 0)) and -- cgit v1.2.3