[xep-support] Formatting a very large document

Michael Sulyaev msulyaev at renderx.com
Fri Nov 26 08:00:00 PST 2004


Hello Marc,

> How would that fit in with possible cross-references inside the text
> and indices (the actual file doesn't have any, so this question is
> largley for curiosity)?

Creating of cross-document references and indexes is not an easy task.
Usually it includes some careful work on the source FO files or XEP
intermediate format files using XSLT transformations or scripting.
In the simple case like creation of monotonic page numbering through
the whole chunked document you can do the following: format chunks
independently, pickup number of pages in each chunk, modify sources
(initial-page-number), format chunks again, and then concatenate them
all into a single PDF file. More complicated tasks require more work.

-- 
Best regards,
 Michael Sulyaev, RenderX                         mailto:msulyaev at renderx.com



> Hi Michael,

> 
> XEP 4.0 has some memory optimizations, but I suppose this will not be 
> enough for such a huge document. The best way is to split your 
> document into parts and format them independently into an XEP 
> intermediate format, and then render these parts into a single PDF file. 
> There is a good example of this technic - ConcatFormatter 
> (doc/samples/ConcatFormatter), included in XEP 3.x Developer/Server 
> distribution. 

> Thanks! Good tip!

> How would that fit in with possible cross-references inside the text
> and indices (the actual file doesn't have any, so this question is
> largley for curiosity)?

> Best regards,

> Marc

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list