Hi Arnd

I suspect this is down to bugs in the viewing software, rather than in PyX

On 30 Jan 2006, at 10:24 AM, Arnd Baecker wrote:

% latex t ; dvips t ; gv t.ps & ; ps2pdf t.ps ; acroread t.pdf % takes ages

This method works fine for me on Mac OS X with acroread 7, not slow at all. On the other hand, if I use Preview.app instead of acroread, then the pattern is not displayed properly.

I also tried using writePDFfile in PyX and then pdflatex, with essentially identical results (except PyX gave a warning message about ignoring the line color in the pattern).

You don't mention your platform, but I guess it is linux. Have you checked you have updated to the very latest acroread? Alternatively, you could try using kpdf, which has improved a lot recently (although I found it a bit slow in some instances).

Another possibility is to use ghostscript to "flatten" the ps file before including it:

 gs -dBATCH -dNOPAUSE -dSAFER -q -dEPSFitPage -dNOCACHE \
     -sDEVICE=epswrite -sOutputFile=flat.eps circle_boundary.eps

This rewrites the file entirely in terms of "basic" postscript operators. The downside is that it inflates the file size from 1kB to 2MB !!! The upside is that even the dumbest, buggiest viewer should be able to display it.

Cheers

Will Henney


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to