Re: [Matplotlib-users] Latex problems...

2006-07-10 Thread Darren Dale
On Monday 10 July 2006 14:08, Fernando Perez wrote: > On 7/10/06, Darren Dale <[EMAIL PROTECTED]> wrote: > > Hi Fernando, > > > > I tried opening your example of a bad eps file produced with the xpdf > > option, and it looks identical to the good example you sent. (I opened it > > with both ggv, an

Re: [Matplotlib-users] Latex problems...

2006-07-10 Thread Fernando Perez
On 7/10/06, Darren Dale <[EMAIL PROTECTED]> wrote: > Hi Fernando, > > I tried opening your example of a bad eps file produced with the xpdf option, > and it looks identical to the good example you sent. (I opened it with both > ggv, and gv.) My mistake, sorry: gv (on both my Fedora 3 and my ubuntu

Re: [Matplotlib-users] Latex problems...

2006-07-10 Thread Darren Dale
This is a known bug in ESP Ghostscript, not matplotlib. ESP version 8.15.02 broke xpdf's pdftops program. I posted a bug report to the ESP website, and it has been fixed in their sources, but they havent made a new release since that time. Your options are either to drop back to ESP version 7.07

Re: [Matplotlib-users] Latex problems...

2006-07-10 Thread Pieter Dumon
Sorry, forgot the actual PS file, which contains the actual error. Here it is On 7/10/06, Pieter Dumon <[EMAIL PROTECTED]> wrote: On 7/10/06, Darren Dale <[EMAIL PROTECTED]> wrote: > Pieter Dumon wrote: > > For example, this fails for me (it does work without xpdf and doing > > ps2pdf afterward

Re: [Matplotlib-users] Latex problems...

2006-07-10 Thread Pieter Dumon
On 7/10/06, Darren Dale <[EMAIL PROTECTED]> wrote: Pieter Dumon wrote: > For example, this fails for me (it does work without xpdf and doing > ps2pdf afterwards): > import matplotlib > matplotlib.use('PS') > import pylab > > pylab.rc('text',usetex=True) > pylab.rc('ps',usedistiller='xpdf') > p

Re: [Matplotlib-users] Latex problems...

2006-07-10 Thread Darren Dale
Hi Fernando, I tried opening your example of a bad eps file produced with the xpdf option, and it looks identical to the good example you sent. (I opened it with both ggv, and gv.) Darren On Sunday 09 July 2006 23:33, Fernando Perez wrote: > On 7/9/06, Darren Dale <[EMAIL PROTECTED]> wrote: >

Re: [Matplotlib-users] Latex problems...

2006-07-10 Thread Darren Dale
Pieter Dumon wrote: > Could the bug I submitted some time ago be related to this ? (1502970 > at http://sourceforge.net/tracker/?group_id=80706&atid=560720) > > For example, this fails for me (it does work without xpdf and doing > ps2pdf afterwards): > My poppler/xpdf installation should be allrigh

Re: [Matplotlib-users] Latex problems...

2006-07-10 Thread Pieter Dumon
Could the bug I submitted some time ago be related to this ? (1502970 at http://sourceforge.net/tracker/?group_id=80706&atid=560720) For example, this fails for me (it does work without xpdf and doing ps2pdf afterwards): My poppler/xpdf installation should be allright import matplotlib matplotlib

Re: [Matplotlib-users] Latex problems...

2006-07-09 Thread Fernando Perez
On 7/9/06, Darren Dale <[EMAIL PROTECTED]> wrote: Would you send me an example of a file with a bad bbox and one that is correct? Thanks for looking into this! f distill_false_bbox_ok.eps.gz Description: GNU Zip compressed data distill_xpdf_bbox_bad.eps.gz Description: GNU Zip compressed d

Re: [Matplotlib-users] Latex problems...

2006-07-09 Thread Darren Dale
Would you send me an example of a file with a bad bbox and one that is correct? On Sunday 09 July 2006 10:28 pm, Fernando Perez wrote: > On 7/9/06, Darren Dale <[EMAIL PROTECTED]> wrote: > > I think this is artifact results from a combination of the ghostscript > > distiller and the postscript re

Re: [Matplotlib-users] Latex problems...

2006-07-09 Thread Fernando Perez
On 7/9/06, Darren Dale <[EMAIL PROTECTED]> wrote: > I think this is artifact results from a combination of the ghostscript > distiller and the postscript renderer. If you have xpdf on your system, you > can set ps.usedistiller : xpdf in rc. That will give you embeddable eps files > without convert

Re: [Matplotlib-users] Latex problems...

2006-07-09 Thread Darren Dale
On Sunday 09 July 2006 12:53 am, you wrote: > > The fix took a little more work in order to address a problem Wolfgang > > reported with win32 a while back. Both texmanager and backend_ps have > > been improved and tested on a bleeding edge gentoo system and a windows > > system. > > > > Iff you ha

Re: [Matplotlib-users] Latex problems...

2006-07-08 Thread Fernando Perez
On 7/8/06, Darren Dale <[EMAIL PROTECTED]> wrote: Hi Fernando, On Friday 07 July 2006 10:36 pm, you wrote: > On 7/7/06, Darren Dale <[EMAIL PROTECTED]> wrote: > > Thanks Fernando. I'll work on this in the morning. I've been boozing all > > evening... > > Enjoy the evening, and in the morning, wa

Re: [Matplotlib-users] Latex problems...

2006-07-08 Thread Darren Dale
Hi Fernando, On Friday 07 July 2006 10:36 pm, you wrote: > On 7/7/06, Darren Dale <[EMAIL PROTECTED]> wrote: > > Thanks Fernando. I'll work on this in the morning. I've been boozing all > > evening... > > Enjoy the evening, and in the morning, watch out for the > > cd foo && command > > syntax I u

Re: [Matplotlib-users] Latex problems...

2006-07-07 Thread Fernando Perez
On 7/7/06, Darren Dale <[EMAIL PROTECTED]> wrote: > Thanks Fernando. I'll work on this in the morning. I've been boozing all > evening... Enjoy the evening, and in the morning, watch out for the cd foo && command syntax I used. It's valid bash, but I don't know about win32... Take care, f Us

Re: [Matplotlib-users] Latex problems...

2006-07-07 Thread Darren Dale
Thanks Fernando. I'll work on this in the morning. I've been boozing all evening... On Friday 07 July 2006 6:43 pm, Fernando Perez wrote: > On 7/7/06, Fernando Perez <[EMAIL PROTECTED]> wrote: > > On 7/7/06, Fernando Perez <[EMAIL PROTECTED]> wrote: > > > Don't worry about me: I'll fix the mpl s

Re: [Matplotlib-users] Latex problems...

2006-07-07 Thread John Pye
On FC4 (and FC5) we've got version 3.0 of tetex: $ rpm -q tetex tetex-3.0-10.FC4 So it looks like the Badger's dragging the chain in this case :-) Fernando Perez wrote: >But aside from my own troubles, I suspect that if you guys release >0.87.4 with this bug, I won't be the only one complaining

Re: [Matplotlib-users] Latex problems...

2006-07-07 Thread Fernando Perez
On 7/7/06, Fernando Perez <[EMAIL PROTECTED]> wrote: On 7/7/06, Fernando Perez <[EMAIL PROTECTED]> wrote: > Don't worry about me: I'll fix the mpl sources myself, that's easy > enough as a workaround. But you may want to take care of this before > the new release is out, which John mentioned th

Re: [Matplotlib-users] Latex problems...

2006-07-07 Thread Fernando Perez
On 7/7/06, Fernando Perez <[EMAIL PROTECTED]> wrote: > Don't worry about me: I'll fix the mpl sources myself, that's easy > enough as a workaround. But you may want to take care of this before > the new release is out, which John mentioned this morning as coming > soon. I got it to work by chang

Re: [Matplotlib-users] Latex problems...

2006-07-07 Thread Fernando Perez
On 7/7/06, Darren Dale <[EMAIL PROTECTED]> wrote: > Hi Fernando, > > On Friday 07 July 2006 17:56, Fernando Perez wrote: > > Hi all, > > > > with a current SVN checkout, I'm having serious latex problems (run > > with debug-annoying): > > I'm sorry for the trouble. I tried checking my recent change

Re: [Matplotlib-users] Latex problems...

2006-07-07 Thread Darren Dale
Hi Fernando, On Friday 07 July 2006 17:56, Fernando Perez wrote: > Hi all, > > with a current SVN checkout, I'm having serious latex problems (run > with debug-annoying): I'm sorry for the trouble. I tried checking my recent changes on windows and Linux, and didnt have any trouble, but I didnt t

[Matplotlib-users] Latex problems...

2006-07-07 Thread Fernando Perez
Hi all, with a current SVN checkout, I'm having serious latex problems (run with debug-annoying): In [5]: plot([1,2,3]) FigureCanvasAgg.draw RendererAgg._get_agg_font findfont failed New Century Schoolbook findfont failed Century Schoolbook L findfont failed Utopia