cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Problème au niveau d'une publication PDF au sein de l'éditeur Arbortext v5.4

ptc-2976780
1-Newbie

Problème au niveau d'une publication PDF au sein de l'éditeur Arbortext v5.4

Je rencontre actuellement un problème sur la publication PDF d’un document SGML au sein de l’éditeur Arbortext Editor version 5.4.

Nous avons mis en place une feuille de style de publication réalisée avec le standard XSL-FO. Une des contrainte, imposées par notre client, est que le document PDF se termine systématiquement sur une page paire. Dans le cas d’un nombre impair de page, nous devons ajouter une page intentionnellement blanche. Nous avons suivi scrupuleusement l’exemple illustré à l’adresse suivante http://xmlgraphics.apache.org/fop/fo.html#fo-blank-pages.

Seulement, le moteur XSL-FO ignore l’attribut « force-page-count="end-on-even" » si la feuille de style de publication ne comporte qu’un seul élément fo:page-sequence.

Nous avons mis en place une solution de contournement (pas satisfaisante pour le client) basé sur le principe suivant : nous ajoutons systématiquement à la fin du document une page vide à l’aide d’un second élément fo:page-sequence et nous forçons la première séquence de page à se terminer sur un nombre impair de pages. Le résultat est que, dans le cas d’un nombre impair de page, cela fonctionne correctement mais que dans le cas d’un nombre pair de page, on a toujours 2 pages blanches à la fin du document.

Est-ce que quelqu'un a été confronté à ce type de problème ? une idée sur la nature du problème ?

Merci d'avance.

1 REPLY 1

<Tranlation provided by Google Translate>

Problem with a PDF publication within the Arbortext Editor v5.4

I currently encounter a problem with the PDF publication of an SGML document in the editor Arbortext Editor version 5.4.

We set up a stylesheet publication produced with the standard XSL-FO. One constraint imposed by our client, is that the PDF ends always on an even page. In the case of an odd number of page, we need to add a page intentionally left blank. We have carefully followed the example illustrated in the following address http://xmlgraphics.apache.org/fop/fo.html # fo-blank-pages.

But the XSL-FO engine ignores the attribute "force-page-count =" end-on-even "" if the stylesheet publication has only one element fo: page-sequence.

We have implemented a workaround (not satisfactory for the customer) based on the following principle: we add systematically to the end of the document to a blank page with a second element fo: page-sequence and we force sequence of the first page to end on an odd number of pages. The result is that in the case of an odd number of page, it works correctly but in the case of an even number of page, there is always two blank pages at the end of the document.

Does anyone have # # # # # # faced this problem? an idea about the nature of the problem?

Thank you in advance.

Top Tags