Created attachment 430749 [details] docs pdf I have the image size set to width="444px" (or smaller) for every single image in chapters 2 and 5 in this PDF. Some of those sizes are honored and some, very obviously, are not. Everything is a PNG and has XML like this: <informalfigure> <mediaobject> <imageobject role="html"> <imagedata fileref="images/bundle-recipe.png" /> </imageobject> <imageobject role="fo"> <imagedata fileref="images/bundle-recipe.png" width="444px" /> </imageobject> </mediaobject> </informalfigure> I cannot find any difference between the XML or the PNGs themselves for why one image is resized and the other isn't. Normal info: RHEL 5.4 Client publican-2.1-0.el5 publican-jboss-1.9-0.el5
I'm sorry, that's chapter 1 and chapter 5. Not chapter 2.
This use of role isn't supported in DocBook or Publican, does it work if only use one imageobject?
Sagehill thinks "role" is supported for Docbook images: http://www.sagehill.net/docbookxsl/GraphicSelection.html And this worked in versions of publican pre-1.0.
(In reply to comment #3) > Sagehill thinks "role" is supported for Docbook images: > http://www.sagehill.net/docbookxsl/GraphicSelection.html Well there you go, you learn something new everyday! > And this worked in versions of publican pre-1.0. The XSL that handles this is in the default DocBook XSL and has not been overridden by Publican. Does it work consistently if you build the book in Brew?
ah ha! The width is getting set to max_image_width if the image is wider than max_image_width, even if the width being asked for is less than max_image_width. If the width requested in the XML is smaller than max_image_width it should be honoured. Fixed in Build: 2.1-0%{?dist}.t26
Verified that you can set an image-width smaller than 444px for an image wider than 444px in PDF in build: 2.1-0%{?dist}.t29
publican-2.2-0.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/publican-2.2-0.fc13
publican-2.2-0.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/publican-2.2-0.fc12
publican-2.2-0.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/publican-2.2-0.fc14
publican-2.2-0.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.