On Wed, Sep 30, 2009 at 7:52 AM, Marco Cabizza <marc...@gmail.com> 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 lists to turn into a latex support forum.
>
>        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. Have you looked at texmanager.py? It injects the contents of the
preamble after the default font settings and before \begin{document},
see make_tex. I don't have lucidabr.sty on my system so I cant test
it, but I think you should be able to set a string list in rcparams:

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.

Daren

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to