# latex just produces gibberish

Michael Droettboom wrote:

Are you setting text.usetex to True, or using matplotlib's built-in
mathtext rendering?

Can you attach an image? I've seen enough of these failure cases that I
can often guess by looking at it

Mike

Darren Dale wrote:

I have an old fedora 11 system. When I try to use latex math (e.g.,
$\mu=2$), it gives no error, but seems to produce gibberish (just ordinary
ascii chars) in my pdf output.

Any ideas how to debug?

Try using raw strings. If that doesn't work, try submitting a short example.

submitting an example won't help. The problem is with this installation. My
question is, how can I try to debug it?

Oops, forgot the screenshot

···

On 05/18/2011 09:21 AM, Neal Becker wrote:

On Tue, May 17, 2011 at 2:05 PM, Neal >>> Becker<ndbecker2@...287...> wrote:

Sounds like you don’t have the fonts installed and/or they are not
getting found.

You can try removing the font cache, which will force a research.


(~/.matplotlib/fontList.cache)

If that doesn't work, in your matplotlibrc add the line:

verbose.level: debug-annoying

This will print out a bunch of information about font searching and


hopefully track down why the Bakoma fonts are not getting found.

Mike

···

<ndbecker2@…287…>http://p.sf.net/sfu/intel-dev2devmay