Darren Dale <[EMAIL PROTECTED]> writes:

> On Monday 14 May 2007 9:02:08 am Lev Givon wrote:
>> In the matplotlib-users list archive, I noticed that someone once
>> mooted the possibility of patching the matplotlib LaTeX code to
>> provide a user-configurable parameter that would allow one to add
>> extra lines to the LaTeX preamble. I didn't see any responses from the
>> matplotlib developers regarding their opinions of the suggested patch,
>> however.
>
> I am not in favor of adding a parameter that allows users to add additional 
> lines to the preamble. It took a lot of work to get usetex working on all 
> platforms, and I just don't have the kind of time anymore to add an option 
> that will allow endless configuration of latex parameters. It's not the 
> implementation of the patch that is the problem, it is all the support 
> requests that will follow from latex-specific failures related to customized 
> preamble settings.

I'd *really* like the ability to ``usepackage`` for various reasons and it
would clearly add useful functionality that is not otherwise obtainable.

I understand concern about an additional support burden, but couldn't this be
handled by explicitly noting that it's unsupported, possibly even printing out
an unsubtle warning like so:

warnings.warn("""
***********************************************************************************
* YOU SPECIFIED A CUSTOM LATEX-PREAMBLE -- THIS IS AN UNSUPPORTED FEATURE.      
  *
* PLEASE DO NOT REPORT PROBLEMS TO matplotlib-users@lists.sourceforge.net       
  *
* BEFORE YOU HAVE REMOVED YOUR latex_preamble=... SETTING.                      
  *
***********************************************************************************
""")

?

cheers,

'as

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to