diff options
author | Karl Berry <karl@freefriends.org> | 2008-08-08 21:55:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-08-08 21:55:48 +0000 |
commit | 1f3a85e3c1a7828d9a3de91bca756b5d8c3f3e27 (patch) | |
tree | 8d95ecd33aae26dbbb8b7b1663feb70817086a0b /Master/texmf-dist/scripts/pst-pdf | |
parent | 19d19d77ed1229942da34de63e24f900d35ce183 (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-x | Master/texmf-dist/scripts/pst-pdf/ps4pdf | 3 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat | 8 | ||||
-rw-r--r-- | Master/texmf-dist/scripts/pst-pdf/ps4pdf.bat.w95 | 2 |
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
|