[xep-support] RE: problems with markers (with attachment)
Colin Mackenzie
colin at elecmc.com
Thu May 30 12:17:30 PDT 2002
Thanks for the marker help, thats fine.
I had developed the FO based on a competitors sample file :) (which also had
other errors in it)
If I have to markers in a header (e.g. first and last title on a page) is it
possible to not output the last title if it is the same as the first (i.e.
only one title on this page)?
re - processing each chapter as a separate document
This is a common practice in publishing as
a) another user may be responsible for a separate chapter even from another
company (but I still want to check my formatting/pagination with a draft
proof)
b) it is one way that you can restart the footnote numbering :)
c) it keeps files sizes down
d) the other chapter may not be written yet
The down side is that
a) any "book" level information that you want in each chapter must be
duplicated into the chapter source document (e.g. book name as part of a a
page heading
b) I think that you cannot do a TOC this way using XSL-FO.
Most traditional composiiton systems allow you to create a TOC/index as a
last post-process over multiple chapter files. This could be done with an
XSL-FO renderer if one of the outputs were a list of all citations and their
page numbers was output to an XML file (which could be merged with other TOC
XML files and processed by XSL/XSL-FO to create a TOC page across multiple
files. This would also be useful for outputting the page position of marker
text along with its marker type (a process known as "index extraction" where
I could have an index saying "apples to bannanas - page 1" and "cranberries
to oranges - page 2" etc.).
While I know that FO processors are not (yet) competing with compositions
systems costing 10 times as much, you could use the advantage that you can
produce XML that can be reprocessed easily by the system user (as the
system user is obviously XML/XSL aware in order to use/support an XSL-FO
process)
Colin
-----Original Message-----
From: David Tolpin [mailto:dvd at davidashen.net]
Sent: 30 May 2002 12:12
To: Colin Mackenzie
Cc: xep-support at renderx.com
Subject: Re: problems with markers (with attachment)
>
> Do you have any idea what I am doing wrong (.fo file attached)?
A marker is always attached to the area it is a child (more strictly
speaking, the first
child) of. Your last marker is a child of fo:flow. A strict implementation
of
XSL FO would reject this fo since the marker is not in its correct place.
XEP accepts, but links the marker to fo:flow.
> One extra question to aid my evaluation, in your COM interface (not
> documented in evaluation copy?) is it possible to access the number of
pages
> produced by an FO file when processed (in order to then set the start page
> corretcly for the next chapter).
Well, yes, it is possible using API, including COM. On the other hand,
why are you processing each chapter as a separate document?
David
-------------------
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