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
[email protected]



On Feb 10, 2015, at 14:15, Bob Stayton <[email protected]> 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
> [email protected]
> 
> 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
>> [email protected]
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to