Joel de Guzman wrote: >> 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?
This is going to require some experimenting, but basically we can either: Omit the file extension and then set the extention using graphic.default.extension, Or, emit all graphics versions in the Docbook XML, set the "Role" attribute for each and use preferred.mediaobject.role to select which object ends up in the output. I believe this is probably the "right" way to do it IMO. In an ideal world for HTML output we would embed SVG's and have the .png as an alt image, but I don't know if that's possible. HTH, John. ------------------------------------------------------------------------- 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
