Il giorno 30 set 09, alle ore 17.01, Jouni K. Seppänen ha scritto:
> If you do
>
> matplotlib.rcParams['text.latex.preamble'] = [r'\usepackage
> {lucidabr}']
>
> does it start working?
I eventually managed to get it work; thanks for your help !
For the record:
'text.latex.preamb
Marco Cabizza writes:
>> \
>> u
>> s
>> e
Sounds like the value of your text.latex.preamble got interpreted as a
list of one-character strings and not a list of one longer string. What
exactly do you have in the rc file as the contents of tex.latex.*
variables in the file? What does
matplotlib
Il giorno 30 set 09, alle ore 15.13, Darren Dale ha scritto:
> all on one line:
> text.latex.preamble :
> \usepackage[T1]{fontenc},\usepackage{textcomp},\usepackage{lucidabr}
>
> You may need to clear your tex.cache as Jouni suggests.
Here's what I get:
> \usepackage{courier}
>
> \
> u
>
On Wed, Sep 30, 2009 at 7:52 AM, Marco Cabizza wrote:
> Il giorno 30 set 09, alle ore 13.25, Darren Dale ha scritto:
>>
>> Probably setting the preamble in rc is your best option. I added the
>> note that it is not supported not because it is broken, but because I
>> don't want the mpl mailing lis
Marco Cabizza writes:
> The point is that when i put \usepackage{lucidabr} it complains about
> a missing \begin{document}. Does the text.latex.preamble variable
> replace the whole LaTeX preamble ?
No, it shouldn't do that. Run rm ~/.matplotlibrc/tex.cache/*, then run
your script once
Il giorno 30 set 09, alle ore 13.25, Darren Dale ha scritto:
> Probably setting the preamble in rc is your best option. I added the
> note that it is not supported not because it is broken, but because I
> don't want the mpl mailing lists to turn into a latex support forum.
The point is th
On Tue, Sep 29, 2009 at 3:28 PM, Marco Cabizza wrote:
> Hello,
>
> I'm writing my thesis with the Lucida Bright font ( provided by the
> lucidabr package ) and I can't seem to get properly rendered fonts in
> any Matplotlib eps file. Setting the preamble with the rc variable
> doesn't look
Hello,
I'm writing my thesis with the Lucida Bright font ( provided by the
lucidabr package ) and I can't seem to get properly rendered fonts in
any Matplotlib eps file. Setting the preamble with the rc variable
doesn't look like a good idea, I even tried adding lucidabr to
texmana