John Hunter wrote:
> On Thu, Jun 12, 2008 at 7:47 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
>
>   
>> Barring that, I suppose we'll have to a) drop the symbol table or b) use
>> mathtext to generate the math for LaTeX (there's something very patricidal
>> about that... ;).  b) may be a little bit of work to do well, since we don't
>> currently have a way to get a nice tightly-bound PDF of a math expression,
>> and embedding PNGs will look bad.
>>     
>
> Now that we have this bug fixed, we don't need to consider any of
> these alternatives.  But not having correct bounding boxes for the PDF
> mathtext expressions is a problem worth fixing.  What is the status of
> this: tried and impossible, tried but haven't figured it out, haven't
> tried, etc?   Jouni, is this something you could take another look at?
>
>   
I don't think this is a PDF problem necessarily.  I only meant that 
there is no mathtext2pdf (equivalent to mathtext2png).  It would need to 
render the math to determine its bounding box (doable now), and then 
create a new figure of the correct size to render to.  Not difficult, 
but potentially finicky.

We still have the problem of a lack of baseline output from mathtext 
(but that exists regardless of backend).
> In a perfect world, we would have mathtext format our math using the
> pdf backend for the mathtext expressions in the spirit of "what you
> see is what you get", but I don't consider this to be a high priority
> now that users can build some docs (html) w/o a latex install.  Since
> building PDF requires latex anyhow, using our own mathtext is only a
> marginal benefit.
>   
Right -- that's how I see it, too.  Plus having LaTeX render the math 
means that everything looks like it belongs (the right sizes, spacing etc.)

Cheers,
Mike

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to