Syntext Forums - Serna Enterprise XML Editor, Serna Free XML Editor
(#1 (permalink))
Old
Junior Member
 
Posts: 5
Join Date: Jul 2009
Post How to specify Paper Type for PDF ? - 07-18-2009, 04:06 PM

Hi,

How should we proceed to generate pdf files in A4 format ? I've try to modify the paper type in the params/paper.type.xml file but without success.
What is strange is that if I dump a fo file from my Docbook document (tools menu->Dump fo tree) and process it with fop, I obtain a pdf file in A4...

TIA.
Reply With Quote
(#2 (permalink))
Old
Administrator
 
Posts: 39
Join Date: Mar 2009
Default 07-20-2009, 01:39 PM

Quote:
Originally Posted by leToff View Post
Hi,

How should we proceed to generate pdf files in A4 format ? I've try to modify the paper type in the params/paper.type.xml file but without success.
What is strange is that if I dump a fo file from my Docbook document (tools menu->Dump fo tree) and process it with fop, I obtain a pdf file in A4...

TIA.
Serna uses slightly different stylesheets for publishing and for editing. You have changed the paper type in the editing stylesheet, not in the publishing one. You should probably make a separate XSL stylesheet with paper type parameters defined, and import it from both editing and publishing stylesheets. This is just to ensure, that the same set of parameter is used.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.1
vBulletin Skin developed by: vBStyles.com