John Maddock wrote: > 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?
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? Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
