[pstricks] Fwd: Bugs in pst-tree v1.10?

Johan Ihren johani at autonomica.se
Wed Sep 16 17:27:02 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Herbert,

>> I just noticed that a tree in a document processed on a machine  
>> with the
>> latest Mac-TeX 2008 bundle came out wrongly while the same tree was  
>> just
>> fine when rendered on another machine with an older version of Mac- 
>> TeX.
>>
>> I've chased the problem to pst-tree v1.10 with pst-tree v1.01 being
>> fine. Here's minimalistic example triggering the error:
>
> I have no problems with your example:

Interesting. To get pstricks graphics into a PDF file I do the  
following:

latex test.tex
dvips -Ppdf -o test-pics.ps test.dvi
ps2pdf test-pics.ps test-pics.pdf
pdflatex test.tex
pdflatex test.tex

and now, looking more carefully, I agree that the drawing is correct  
in the dvi file (as shown by xdvi), but the test-pics.ps file is wrong  
(as shown by ghostscript). Hence there's either a problem with dvips,  
or there is a bounding box in the dvi file which dvips uses (but xdvi  
doesn't use) which is wrong.

But I don't know how to find a bounding box for a ps \special inside a  
dvi file. I tried hunting for a "%%BoundingBox" string but didn't find  
it.

Regards,

Johan


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBSrEDyfotlDfa2H4ZAQKDnQP/WwRMoJWc4kFtrFm5kHWAkAY6dC7pOf5x
iE/2Te52tmGQtJniGo7X2VkvuSDfETbmFXA+BSdYMqekPonVm9Xr610oO+9C8UGG
+5VygU31xSNaUR5dXzulA0PfD60or3ojpk+Gew/a5VnaWqTH+6/NgjLHUisvvsWL
3ndaNZx7cNo=
=pauE
-----END PGP SIGNATURE-----


More information about the PSTricks mailing list