summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts/tlgs
diff options
context:
space:
mode:
authorReinhard Kotucha <reinhard.kotucha@web.de>2009-06-09 19:59:49 +0000
committerReinhard Kotucha <reinhard.kotucha@web.de>2009-06-09 19:59:49 +0000
commit1f9de641fc54400f87d722ca5230cc5f1a8f9b95 (patch)
treeaa5bf855d5a4c53c4b48c50ef02641991d5fa16a /Master/texmf/scripts/tlgs
parentcb518f00d6f555ef49f18b12c7c8dcb2576d2956 (diff)
ps2pdf*.tlu: bug fixed, *.tlu: obsolete kpathsea calls removed.
git-svn-id: svn://tug.org/texlive/trunk@13684 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/scripts/tlgs')
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/eps2eps.tlu6
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/pdf2dsc.tlu6
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/pdfopt.tlu6
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/ps2ascii.tlu6
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/ps2pdf.tlu10
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/ps2pdf12.tlu10
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/ps2pdf13.tlu10
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu10
8 files changed, 4 insertions, 60 deletions
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