
----Original Message---- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of John Maddock Sent: 05 March 2008 10:04 To: boost@lists.boost.org Subject: Re: [boost] Which DPI size for equations in HTML docs?
Kevin Lynch wrote:
So, I would suggest rendering the images with a large number of pixels (perhaps your 150dpi images), and then relying on the relative scaling attributes in the <img> tags (or css, whichever) to make them the "right" size. Most browsers do a pretty good job of downscaling images when explicitly requested. Then everyone can be happy.
Not a bad idea at all: but I'm not sure how to make that work with the quickbook toolchain. Remember that whatever we do has to rely on automated processing: there are way to many equations in Boost.Math now to mark these up by hand (and then maintain them!) I'm assuming that there is no way to make a selection based on the screen dpi in css?
Well, if there was some way of getting the images marked up as (for example) width='40em', then we can let the browser do the scaling (which would be way cool - it mean the graphics would shrink and grow with CTRL-+/CTRL-minus). Can you specify an equation width in the source? Would that be too much work? -- Martin Bonner Senior Software Engineer/Team Leader PI SHURLOK LTD Telephone: +44 1223 441434 / 203894 (direct) Fax: +44 1223 203999 Email: martin.bonner@pi-shurlok.com www.pi-shurlok.com disclaimer