![]() |
Boost Docs : |
From: John Maddock (john_at_[hidden])
Date: 2007-06-21 04:09:04
Matias Capeletto wrote:
> Hi,
>
> 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:
>
> [$image_path
> [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:
[$myfile]
with no extension on the filename, then quickbook checks for .png .svg etc
and wraps each found in the an appropriate media object?
John.