OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] How to make 6"x9" PDFs instead of 8.5"x11"?


Title: Re: [docbook-apps] How to make 6"x9" PDFs instead of 8.5"x
Hi Sheldon
Here's how I adjust the PDF size - all straight out of Bob's book.  Easy to change my 5.5 x 8.375 for 6 x 9.  You may need to alter margins to get the effect you want.
Ron

<!-- ============================================================================================== -->
<!-- select page size for book  -->
<!--  -->
<!-- A4 is 8.26 by 11.69 inches -->
<!-- <xsl:param name="page.width" select="'8.26in'" />
<xsl:param name="page.height" select="'11.69in'" />
<xsl:param name="page.width.portrait" select="'8.26in'" />
<xsl:param name="page.height.portrait" select="'11.69in'" />  -->

<!-- define the layout of a page  -->
<!-- <xsl:param name="page.margin.inner" select="'1.25in'" />
<xsl:param name="page.margin.outer" select="'1.25in'" />
<xsl:param name="page.margin.top" select="'0.4in'" />
<xsl:param name="page.margin.bottom" select="'0.4in'" />
<xsl:param name="body.margin.top" select="'0.45in'" />
<xsl:param name="body.margin.bottom" select="'0.55in'" />
<xsl:param name="region.before.extent" select="'0.25in'" />
<xsl:param name="region.after.extent" select="'0.25in'" /> -->

<!--  -->
<!-- US letter is 8.5 by 11.0 inches -->
<!-- <xsl:param name="page.width" select="'8.5in'" />
<xsl:param name="page.height" select="'11.0in'" />
<xsl:param name="page.width.portrait" select="'8.5in'" />
<xsl:param name="page.height.portrait" select="'11.0in'" /> -->

<!-- define the layout of a page  -->
<!-- <xsl:param name="page.margin.inner" select="'1.25in'" />
<xsl:param name="page.margin.outer" select="'1.25in'" />
<xsl:param name="page.margin.top" select="'0.4in'" />
<xsl:param name="page.margin.bottom" select="'0.4in'" />
<xsl:param name="body.margin.top" select="'0.45in'" />
<xsl:param name="body.margin.bottom" select="'0.55in'" />
<xsl:param name="region.before.extent" select="'0.25in'" />
<xsl:param name="region.after.extent" select="'0.25in'" /> -->

<!--  -->
<!-- soft cover 5.25 by 8.0 inches, with page and body margins 0.35 inches -->
<!-- <xsl:param name="page.width" select="'5.25in'" />
<xsl:param name="page.height" select="'8.0in'" />
<xsl:param name="page.width.portrait" select="'5.25in'" />
<xsl:param name="page.height.portrait" select="'8.0in'" /> -->

<!-- define the layout of a page  -->
<!-- <xsl:param name="page.margin.inner" select="'0.75in'" />
<xsl:param name="page.margin.outer" select="'0.6875in'" />
<xsl:param name="page.margin.top" select="'0.4in'" />
<xsl:param name="page.margin.bottom" select="'0.4in'" />
<xsl:param name="body.margin.top" select="'0.45in'" />
<xsl:param name="body.margin.bottom" select="'0.55in'" />
<xsl:param name="region.before.extent" select="'0.25in'" />
<xsl:param name="region.after.extent" select="'0.25in'" /> -->

<!--  -->
<!-- hard cover 5.5 by 8.375 inches, with page and body margins 0.45 inches -->
<xsl:param name="page.height" select="'8.375in'" />
<xsl:param name="page.width" select="'5.5in'" />
<xsl:param name="page.height.portrait" select="'8.375in'" />
<xsl:param name="page.width.portrait" select="'5.5in'" />
<!-- define the layout of a page  -->
<xsl:param name="page.margin.inner" select="'0.75in'" />
<xsl:param name="page.margin.outer" select="'0.6875in'" />
<xsl:param name="page.margin.top" select="'0.4in'" />
<xsl:param name="page.margin.bottom" select="'0.4in'" />
<xsl:param name="body.margin.top" select="'0.45in'" />
<xsl:param name="body.margin.bottom" select="'0.55in'" />
<xsl:param name="region.before.extent" select="'0.25in'" />
<xsl:param name="region.after.extent" select="'0.25in'" />
<!--  -->

<!-- ============================================================================================== -->




What do I need to do to make my PDF's be 6"x9" instead of the default 8.5"x11"?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


-- 
Ron Catterall, Phd, DSc                         email: ron@catterall.net
Prolongacion de Hidalgo 140                             http://catterall.net/
San Felipe del Agua                                        tel: +52 951 520 1821
Oaxaca      68020  Mexico                          fax: +1 530 348 8309


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]