Output PDF Page Size
Post here questions and problems related to editing and publishing DITA content.
Output PDF Page Size
Hi,
I want to create a Pocket Book, which would require changing the page size from say A4 (210 x 297) to something around 9 x 13cm.
I have changed the default paper size in my Customise folder - basic-settings.xsl to
<!-- The default of 215.9mm x 279.4mm is US Letter size (8.5x11in) -->
<xsl:variable name="page-width">9.366cm</xsl:variable>
<xsl:variable name="page-height">13.811cm</xsl:variable>
It doesn't seem to alter the output PDF page size. I am using Oxygen 15.2 and XEP to render the output.
Is there a 'quick fix' for this, or do I have to go through and reduce / change margins and footer settings etc?
I appreciate I will have to make changes to any table I use as well as images.
Thanks
I want to create a Pocket Book, which would require changing the page size from say A4 (210 x 297) to something around 9 x 13cm.
I have changed the default paper size in my Customise folder - basic-settings.xsl to
<!-- The default of 215.9mm x 279.4mm is US Letter size (8.5x11in) -->
<xsl:variable name="page-width">9.366cm</xsl:variable>
<xsl:variable name="page-height">13.811cm</xsl:variable>
It doesn't seem to alter the output PDF page size. I am using Oxygen 15.2 and XEP to render the output.
Is there a 'quick fix' for this, or do I have to go through and reduce / change margins and footer settings etc?
I appreciate I will have to make changes to any table I use as well as images.
Thanks
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Output PDF Page Size
Post by sorin_ristache »
Hi,
I just tried your values for the page width and page height and they are applied correctly to the PDF output. Did you set also other page layout parameters, like margin size, or did you customize other parts of the DITA PDF transformation? If you set 9.366cm (or 93.66mm) for the page width and 13.811cm (or 138.11mm) for the page-height you should get a PDF page size of 3.69in x 5.44in.
If the page size is not set correctly for you: maybe you modified the basic-settings.xsl file in the install directory of other Oxygen version (15.1, 15.0, etc) while you executed the DITA PDF transformation in the Oxygen 15.2 install directory?
Regards,
Sorin
I just tried your values for the page width and page height and they are applied correctly to the PDF output. Did you set also other page layout parameters, like margin size, or did you customize other parts of the DITA PDF transformation? If you set 9.366cm (or 93.66mm) for the page width and 13.811cm (or 138.11mm) for the page-height you should get a PDF page size of 3.69in x 5.44in.
If the page size is not set correctly for you: maybe you modified the basic-settings.xsl file in the install directory of other Oxygen version (15.1, 15.0, etc) while you executed the DITA PDF transformation in the Oxygen 15.2 install directory?
Regards,
Sorin
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service