<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">We do
something similar by first rendering our source FO document to a work
file in the XEP intermediate format with a command like this:</font></font><br>
xep -valid -fo source.fo -at work.xep<br>
<br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">It is then
straightforward to extract page numbers and references from the work
file and use them to create your index.</font></font><br>
<br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">Finally,
render the intermediate file to PDF with a command like this:</font></font><br>
xep -valid -xep work.xep dest.pdf<br>
<br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">Regards,<br>
BJB<br>
<br>
<br>
</font></font><a class="moz-txt-link-abbreviated" href="mailto:CRW150@yahoo.com">CRW150@yahoo.com</a> wrote:
<blockquote cite="mid20051028124337.86082.qmail@web42001.mail.yahoo.com"
 type="cite">
  <pre wrap="">Hello,

I need to create a main document in one .pdf file and an index for that
document in a separate .pdf file. I know this has been addressed before
on this list. I've read all the threads I could find, the XEP
documentation on intermediate output, and everything I can find
Googling for "extract page number" and "XEP intermediate". I have no
problem writing stylesheets to create an index at the end of a document
when the output is a single .pdf file. But I get lost trying to
separate them. I don't understand the "big picture". Please tell me
what keywords I should search for. Or, are there example stylesheets
available somewhere for this process? I know how to create a file in
XEP intermediate format, and how to transform that into a .pdf file.
But I need to see an example of how to run XSLT on the intermediate
file to split it into two XEP intermediate files (main document and
index) before transforming into .pdf. The point being to preserve the
page numbers. Perhaps I am not creating all that's necessary in the .fo
file before converting it to XEP intermediate format. I don't know.

I hope this makes sense. I would appreciate any pointers to examples or
information sources.

Thanks,
Susan


                
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
<a class="moz-txt-link-freetext" href="http://farechase.yahoo.com">http://farechase.yahoo.com</a>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to <a class="moz-txt-link-abbreviated" href="mailto:majordomo@renderx.com">majordomo@renderx.com</a> from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service <a class="moz-txt-link-freetext" href="http://www.renderx.com/terms-of-service.html">http://www.renderx.com/terms-of-service.html</a>



  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Brian J. Butler
BJB Software, Inc.
76 Bayberry Lane
Holliston, MA 01746

E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bjbutler@bjbsoftware.com">bjbutler@bjbsoftware.com</a>
Web:    <a class="moz-txt-link-freetext" href="http://www.bjbsoftware.com">http://www.bjbsoftware.com</a>
Phone:  508-429-1441
Fax:    419-710-1867

</pre>
</body>
</html>