From f1d3ba0a3734449d269ee61143f02c6956b88ced Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Thu, 14 May 2009 08:25:31 +0000 Subject: fix ppower4 scripts (.tlu, not .texlua) git-svn-id: svn://tug.org/texlive/trunk@13084 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/texlive/linked_scripts/ChangeLog | 5 +++ .../source/texk/texlive/linked_scripts/Makefile.am | 4 +- .../source/texk/texlive/linked_scripts/Makefile.in | 4 +- .../texlive/linked_scripts/ppower4/pdfthumb.texlua | 44 ---------------------- .../texlive/linked_scripts/ppower4/pdfthumb.tlu | 44 ++++++++++++++++++++++ .../texlive/linked_scripts/ppower4/ppower4.texlua | 43 --------------------- .../texlive/linked_scripts/ppower4/ppower4.tlu | 43 +++++++++++++++++++++ 7 files changed, 96 insertions(+), 91 deletions(-) delete mode 100755 Build/source/texk/texlive/linked_scripts/ppower4/pdfthumb.texlua create mode 100755 Build/source/texk/texlive/linked_scripts/ppower4/pdfthumb.tlu delete mode 100755 Build/source/texk/texlive/linked_scripts/ppower4/ppower4.texlua create mode 100755 Build/source/texk/texlive/linked_scripts/ppower4/ppower4.tlu (limited to 'Build/source') diff --git a/Build/source/texk/texlive/linked_scripts/ChangeLog b/Build/source/texk/texlive/linked_scripts/ChangeLog index f254495b394..03d771429f0 100644 --- a/Build/source/texk/texlive/linked_scripts/ChangeLog +++ b/Build/source/texk/texlive/linked_scripts/ChangeLog @@ -1,3 +1,8 @@ +2009-05-14 Peter Breitenlohner + + * Makefile.am (nobase_dist_script_SCRIPTS): pdfthumb.texlua and + ppower4.texlua are now pdfthumb.tlu and ppower4.tlu. + 2009-05-08 Karl Berry * Makefile.am (nobase_dist_script_SCRIPTS): TeXcount.pl is now diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am index 74267c1ac87..2b6ccad677d 100644 --- a/Build/source/texk/texlive/linked_scripts/Makefile.am +++ b/Build/source/texk/texlive/linked_scripts/Makefile.am @@ -76,8 +76,8 @@ nobase_dist_script_SCRIPTS = \ pdfcrop/pdfcrop.pl \ perltex/perltex \ pkfix-helper/pkfix-helper \ - ppower4/pdfthumb.texlua \ - ppower4/ppower4.texlua \ + ppower4/pdfthumb.tlu \ + ppower4/ppower4.tlu \ pst-pdf/ps4pdf \ pst2pdf/pst2pdf.pl \ purifyeps/purifyeps \ diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in index 5a259b31c36..e6c71f8d7eb 100644 --- a/Build/source/texk/texlive/linked_scripts/Makefile.in +++ b/Build/source/texk/texlive/linked_scripts/Makefile.in @@ -204,8 +204,8 @@ nobase_dist_script_SCRIPTS = \ pdfcrop/pdfcrop.pl \ perltex/perltex \ pkfix-helper/pkfix-helper \ - ppower4/pdfthumb.texlua \ - ppower4/ppower4.texlua \ + ppower4/pdfthumb.tlu \ + ppower4/ppower4.tlu \ pst-pdf/ps4pdf \ pst2pdf/pst2pdf.pl \ purifyeps/purifyeps \ diff --git a/Build/source/texk/texlive/linked_scripts/ppower4/pdfthumb.texlua b/Build/source/texk/texlive/linked_scripts/ppower4/pdfthumb.texlua deleted file mode 100755 index 17061cdbb1e..00000000000 --- a/Build/source/texk/texlive/linked_scripts/ppower4/pdfthumb.texlua +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: pdfthumb.texlua 8373 2008-05-28 02:00:59Z vvv $ - --- Copyright (C) 2008 Reinhard Kotucha. --- You may freely use, modify and/or distribute this file. - --- Launch thumbpdf - -function fixwin(args_unix) - if os.type == 'windows' then - local args_win={} -- new table - args_win[0]=args_unix[1] - for i=1, #args_unix do - args_win[i]='"'..args_unix[i]..'"' - end - return args_win - else - return args_unix - end -end - -kpse.set_program_name('pdfthumb.texlua', 'pdfthumb') - -jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') - -command={'java', '-cp', jarfile, 'de.tu_darmstadt.sp.pdftools.ThumbGen'} - -for i=1, #arg do - command[#command+1]=arg[i] -end - -command=fixwin(command) - ---[[ prepend an additional hyphen to activate this code -for i=0, #command do - print (command[i]) -end -os.exit(ret) ---]] - -ret=os.spawn(command) -os.exit(ret) -ft \ No newline at end of file diff --git a/Build/source/texk/texlive/linked_scripts/ppower4/pdfthumb.tlu b/Build/source/texk/texlive/linked_scripts/ppower4/pdfthumb.tlu new file mode 100755 index 00000000000..17061cdbb1e --- /dev/null +++ b/Build/source/texk/texlive/linked_scripts/ppower4/pdfthumb.tlu @@ -0,0 +1,44 @@ +#!/usr/bin/env texlua +--*-Lua-*- +-- $Id: pdfthumb.texlua 8373 2008-05-28 02:00:59Z vvv $ + +-- Copyright (C) 2008 Reinhard Kotucha. +-- You may freely use, modify and/or distribute this file. + +-- Launch thumbpdf + +function fixwin(args_unix) + if os.type == 'windows' then + local args_win={} -- new table + args_win[0]=args_unix[1] + for i=1, #args_unix do + args_win[i]='"'..args_unix[i]..'"' + end + return args_win + else + return args_unix + end +end + +kpse.set_program_name('pdfthumb.texlua', 'pdfthumb') + +jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') + +command={'java', '-cp', jarfile, 'de.tu_darmstadt.sp.pdftools.ThumbGen'} + +for i=1, #arg do + command[#command+1]=arg[i] +end + +command=fixwin(command) + +--[[ prepend an additional hyphen to activate this code +for i=0, #command do + print (command[i]) +end +os.exit(ret) +--]] + +ret=os.spawn(command) +os.exit(ret) +ft \ No newline at end of file diff --git a/Build/source/texk/texlive/linked_scripts/ppower4/ppower4.texlua b/Build/source/texk/texlive/linked_scripts/ppower4/ppower4.texlua deleted file mode 100755 index a9ed72204e8..00000000000 --- a/Build/source/texk/texlive/linked_scripts/ppower4/ppower4.texlua +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: ppower4.texlua 6969 2008-03-14 22:17:00Z reinhardk $ - --- Copyright (C) 2008 Reinhard Kotucha. --- You may freely use, modify and/or distribute this file. - --- Launch ppower4 - -function fixwin(args_unix) - if os.type == 'windows' then - local args_win={} -- new table - args_win[0]=args_unix[1] - for i=1, #args_unix do - args_win[i]='"'..args_unix[i]..'"' - end - return args_win - else - return args_unix - end -end - -kpse.set_program_name('ppower4.texlua', 'ppower4') - -jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') - -command={'java', '-jar', jarfile} - -for i=1, #arg do - command[#command+1]=arg[i] -end - -command=fixwin(command) - ---[[ prepend an additional hyphen to activate this code -for i=0, #command do - print (command[i]) -end -os.exit(ret) ---]] - -ret=os.spawn(command) -os.exit(ret) diff --git a/Build/source/texk/texlive/linked_scripts/ppower4/ppower4.tlu b/Build/source/texk/texlive/linked_scripts/ppower4/ppower4.tlu new file mode 100755 index 00000000000..a9ed72204e8 --- /dev/null +++ b/Build/source/texk/texlive/linked_scripts/ppower4/ppower4.tlu @@ -0,0 +1,43 @@ +#!/usr/bin/env texlua +--*-Lua-*- +-- $Id: ppower4.texlua 6969 2008-03-14 22:17:00Z reinhardk $ + +-- Copyright (C) 2008 Reinhard Kotucha. +-- You may freely use, modify and/or distribute this file. + +-- Launch ppower4 + +function fixwin(args_unix) + if os.type == 'windows' then + local args_win={} -- new table + args_win[0]=args_unix[1] + for i=1, #args_unix do + args_win[i]='"'..args_unix[i]..'"' + end + return args_win + else + return args_unix + end +end + +kpse.set_program_name('ppower4.texlua', 'ppower4') + +jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') + +command={'java', '-jar', jarfile} + +for i=1, #arg do + command[#command+1]=arg[i] +end + +command=fixwin(command) + +--[[ prepend an additional hyphen to activate this code +for i=0, #command do + print (command[i]) +end +os.exit(ret) +--]] + +ret=os.spawn(command) +os.exit(ret) -- cgit v1.2.3