Can we use SVG (Scalable Vector graphics) for HTML Boost docs?

In adding new functions and distributions to Boost.Math, I've become dissatisfied with diagrams and equations using PNG. They are either large and/or fuzzy :-( And they get fuzzier if you expand them :-(( All browsers now support native display of SVG (Scalable Vector graphics) quite well *except* older versions of Microsoft Internet Explorer (IE9 displays SVG OK). So we are still producing HTML versions of the Boost.Math docs using embedded PNG equations and diagrams. So everyone has to endure poor quality diagrams and equations, just so that a few MS IE<9 users can see the diagrams. 1 I'd like to have views on when we can disregard the Luddites and use SVG throughout? We'd also like to use MathML to display equations, saving authors a lot of effort and much reduced file sizes. All current versions of browsers *except Microsoft IE - even IE9* also support MathML. 2 I'd like views on using MathML - with the downside that all IE users would not see equations displayed? (Everyone can view the PDF version - which uses SVG, so displays nicely even when magnified). Thank you. Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com

1 I'd like to have views on when we can disregard the Luddites and use SVG throughout?
Two other things to bear in mind: 1) The SVG's we have do *not* display correctly in IE9, some significant post-processing of the HTML and SVG's would be required to achieve that :-( 2) The SVG's we have do not embed fonts (no idea how we would even do that), so for now the SVG's are probably windows specific, and cannot be guarenteed to display correctly elsewhere even with "decent" browsers :-(( The PDF's of course are produced on the same system that produced the SVG's and embeds the fonts making them display correctly anywhere (I hope!). Cheers, John.
We'd also like to use MathML to display equations, saving authors a lot of effort and much reduced file sizes.
All current versions of browsers *except Microsoft IE - even IE9* also support MathML.
2 I'd like views on using MathML - with the downside that all IE users would not see equations displayed?
(Everyone can view the PDF version - which uses SVG, so displays nicely even when magnified).
Thank you.
Paul
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Sat, Feb 18, 2012 at 8:02 AM, John Maddock <boost.regex@virgin.net> wrote:
1 I'd like to have views on when we can disregard the Luddites and use SVG throughout?
Two other things to bear in mind:
1) The SVG's we have do *not* display correctly in IE9, some significant post-processing of the HTML and SVG's would be required to achieve that :-(
Not sure if this is an option but Raphael (raphaeljs.com) is a javascript library which allows cross browser SVG / VML drawing. Its support extends to IE 6...
2) The SVG's we have do not embed fonts (no idea how we would even do that), so for now the SVG's are probably windows specific, and cannot be guarenteed to display correctly elsewhere even with "decent" browsers :-(( The PDF's of course are produced on the same system that produced the SVG's and embeds the fonts making them display correctly anywhere (I hope!).
Cheers, John.
We'd also like to use MathML to display equations, saving authors a lot of effort and much reduced file sizes.
All current versions of browsers *except Microsoft IE - even IE9* also support MathML.
2 I'd like views on using MathML - with the downside that all IE users would not see equations displayed?
(Everyone can view the PDF version - which uses SVG, so displays nicely even when magnified).
Thank you.
Paul
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

1 I'd like to have views on when we can disregard the Luddites and use SVG throughout?
Two other things to bear in mind:
1) The SVG's we have do *not* display correctly in IE9, some significant post-processing of the HTML and SVG's would be required to achieve that :-(
Not sure if this is an option but Raphael (raphaeljs.com) is a javascript library which allows cross browser SVG / VML drawing. Its support extends to IE 6...
Sigh.... this sucks but... IE makes HTML containing (external) scripts almost unviewable when browsing on your local hard drive (you have to deal with security warnings for every page you visit). Were this not the case we could quite happily use the MathJax scripts to display MathML. Cheers, John.
participants (3)
-
John Maddock
-
Nikolay Mladenov
-
Paul A. Bristow