Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2008-03-05 04:51:55


Mathias Gaunard wrote:
> John Maddock a écrit :
>> By way of experiment I've generated the same equation at various DPI
>> sizes here: http://tinyurl.com/23d74q
>>
>> I'd be interested in feedback on which is the best size to use in
>> HTML docs
>
> Why not use MathML or something else to have something adaptive to the
> resolution instead of images?

Oh dear, I knew someone was going to ask me that ;-)

The original equations are all in MathML presentation markup, from which I
can generate SVG's and PNG's: the former are rendered natively in PDF
generation where as no one as far as I know has an FO formatter that handles
embedded MathML directly :-(

But a more serious issue is how to get the Quickbook/Docbook toolchain to
correctly handle embedded MathML, and then generate XHTML that all browsers
can read - I didn't exhaustively test this but I could only get Firefox to
display MathML if the file had an ".xhtml" extension - the same file with an
HTML extention didn't display the MathML. For IE7 it just wouldn't load
anything with an .xhtml extention, and of course doesn't display MathML
natively anyway. I did find some examples on the net that claimed to work
with IE, but whether there's something about my machine I don't know
about... they wouldn't display for me in IE7 :-(

If anyone has any ideas, I'm all ears!

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk