Boost Docs :
From: Joel de Guzman (joel_at_[hidden])
Date: 2007-06-21 04:34:26
John Maddock wrote:
> Matias Capeletto wrote:
>> I have been reading about how docbook works with images, and it has a
>> very neat framework to deal with them, including scaling, align,
>> format, etc.
>> IMO Quickbook must start to support this options.
>> I propose the following notation:
>> [format ...]
>> [width ...]
>> [srccredit ...]
>> [contentdepth ...]
>> [contentwidth ...]
>> [scalefit ...]
>> [align ...]
>> [valign ...]
>> [depth ...]
>> [scale ...]
>> All extra parameters are optional, and we use common sense default
>> when they are not included. For example, if the format is omitted we
>> use the extension of the image_path.
> All excellent ideas, I wonder can we support multiple formats as well, lets
> say if I write:
> with no extension on the filename, then quickbook checks for .png .svg etc
> and wraps each found in the an appropriate media object?
We can if we give images special handling. I'm leaning towards making
as much as possible templates, tough, so I'm not sure. Hrm...maybe...
images are quite special anyway. But don't we also want to choose
the image format depending on target doc format? I.e. png on html,
svg on pdf?
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net