[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Generating a page list for epub
Hi Bob, Thanks, I'll check that out. I figured I'd need to go directly into the PDF, but this sounds like it will be easier to work with (I much prefer parsing XML to parsing PDF:-). If I come up with anything useful (which is an if, and a possibly long-term if:-), I'll post the results on the list. Dick ------- XML Press XML for Technical Communicators http://xmlpress.net hamilton@xmlpress.net On Feb 10, 2015, at 14:15, Bob Stayton <bobs@sagehill.net> wrote: > Hi Dick, > I have not actually done it, but I think you should look at using the intermediate file format that most XSL-FO processors can output. For example, FOP has: > > https://xmlgraphics.apache.org/fop/1.1/intermediate.html > > That format is an XML rendering of the area tree as pages. It contains page numbers and ids, so I think you could use it to post process the epub by matching up ids and inserting page numbers. > > Bob Stayton > Sagehill Enterprises > bobs@sagehill.net > > On 2/10/2015 10:36 AM, Richard Hamilton wrote: >> Has anyone on the list tackled the challenge of generating a page list for ePub output? >> >> A page list is a mapping of print page numbers to locations in the ePub. >> >> I don't see any easy way to do it; I suspect it would take some kind of parsing of a PDF version of the book, and post-processing of the ePub based on that parsing. >> >> But, before I decide whether it's worth even trying, I thought I'd ask the group whether anyone has thought about approaches to the problem. >> >> Best regards, >> Dick Hamilton >> ------- >> XML Press >> XML for Technical Communicators >> http://xmlpress.net >> hamilton@xmlpress.net >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >> >> >>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]