Nils Wagner <nwagner@...56...> writes:

How can I get rid of this warnings ?

UserWarning: Bad key "font.latex.package" on line 118 in
/home/nwagner/.matplotlib/matplotlibrc
UserWarning: Bad key "text.tex.engine" on line 127 in
/home/nwagner/.matplotlib/matplotlibrc

Remove these lines from your matplotlibrc. You're apparently using the
CVS version, since these rc keys have been removed since the last
release. You should probably read the CHANGELOG file when you update:

2006-02-01 Dropped TeX engine support in usetex to focus on LaTeX. - DSD

2006-01-29 Improved usetex option to respect the serif, sans-serif, monospace,
and cursive rc settings. Removed the font.latex.package rc setting,
it is no longer required - DSD

By the way, can the current implementation really do everything you
could do with font.latex.package? For example, if I want to use the
mathptm fonts� for math, how do I specify the equivalent of
\usepackage{mathptmx} in matplotlibrc?

···

--
Jouni

Thank you for the link. I was not familiar with it and will give it a close
look, maybe this weekend.

When you select Times as your serif font, that loads the mathptmx package.
Likewise, if you select palatino, the mathpazo package is loaded. Here is a
link to a pdf discussing the adobe fon packages that are currently available,
its a good reference for the usetex'ers out there. I'll add a link to the
wiki when it is time to update it.

···

On Friday 03 February 2006 6:47 am, Jouni K Seppanen wrote:

Nils Wagner <nwagner@...56...> writes:
> How can I get rid of this warnings ?
>
> UserWarning: Bad key "font.latex.package" on line 118 in
> /home/nwagner/.matplotlib/matplotlibrc
> UserWarning: Bad key "text.tex.engine" on line 127 in
> /home/nwagner/.matplotlib/matplotlibrc

Remove these lines from your matplotlibrc. You're apparently using the
CVS version, since these rc keys have been removed since the last

release. You should probably read the CHANGELOG file when you update:
> 2006-02-01 Dropped TeX engine support in usetex to focus on LaTeX. - DSD
>
> 2006-01-29 Improved usetex option to respect the serif, sans-serif,
> monospace, and cursive rc settings. Removed the font.latex.package rc
> setting, it is no longer required - DSD

By the way, can the current implementation really do everything you
could do with font.latex.package? For example, if I want to use the
mathptm fonts¹ for math, how do I specify the equivalent of
\usepackage{mathptmx} in matplotlibrc?

--
Darren S. Dale, Ph.D.
dd55@...163...

http://www.ctan.org/tex-archive/macros/latex/required/psnfss/psnfss2e.pdf

···

On Friday 03 February 2006 7:05 am, Darren Dale wrote:

On Friday 03 February 2006 6:47 am, Jouni K Seppanen wrote:
> Nils Wagner <nwagner@...56...> writes:
> > How can I get rid of this warnings ?
> >
> > UserWarning: Bad key "font.latex.package" on line 118 in
> > /home/nwagner/.matplotlib/matplotlibrc
> > UserWarning: Bad key "text.tex.engine" on line 127 in
> > /home/nwagner/.matplotlib/matplotlibrc
>
> Remove these lines from your matplotlibrc. You're apparently using the
> CVS version, since these rc keys have been removed since the last
>
> release. You should probably read the CHANGELOG file when you update:
> > 2006-02-01 Dropped TeX engine support in usetex to focus on LaTeX. -
> > DSD
> >
> > 2006-01-29 Improved usetex option to respect the serif, sans-serif,
> > monospace, and cursive rc settings. Removed the font.latex.package rc
> > setting, it is no longer required - DSD
>
> By the way, can the current implementation really do everything you
> could do with font.latex.package? For example, if I want to use the
> mathptm fonts¹ for math, how do I specify the equivalent of
> \usepackage{mathptmx} in matplotlibrc?
>
> ¹ http://www.tex.ac.uk/cgi-bin/texfaq2html?label=psfchoice

Thank you for the link. I was not familiar with it and will give it a close
look, maybe this weekend.

When you select Times as your serif font, that loads the mathptmx package.
Likewise, if you select palatino, the mathpazo package is loaded. Here is a
link to a pdf discussing the adobe fon packages that are currently
available, its a good reference for the usetex'ers out there. I'll add a
link to the wiki when it is time to update it.