On Tuesday 24 July 2007 12:59:54 pm Peter Würtz wrote: > Hi, > > > Try getting your system set up to use the xpdf distiller, that has always > > given me excellent results. > > Thanks alot! Using xpdf gives perfect results! > http://www.staff.uni-mainz.de/wuertz/matplotlib/xpdf_tof_spectrum_bec_500ns >.eps > http://www.staff.uni-mainz.de/wuertz/matplotlib/xpdf_tof_spectrum_bec_500ns >.pdf
Good. If you insert those into another latex document and create a pdf, the text in your figure will even be searchable! > > There have been many problems reported on this mailing list that concern > > latex markup. Most often, people have difficulty getting usetex to work > > because matplotlib depends on latex, dvipng, ghostscript, and optionally > > xpdf (more precisely, xpdf's pdftops utility). > > The problem is, the whole plot/ps/eps/dvi/ghostscript/pdf/xpdf/distiller > process is totally obscure to a normal user. We know, but it is the best we have been able to do so far. It is a difficult problem to solve. We document what we have, as best we can, at the usetex wiki page, but it sometimes gets overlooked. There has been some effort to produce a utility to parse the dvi file and use that information directly, which would cut the external deps back to only latex. > For example, i don't have > xpdf installed... but choosing the xpdf setting gives me perfect results > now. If I understand you correctly, I just need the "pdftops" utility > included in "poppler-utils". Thats right. Maybe I should change the rc keyword, which was named when pdftops was part of xpdf. Darren ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users