summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/pst-pdf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-08-08 21:55:48 +0000
committerKarl Berry <karl@freefriends.org>2008-08-08 21:55:48 +0000
commit1f3a85e3c1a7828d9a3de91bca756b5d8c3f3e27 (patch)
tree8d95ecd33aae26dbbb8b7b1663feb70817086a0b /Master/texmf-dist/scripts/pst-pdf
parent19d19d77ed1229942da34de63e24f900d35ce183 (diff)
pst-pdf update
git-svn-id: svn://tug.org/texlive/trunk@10189 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/pst-pdf')
-rwxr-xr-xMaster/texmf-dist/scripts/pst-pdf/ps4pdf3
-rwxr-xr-xMaster/texmf-dist/scripts/pst-pdf/ps4pdf.bat8
-rw-r--r--Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat.w952
3 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/scripts/pst-pdf/ps4pdf b/Master/texmf-dist/scripts/pst-pdf/ps4pdf
index cbdcb022926..621d3b71ad8 100755
--- a/Master/texmf-dist/scripts/pst-pdf/ps4pdf
+++ b/Master/texmf-dist/scripts/pst-pdf/ps4pdf
@@ -8,6 +8,7 @@
# as suggested by Niall Murphy.
# 2006-07-14: Better temp dir handling (suggested by Karl Berry) (RN).
# 2006-07-23: New option --Xps2pdf and code cleanup (thanks to Karl Berry) (RN).
+# 2008-08-04: Remove the parameter "-Ppdf" from the dvips call (RN).
# First, work around bugs/limitations in some shells on some systems:
test -f /bin/sh5 && test -z "$RUNNING_SH5" \
@@ -119,7 +120,7 @@ job=`echo "x$1" | sed 's@x@@; s@.*/@@; s@\.[^.]*$@@'`
setupTmpDir
myexec latex \
"\AtBeginDocument{\RequirePackage{pst-pdf}} \input{$file}"
-test -f "$job.dvi" && myexec dvips -Ppdf -o "$job-pics.ps" "$job.dvi"
+test -f "$job.dvi" && myexec dvips -o "$job-pics.ps" "$job.dvi"
test -f "$job-pics.ps" && myexec ps2pdf \
"$ps2pdf_opts" "$job-pics.ps" "$job-pics.pdf"
if $crop; then
diff --git a/Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat b/Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat
index 7adae934578..b60630d862d 100755
--- a/Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat
+++ b/Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat
@@ -64,7 +64,7 @@ for %%a in (%0) do set _progname=%%~na
echo Usage: %_progname% SourceFile[.tex]
pause
goto :EOF
-%~na
-echo Usage: %_progname% SourceFile[.tex]
-pause
-goto :EOF
+%~na
+echo Usage: %_progname% SourceFile[.tex]
+pause
+goto :EOF
diff --git a/Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat.w95 b/Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat.w95
index 591c910cab3..ce738481825 100644
--- a/Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat.w95
+++ b/Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat.w95
@@ -5,4 +5,4 @@ latex %FILE%.tex
dvips -Ppdf -o %FILE%-pics.ps %FILE%.dvi
ps2pdf -dAutoRotatePages#/None %File%-pics.ps %File%-pics.pdf
texify -b -l latex -p %File%.tex
-%.tex
+%.tex