Re: [docbook-apps] dbtoepub and multiple sub-files and graphics
Le mercredi 08 avril 2009, Keith Fahlgren a écrit : On Wed, Apr 8, 2009 at 7:31 AM, Raphael Hertzog raph...@ouaza.com wrote: This is because REXML::Parsers::PullParser doesn't expand the sub-files and thus never scans all the graphics elements. Instead it returns the Xinclude tag or the entity and those are skipped by get_image_refs(). Ugh, I'm sure this is correct. It's possibly the correct behaviour for REXML::Parsers::PullParser but that means that dbtoepub must use something else or become aware of xinclude and DTD entities. What can be done to fix this ? Is there a bugtracker somewhere to report this ? I just created an ePub category in the bugtracker: https://sourceforge.net/tracker/?func=browsegroup_id=21935atid=373747 Please attach a failing document, if possible. Done: https://sourceforge.net/tracker/?func=detailaid=2750442group_id=21935atid=373747 In the meantime, is docbook2epub any better? http://code.google.com/p/epub-tools/ No. Cheers, -- Raphaël Hertzog -+- http://www.ouaza.com Freexian : des développeurs Debian au service des entreprises http://www.freexian.com - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
Re: [docbook-apps] dbtoepub and multiple sub-files and graphics
On Fri, Apr 10, 2009 at 8:22 AM, Raphael Hertzog raph...@ouaza.com wrote: Le mercredi 08 avril 2009, Keith Fahlgren a écrit : On Wed, Apr 8, 2009 at 7:31 AM, Raphael Hertzog raph...@ouaza.com wrote: This is because REXML::Parsers::PullParser doesn't expand the sub-files and thus never scans all the graphics elements. Instead it returns the Xinclude tag or the entity and those are skipped by get_image_refs(). Ugh, I'm sure this is correct. It's possibly the correct behaviour for REXML::Parsers::PullParser but that means that dbtoepub must use something else or become aware of xinclude and DTD entities. In the meantime, are you able to collapse your documents using xmllint (or similar) before feeding them into dbtoepub? - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org