From: nico <nic...@li...> - 2005-05-30 19:00:05
|
Hello, > > I added a support for the scalefit and align="center" attribute of > graphic of DocBook. The scalefit attribute crates a resizebox which > makes the graphic to the size of the column (\columnwidth). maybe this > should overwritten, in a costum style sheet. > If the width and the height are specified, a bb= attibut is appended to > the \includegraphics command. this is important for rendering png images > with LaTeX. > The scalefit and the width attribut is abused, actuallay the semantic of > this paramters is different, but it works mostly in a way a user would > expect. The height parameter does not exist in DocBook and the > validation should fail ... There should be a better solution. I would suggest to use directly the \includegraphics options. Example: \includegraphics[scale=0.5,width=5cm,height=10cm,keepaspectratio=true] Please find attached the stylesheet I use to render <imagedata>. Most of the imagadata attributes combinations are supported. Any comment is welcome. Regards, BG |