summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/eps2eps.tlu2
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/pdfopt.tlu2
-rwxr-xr-xMaster/texmf/scripts/tlgs/gswin32/ps2ascii.tlu4
-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
7 files changed, 24 insertions, 24 deletions
diff --git a/Master/texmf/scripts/tlgs/gswin32/eps2eps.tlu b/Master/texmf/scripts/tlgs/gswin32/eps2eps.tlu
index 3a4e36efd80..0eafca53a09 100755
--- a/Master/texmf/scripts/tlgs/gswin32/eps2eps.tlu
+++ b/Master/texmf/scripts/tlgs/gswin32/eps2eps.tlu
@@ -41,7 +41,7 @@ for i=1, #arg do
end
if files < 2 then
- io.stderr:write('Usage: eps2eps [options] input.eps output.eps')
+ io.stderr:write('Usage: eps2eps [options] input.eps output.eps\n')
os.exit(0)
end
diff --git a/Master/texmf/scripts/tlgs/gswin32/pdfopt.tlu b/Master/texmf/scripts/tlgs/gswin32/pdfopt.tlu
index 6763cc4e036..b44feb70647 100755
--- a/Master/texmf/scripts/tlgs/gswin32/pdfopt.tlu
+++ b/Master/texmf/scripts/tlgs/gswin32/pdfopt.tlu
@@ -43,7 +43,7 @@ command[#command+1]='--'
command[#command+1]='pdfopt.ps'
if #files ~= 2 then
- io.stderr:write('Usage: pdfopt [options] input.pdf output.pdf')
+ io.stderr:write('Usage: pdfopt [options] input.pdf output.pdf\n')
os.exit(0)
else
for i=1, #files do
diff --git a/Master/texmf/scripts/tlgs/gswin32/ps2ascii.tlu b/Master/texmf/scripts/tlgs/gswin32/ps2ascii.tlu
index f219ab3ff1f..25cc36bf95d 100755
--- a/Master/texmf/scripts/tlgs/gswin32/ps2ascii.tlu
+++ b/Master/texmf/scripts/tlgs/gswin32/ps2ascii.tlu
@@ -36,7 +36,7 @@ else
end
command={gs, '-q', '-dNODISPLAY', '-dBATCH', '-dSAFER', '-dDELAYBIND',
- '-dWRITESYSTEMDICT', '-dSIMPLE', 'ps2ascii.ps', '-c', 'save',
+ '-dWRITESYSTEMDICT', '-dSIMPLE', '-c', 'save',
'-f', 'ps2ascii.ps'}
if #arg < 2 then
@@ -49,7 +49,7 @@ if #arg < 2 then
elseif #arg == 2 then
-- We need a shell for I/O redirection.
command=gs..' -q -dNODISPLAY -dBATCH -dSAFER -dDELAYBIND'..
- '-dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps -c save'..
+ '-dWRITESYSTEMDICT -dSIMPLE -c save'..
'-f ps2ascii.ps > "'..arg[2]..'"'
end
diff --git a/Master/texmf/scripts/tlgs/gswin32/ps2pdf.tlu b/Master/texmf/scripts/tlgs/gswin32/ps2pdf.tlu
index 4f1c26f1a4d..c3d8b12a5e5 100755
--- a/Master/texmf/scripts/tlgs/gswin32/ps2pdf.tlu
+++ b/Master/texmf/scripts/tlgs/gswin32/ps2pdf.tlu
@@ -72,6 +72,11 @@ for i=1, #arg do
end
end
+if #files < 1 or #files > 2 then
+ io.stderr:write('Usage: ps2pdf [options] (input.[e]ps|-) [output.pdf]\n')
+ os.exit(0)
+end
+
if #files == 1 then
if string.find(files[1], '^-$') then
outfile='-'
@@ -100,11 +105,6 @@ for i=1, #options do
command[#command+1]=options[i]
end
-if #files < 1 or #files > 2 then
- io.stderr:write('Usage: ps2pdf [options] (input.[e]ps|-) [output.pdf]\n')
- 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 4f1c26f1a4d..c3d8b12a5e5 100755
--- a/Master/texmf/scripts/tlgs/gswin32/ps2pdf12.tlu
+++ b/Master/texmf/scripts/tlgs/gswin32/ps2pdf12.tlu
@@ -72,6 +72,11 @@ for i=1, #arg do
end
end
+if #files < 1 or #files > 2 then
+ io.stderr:write('Usage: ps2pdf [options] (input.[e]ps|-) [output.pdf]\n')
+ os.exit(0)
+end
+
if #files == 1 then
if string.find(files[1], '^-$') then
outfile='-'
@@ -100,11 +105,6 @@ for i=1, #options do
command[#command+1]=options[i]
end
-if #files < 1 or #files > 2 then
- io.stderr:write('Usage: ps2pdf [options] (input.[e]ps|-) [output.pdf]\n')
- 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 4f1c26f1a4d..c3d8b12a5e5 100755
--- a/Master/texmf/scripts/tlgs/gswin32/ps2pdf13.tlu
+++ b/Master/texmf/scripts/tlgs/gswin32/ps2pdf13.tlu
@@ -72,6 +72,11 @@ for i=1, #arg do
end
end
+if #files < 1 or #files > 2 then
+ io.stderr:write('Usage: ps2pdf [options] (input.[e]ps|-) [output.pdf]\n')
+ os.exit(0)
+end
+
if #files == 1 then
if string.find(files[1], '^-$') then
outfile='-'
@@ -100,11 +105,6 @@ for i=1, #options do
command[#command+1]=options[i]
end
-if #files < 1 or #files > 2 then
- io.stderr:write('Usage: ps2pdf [options] (input.[e]ps|-) [output.pdf]\n')
- 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 4f1c26f1a4d..c3d8b12a5e5 100755
--- a/Master/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu
+++ b/Master/texmf/scripts/tlgs/gswin32/ps2pdf14.tlu
@@ -72,6 +72,11 @@ for i=1, #arg do
end
end
+if #files < 1 or #files > 2 then
+ io.stderr:write('Usage: ps2pdf [options] (input.[e]ps|-) [output.pdf]\n')
+ os.exit(0)
+end
+
if #files == 1 then
if string.find(files[1], '^-$') then
outfile='-'
@@ -100,11 +105,6 @@ for i=1, #options do
command[#command+1]=options[i]
end
-if #files < 1 or #files > 2 then
- io.stderr:write('Usage: ps2pdf [options] (input.[e]ps|-) [output.pdf]\n')
- os.exit(0)
-end
-
other_opts={'-c', '.setpdfwrite', '-f', files[1]}
for i=1, #other_opts do