[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] dbtoepub and multiple sub-files and graphics
On Fri, Apr 10, 2009 at 8:22 AM, Raphael Hertzog <firstname.lastname@example.org> wrote: > Le mercredi 08 avril 2009, Keith Fahlgren a écrit : >> On Wed, Apr 8, 2009 at 7:31 AM, Raphael Hertzog <email@example.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?