[pstricks] New behaviour of ps4pdf and pdflatex after upgrade to texlive-2011

Juergen Rose rose at rz.uni-potsdam.de
Mon Aug 1 21:19:59 CEST 2011


Am Montag, den 01.08.2011, 20:53 +0200 schrieb Herbert Voss:
> Am 01.08.2011 20:40, schrieb Juergen Rose:
> 
> > But there is no progress with small_pstricks.article.tex and
> > small_pstricks.beamer.tex. Whatever I do 'ps4pdf
> > small_pstricks.beamer.tex | ps4pdf  small_pstricks.article.tex' without
> > \usepackage{auto-pst-pdf and without \usepackage{pst-pdf} in
> > TeX/main_s.tex or 'pdflatex -shell-escape small_pstricks.beamer.tex'
> > with \usepackage{auto-pst-pdf} or \usepackage{pst-pdf} I get every time
> >
> > ! LaTeX Error: Cannot determine size of graphic in
> > small_pstricks.article-pics.
> > pdf (no BoundingBox).
> 
> with "ps4pdf" you need pst-pdf
> with "pdflatex -shell-escape" you need auto-pst-pdf
> 
> did you try it this way?
 
Yes I tried this. I test once more:

rose at moose:/home/rose/Txt/projects/Test_Project/Report(190)$ grep
pst-pdf TeX/main_s.tex 
\usepackage{auto-pst-pdf}           %  needed by texlive-2011
%\usepackage{pst-pdf}           %  needed by texlive-2011

i.e. auto-pst-pdf is active. I try to work with pdflatex

rose at moose:/home/rose/Txt/projects/Test_Project/Report(191)$ pdflatex
-shell-escape small_pstricks.article.tex 
..
Non-PDF special ignored!
Non-PDF special
ignored!{//var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
(./Pictures/archimedean_spiral_par.tex ( FP-MUL ) ( FP-UPN
FP debug: upn: +++ computing upn-expression "2 3{} / 2{} *"
FP debug: upn: calculating "2"
FP debug: upn: result      "2"
..
FP debug: upn: +++ result of upn-expression is "(0.666666666666666666)"
) ( FP-ROUND ) ( FP-ROUND )

! LaTeX Error: Cannot determine size of graphic in
small_pstricks.article-pics.
pdf (no BoundingBox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.26   }
..
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on small_pstricks.article.log.
rose at moose:/home/rose/Txt/projects/Test_Project/Report(192)$ 


I change \usepackage{auto-pst-pdf} to \usepackage{pst-pdf} in
TeX/main_s.tex:

rose at moose:/home/rose/Txt/projects/Test_Project/Report(193)$ grep
pst-pdf TeX/main_s.tex 
%\usepackage{auto-pst-pdf}           %  needed by pdflatex in
texlive-2011
\usepackage{pst-pdf}           %  needed by ps4pdf in texlive-2011
rose at moose:/home/rose/Txt/projects/Test_Project/Report(194)$ ps4pdf
small_pstricks.article.tex 
/usr/bin/ps4pdf: running latex
\AtBeginDocument{\RequirePackage{pst-pdf}}
\input{small_pstricks.article.tex}
/usr/bin/ps4pdf: running dvips -o small_pstricks.article-pics.ps
small_pstricks.article.dvi
/usr/bin/ps4pdf: running ps2pdf -dAutoRotatePages=/None
small_pstricks.article-pics.ps small_pstricks.article-pics.pdf
/usr/bin/ps4pdf: running pdflatex
\AtBeginDocument{\RequirePackage{pst-pdf}}
\input{small_pstricks.article.tex}
/usr/bin/ps4pdf: command pdflatex
\AtBeginDocument{\RequirePackage{pst-pdf}}
\input{small_pstricks.article.tex} returned with code 1
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
..
LaTeX Warning: Unused global option(s):
    [proc,a4g].
..
(./small_pstricks.article.toc) [1
Non-PDF special ignored!
Non-PDF special
ignored!{//var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
(./Pictures/archimedean_spiral_par.tex ( FP-MUL ) ( FP-UPN
FP debug: upn: +++ computing upn-expression "2 3{} / 2{} *"
..
FP debug: upn: +++ result of upn-expression is "(0.666666666666666666)"
) ( FP-ROUND ) ( FP-ROUND )

! LaTeX Error: Cannot determine size of graphic in
small_pstricks.article-pics.
pdf (no BoundingBox).





More information about the PSTricks mailing list