Boost logo

Boost :

From: Martin Bonner (Martin.Bonner_at_[hidden])
Date: 2008-03-05 06:36:09

----Original Message----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of John Maddock Sent:
05 March 2008 10:04 To: boost_at_[hidden]
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

Can you specify an equation width in the source? Would that be too much

Martin Bonner
Senior Software Engineer/Team Leader
Telephone: +44 1223 441434 / 203894 (direct)
Fax: +44 1223 203999
Email: martin.bonner_at_[hidden]

Boost list run by bdawes at, gregod at, cpdaniel at, john at