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 :wink:

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?

The simplest example is I made a legend that says:
plot (...label=r'esno=%s,\\mu=%.2fms'%(esno,0.001*hist.mean()...

And \mu gets turned into an '=' sign

I am not setting text.usetex to True AFAIK (no .matplotlibrc).

I also note that there is no ~/.matplotlib/tex.cache on this machine.

···

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

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