summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu')
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu10
1 files changed, 1 insertions, 9 deletions
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