diff options
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf-dist/scripts/ppower4/pdfthumb.tlu | 2 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/ppower4/ppower4.tlu | 2 | ||||
-rwxr-xr-x | Master/texmf/scripts/tlgs/gswin32/eps2eps.tlu | 6 | ||||
-rwxr-xr-x | Master/texmf/scripts/tlgs/gswin32/pdf2dsc.tlu | 6 | ||||
-rwxr-xr-x | Master/texmf/scripts/tlgs/gswin32/pdfopt.tlu | 6 | ||||
-rwxr-xr-x | Master/texmf/scripts/tlgs/gswin32/ps2ascii.tlu | 6 | ||||
-rwxr-xr-x | Master/texmf/scripts/tlgs/gswin32/ps2pdf.tlu | 10 | ||||
-rwxr-xr-x | Master/texmf/scripts/tlgs/gswin32/ps2pdf12.tlu | 10 | ||||
-rwxr-xr-x | Master/texmf/scripts/tlgs/gswin32/ps2pdf13.tlu | 10 | ||||
-rwxr-xr-x | Master/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu | 10 |
10 files changed, 6 insertions, 62 deletions
diff --git a/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu b/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu index 010f8258e1a..63d814ce50d 100755 --- a/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu +++ b/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu @@ -20,7 +20,7 @@ function fixwin(args_unix) end end -kpse.set_program_name('pdfthumb.texlua', 'pdfthumb') +kpse.set_program_name('pdfthumb.bat', 'pdfthumb') jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') diff --git a/Master/texmf-dist/scripts/ppower4/ppower4.tlu b/Master/texmf-dist/scripts/ppower4/ppower4.tlu index 06e6ff454ff..9d148ec040b 100755 --- a/Master/texmf-dist/scripts/ppower4/ppower4.tlu +++ b/Master/texmf-dist/scripts/ppower4/ppower4.tlu @@ -20,7 +20,7 @@ function fixwin(args_unix) end end -kpse.set_program_name('ppower4.texlua', 'ppower4') +kpse.set_program_name('ppower4.bat', 'ppower4') jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') diff --git a/Master/texmf/scripts/tlgs/gswin32/eps2eps.tlu b/Master/texmf/scripts/tlgs/gswin32/eps2eps.tlu index 9d5ffd7b30b..3a4e36efd80 100755 --- a/Master/texmf/scripts/tlgs/gswin32/eps2eps.tlu +++ b/Master/texmf/scripts/tlgs/gswin32/eps2eps.tlu @@ -21,13 +21,7 @@ function fixwin(args_unix) end end -kpse.set_program_name('eps2eps.bat', 'eps2eps') - -TEXDIR=kpse.var_value('SELFAUTOPARENT') - if os.type == 'windows' then - os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts') - os.setenv('PATH', TEXDIR..'/tlpkg/tlgs/bin;'..os.getenv('PATH')) gs='gswin32c' else gs='gs' diff --git a/Master/texmf/scripts/tlgs/gswin32/pdf2dsc.tlu b/Master/texmf/scripts/tlgs/gswin32/pdf2dsc.tlu index b3394df8504..7b938594e1f 100755 --- a/Master/texmf/scripts/tlgs/gswin32/pdf2dsc.tlu +++ b/Master/texmf/scripts/tlgs/gswin32/pdf2dsc.tlu @@ -21,13 +21,7 @@ function fixwin (args_unix) end end -kpse.set_program_name('pdf2dsc.bat', 'pdf2dsc') - -TEXDIR=kpse.var_value('SELFAUTOPARENT') - if os.type == 'windows' then - os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts') - os.setenv('PATH', TEXDIR..'/tlpkg/tlgs/bin;'..os.getenv('PATH')) gs='gswin32c' else gs='gs' diff --git a/Master/texmf/scripts/tlgs/gswin32/pdfopt.tlu b/Master/texmf/scripts/tlgs/gswin32/pdfopt.tlu index 30f89492dc5..6763cc4e036 100755 --- a/Master/texmf/scripts/tlgs/gswin32/pdfopt.tlu +++ b/Master/texmf/scripts/tlgs/gswin32/pdfopt.tlu @@ -21,13 +21,7 @@ function fixwin (args_unix) end end -kpse.set_program_name('pdfopt.bat', 'pdfopt') - -TEXDIR=kpse.var_value('SELFAUTOPARENT') - if os.type == 'windows' then - os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts') - os.setenv('PATH', TEXDIR..'/tlpkg/tlgs/bin;'..os.getenv('PATH')) gs='gswin32c' else gs='gs' diff --git a/Master/texmf/scripts/tlgs/gswin32/ps2ascii.tlu b/Master/texmf/scripts/tlgs/gswin32/ps2ascii.tlu index 6e587ea21b4..f219ab3ff1f 100755 --- a/Master/texmf/scripts/tlgs/gswin32/ps2ascii.tlu +++ b/Master/texmf/scripts/tlgs/gswin32/ps2ascii.tlu @@ -29,13 +29,7 @@ function remove_tmpfiles (tmpfiles) end end -kpse.set_program_name('ps2ascii.bat', 'ps2ascii') - -TEXDIR=kpse.var_value('SELFAUTOPARENT') - if os.type == 'windows' then - os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts') - os.setenv('PATH', TEXDIR..'/tlpkg/tlgs/bin;'..os.getenv('PATH')) gs='gswin32c' else gs='gs' diff --git a/Master/texmf/scripts/tlgs/gswin32/ps2pdf.tlu b/Master/texmf/scripts/tlgs/gswin32/ps2pdf.tlu index abe01c0a90b..4f1c26f1a4d 100755 --- a/Master/texmf/scripts/tlgs/gswin32/ps2pdf.tlu +++ b/Master/texmf/scripts/tlgs/gswin32/ps2pdf.tlu @@ -41,13 +41,7 @@ function basename (file) return(basename) end -kpse.set_program_name('ps2pdf.bat', 'ps2pdf') - -TEXDIR=kpse.var_value('SELFAUTOPARENT') - if os.type == 'windows' then - os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts') - os.setenv('PATH', TEXDIR..'/tlpkg/tlgs/bin;'..os.getenv('PATH')) gs='gswin32c' else gs='gs' @@ -100,7 +94,7 @@ for i=1, #other_opts do command[#command+1]=other_opts[i] end -command[#command+1]='-sOutputFile="'..outfile..'"' +command[#command+1]='-sOutputFile='..outfile for i=1, #options do command[#command+1]=options[i] @@ -111,8 +105,6 @@ if #files < 1 or #files > 2 then os.exit(0) end - - other_opts={'-c', '.setpdfwrite', '-f', files[1]} for i=1, #other_opts do diff --git a/Master/texmf/scripts/tlgs/gswin32/ps2pdf12.tlu b/Master/texmf/scripts/tlgs/gswin32/ps2pdf12.tlu index abe01c0a90b..4f1c26f1a4d 100755 --- a/Master/texmf/scripts/tlgs/gswin32/ps2pdf12.tlu +++ b/Master/texmf/scripts/tlgs/gswin32/ps2pdf12.tlu @@ -41,13 +41,7 @@ function basename (file) return(basename) end -kpse.set_program_name('ps2pdf.bat', 'ps2pdf') - -TEXDIR=kpse.var_value('SELFAUTOPARENT') - if os.type == 'windows' then - os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts') - os.setenv('PATH', TEXDIR..'/tlpkg/tlgs/bin;'..os.getenv('PATH')) gs='gswin32c' else gs='gs' @@ -100,7 +94,7 @@ for i=1, #other_opts do command[#command+1]=other_opts[i] end -command[#command+1]='-sOutputFile="'..outfile..'"' +command[#command+1]='-sOutputFile='..outfile for i=1, #options do command[#command+1]=options[i] @@ -111,8 +105,6 @@ if #files < 1 or #files > 2 then os.exit(0) end - - other_opts={'-c', '.setpdfwrite', '-f', files[1]} for i=1, #other_opts do diff --git a/Master/texmf/scripts/tlgs/gswin32/ps2pdf13.tlu b/Master/texmf/scripts/tlgs/gswin32/ps2pdf13.tlu index abe01c0a90b..4f1c26f1a4d 100755 --- a/Master/texmf/scripts/tlgs/gswin32/ps2pdf13.tlu +++ b/Master/texmf/scripts/tlgs/gswin32/ps2pdf13.tlu @@ -41,13 +41,7 @@ function basename (file) return(basename) end -kpse.set_program_name('ps2pdf.bat', 'ps2pdf') - -TEXDIR=kpse.var_value('SELFAUTOPARENT') - if os.type == 'windows' then - os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts') - os.setenv('PATH', TEXDIR..'/tlpkg/tlgs/bin;'..os.getenv('PATH')) gs='gswin32c' else gs='gs' @@ -100,7 +94,7 @@ for i=1, #other_opts do command[#command+1]=other_opts[i] end -command[#command+1]='-sOutputFile="'..outfile..'"' +command[#command+1]='-sOutputFile='..outfile for i=1, #options do command[#command+1]=options[i] @@ -111,8 +105,6 @@ if #files < 1 or #files > 2 then os.exit(0) end - - other_opts={'-c', '.setpdfwrite', '-f', files[1]} for i=1, #other_opts do diff --git a/Master/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu b/Master/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu index abe01c0a90b..4f1c26f1a4d 100755 --- a/Master/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu +++ b/Master/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu @@ -41,13 +41,7 @@ function basename (file) return(basename) end -kpse.set_program_name('ps2pdf.bat', 'ps2pdf') - -TEXDIR=kpse.var_value('SELFAUTOPARENT') - if os.type == 'windows' then - os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts') - os.setenv('PATH', TEXDIR..'/tlpkg/tlgs/bin;'..os.getenv('PATH')) gs='gswin32c' else gs='gs' @@ -100,7 +94,7 @@ for i=1, #other_opts do command[#command+1]=other_opts[i] end -command[#command+1]='-sOutputFile="'..outfile..'"' +command[#command+1]='-sOutputFile='..outfile for i=1, #options do command[#command+1]=options[i] @@ -111,8 +105,6 @@ if #files < 1 or #files > 2 then os.exit(0) end - - other_opts={'-c', '.setpdfwrite', '-f', files[1]} for i=1, #other_opts do |