Pages: 1
Author Topic: Page layouts for PDF output  (Read 3457 times)

Posts: 4

« on: August 06, 2009, 05:36:43 AM »


We need change the width and heigth of the pages in our PDF output. I found the layout-masters.xml file but I'm not sure if this is the file I should be editing. Is this the only file that controls those properties or are there more?

So, does anyone have any experience on this matter? If someone could kindly provide me with the information on the steps I need to do in order to change the width and heigth of the pages, that would be appreciated. :)

Thanks in advance.

Solutions Consultant (XMetaL)

Posts: 18

« Reply #1 on: August 13, 2009, 05:44:25 PM »

Hi valtteri,

Add the following to your customization:

<!-- file: DITA_OT/demo/xmfo/[Customization]/fo/attrs/custom.xsl -->
<!-- START layout parameters -->
<xsl:param name="">1in</xsl:param>
<xsl:param name="">0.75in</xsl:param>
<xsl:param name="">1.25in</xsl:param>
<xsl:param name="">1in</xsl:param>

<xsl:param name="" select="'portrait'"/>
<xsl:param name="xm.paper.type" select="'letter'"/>
<!-- END layout parameters -->

1. If you are running XMetaL 5.5, the DITA_OT/demo/xmfo/attrs/custom.xsl file may be in your user directory. See this forum thread for details:,180.msg549.html#msg549

2. Margins can be specified in in, mm and cm. "inner" and "outer" refer to the left- and right-margins on an odd-numbered page. This is for double-sided output. If you want single-side output, just give "" and "" the same value.

3. Orientation can be portrait or landscape

4. Sizes supported are letter, legal, tabloid, A0, A1, A2, A3, A4, A5, A6 and A7.

Chris Johnson
XMetaL Services
Pages: 1
Jump to:  

email us