While I know this is not exactly what you are looking for, this is like the
version #1 solution.
You could modify this to meet your goals of just reordering the second half
pages and put them into one page (not two on one).
Although based on your description, I will bet (without covers) this format
is really what the print would use to print a saddle-stitched book (but they
could have groupings that are not implemented in here . i.e. duplex,
bookfold pages in groups of 50 or so).
This took a sample PDF input (DocBook XSL.PDF) identified in "sample.xml"
and recreates it.
It has advanced support for "covers" when the first and last page were to
remain the same, the remainder where duplexed, bookfolded into two
pages/page.
You can see the output "sample.pdf" is just selectable PDF text (not an
image).
Kevin Brown
RenderX
From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of
Kevin Brown
Sent: Monday, August 31, 2015 5:19 PM
To: 'Darren Munt' <darrenm@ardex.com.au>; 'RenderX Community Support List'
<xep-support@renderx.com>
Subject: [xep-support] Re: Reversing order of page rendering
Just a note:
* The only possible issue is that they may want editable PDF text, not page
images but I will confirm that.
It is all "editable" text.
When you use RenderX to inject a PDF page "like an image" . you are just
injecting PDF into PDF. It is not converting the page to an image. It is
including a PDF inside the PDF.
If it was selectable, editable text before . it still is. Either method
would deliver this.
If you create the document to XEPOUT, you would get this:
1 Eng
2 Eng
3 Eng
4 Eng
1 Ara
2 Ara
3 Ara
4 Ara
Each page in that document would be like this in XEPOUT:
<xep:document .>
<xep:page .>.</xep:page>
<xep:page .>.</xep:page>
<xep:page .>.</xep:page>
.
</xep:document>
You could easily do a small, recursive XSL that would output the first
count(//xep:page)/2 in order and then the remainder in opposite order.
Kevin Brown
RenderX
From: Darren Munt [mailto:darrenm@ardex.com.au]
Sent: Monday, August 31, 2015 4:33 PM
To: 'kevin@renderx.com' <kevin@renderx.com <mailto:kevin@renderx.com> >;
'RenderX Community Support List' <xep-support@renderx.com
<mailto:xep-support@renderx.com> >
Subject: RE: [xep-support] Re: Reversing order of page rendering
Kevin,
Thanks for the reply. The actual page sequence we are after as you flip
through the book in the English-speaking direction would be:
1 Eng
2 Eng
3 Eng
4 Eng
4 Ara
3 Ara
2 Ara
1 Ara
For printing, the booklet runs to around 100 pages and they have used a
multiple-signature glue binding in the past. I think therefore that we just
give them the file with pages in the correct sequence and then they would
use some prepress tool to order them for printing. I think the XEP
intermediate format might be the right solution. Will check out the example
you posted below. The only possible issue is that they may want editable PDF
text, not page images but I will confirm that.
Cheers,
Darren
From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of
Kevin Brown
Sent: Tuesday, 1 September 2015 4:22 AM
To: kevin@renderx.com <mailto:kevin@renderx.com> ; 'RenderX Community
Support List'
Subject: [xep-support] Re: Reversing order of page rendering
Oh, and I would note that what you maybe want is bookfolding for
saddlestitch . then it would be (given the eight page example below:
1 Eng - 4 Ara
3 Ara - 2 Eng
3 Eng - 2 Ara
1 Ara - 4 Eng
Is that one it? Those are already done and have been posted before. I will
dig those out if that is the case.
Kevin
From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of
Kevin Brown
Sent: Monday, August 31, 2015 11:18 AM
To: 'RenderX Community Support List' <xep-support@renderx.com
<mailto:xep-support@renderx.com> >
Subject: [xep-support] Re: Reversing order of page rendering
Darren:
I have two solutions for you. First let's confirm what you want:
I assume your request is like this:
You have a book to produce, let's say it turns out to be 4 pages for each
language. You wold create an FO that would produce something like this:
1 English
2 English
3 English
4 English
1 Arabic
2 Arabic
3 Arabic
4 Arabic
And what you want is a new output like this:
1 English + 1 Arabic
2 English + 2 Arabic
3 English + 3 Arabic
4 English + 4 Arabic
Is this correct?
Possible Solutions:
#1: A simple template that uses the individual PDFs and creates the desired
output. IN this you would need to create a simple XML file that would
identify each document, the total pages in each and the output page width
and height. It would then create "pages" by using the "rx:pdf-page"
extension to take a page from each and put them into a new document.
#2 Pure manipulation of the Intermediate Format. IN this you would format to
XEP format and apply an XSL to it to reorder things a bit. Totally similar
to http://www.renderx.com/cooltools.html "N-up" example but needs to be
changed to your specification (and probably remove the scaling and put pages
in actual size side by side.
Once you confirm if the above is correct, we can post (both) solutions here.
Kevin Brown
Executive Vice President, Sales & Marketing RenderX, Inc.
(650) 327-1000 Direct
(650) 328-8008 Fax
(925) 395-1772 Mobile
skype:kbrown01
<mailto:kevin@renderx.com> kevin@renderx.com
<mailto:sales@renderx.com> sales@renderx.com
<http://www.renderx.com/> http://www.renderx.com
From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of
Darren Munt
Sent: Monday, August 31, 2015 1:46 AM
To: 'xep-support@renderx.com' <xep-support@renderx.com
<mailto:xep-support@renderx.com> >
Subject: [xep-support] Reversing order of page rendering
We have a document that is basically the same set of pages in both English
and Arabic. The printed version of the document has the English in the left
half of the booklet and Arabic in the right. The English pages run left to
right, the Arabic run right to left. They meet in the middle.
At the moment I am producing these with two separate FO files providing two
PDFs. These would need to be 'stitched' together in pre-press to provide a
set of pages in the correct order.
Is there a way in RenderX to specify one 'section' of an FO file be rendered
back to front, so last page first etc? The idea being that I could produce
this as one file but have the Arabic section rendered in reverse page order,
so that it's last page appears first after the last English page, and then
on through its pages with the first page appearing at the end of the PDF.
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
This archive was generated by hypermail 2.1.8 : Tue Sep 01 2015 - 00:48:14 PDT