tk, pylab and unicode

Xavier Gnata <gnata@...419...>
writes:

I'm a french user and I'm trying to put an '�' into a pylab title.

Ok it is a bug because matplotlib.rc('text',usetex=False) and then it works.
But is always fails using matplotlib.rc('text',usetex=True)

As a workaround, does \'e (as in r"f\'evrier") work with usetex=True?

···

--
Jouni K. Sepp�nen
http://www.iki.fi/jks

Jouni K. Sepp�nen wrote:

Xavier Gnata <gnata@...419...>
writes:

I'm a french user and I'm trying to put an '�' into a pylab title.
      

Ok it is a bug because matplotlib.rc('text',usetex=False) and then it works.
But is always fails using matplotlib.rc('text',usetex=True)
    
As a workaround, does \'e (as in r"f\'evrier") work with usetex=True?

yes it does!
Latex just works but using usetex=True there is a side effect preventing utf8 to work in a correct way.

Xavier

···

--
############################################
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles Andr�
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: gnata@...419...
############################################