<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Darren:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I have two solutions for you. First let’s confirm what you want:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I assume your request is like this:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>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:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>1 English<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>2 English<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>3 English<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>4 English<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>1 Arabic<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>2 Arabic<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>3 Arabic<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>4 Arabic<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>And what you want is a new output like this:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>1 English + 1 Arabic<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>2 English + 2 Arabic<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>3 English + 3 Arabic<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>4 English + 4 Arabic<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Is this correct?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Possible Solutions:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>#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.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>#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 <a href="http://www.renderx.com/cooltools.html">http://www.renderx.com/cooltools.html</a> “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.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Once you confirm if the above is correct, we can post (both) solutions here.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Kevin Brown<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Executive Vice President, Sales & Marketing RenderX, Inc.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>(650) 327-1000 Direct<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>(650) 328-8008 Fax<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>(925) 395-1772 Mobile<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>skype:kbrown01<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><a href="mailto:kevin@renderx.com"><span style='color:#0563C1'>kevin@renderx.com</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><a href="mailto:sales@renderx.com"><span style='color:#0563C1'>sales@renderx.com</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><a href="http://www.renderx.com/"><span style='color:#0563C1'>http://www.renderx.com</span></a> <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Xep-support [mailto:xep-support-bounces@renderx.com] <b>On Behalf Of </b>Darren Munt<br><b>Sent:</b> Monday, August 31, 2015 1:46 AM<br><b>To:</b> 'xep-support@renderx.com' <xep-support@renderx.com><br><b>Subject:</b> [xep-support] Reversing order of page rendering<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-AU>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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-AU>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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-AU>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.<o:p></o:p></span></p></div></body></html>