aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/custom_layer_pdf.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'docbook/custom_layer_pdf.xsl')
-rw-r--r--docbook/custom_layer_pdf.xsl10
1 files changed, 9 insertions, 1 deletions
diff --git a/docbook/custom_layer_pdf.xsl b/docbook/custom_layer_pdf.xsl
index 1a3a7355e7..94a6512309 100644
--- a/docbook/custom_layer_pdf.xsl
+++ b/docbook/custom_layer_pdf.xsl
@@ -5,8 +5,16 @@
<!-- import the main stylesheet -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
+<!-- page size -->
+<!-- Create PA4 (210 × 280mm) pages: https://en.wikipedia.org/wiki/Paper_size#PA4_or_L4
+ This is the approximate intersection of A4 (210 × 297mm) and U.S.
+ Letter (216 × 279mm).
+-->
+<xsl:param name="paper.type">PA4</xsl:param>
+<xsl:param name="page.width.portrait">210mm</xsl:param>
+<xsl:param name="page.height.portrait">280mm</xsl:param>
+
<!-- create pdf bookmarks -->
-<!-- Disable this since FOP 0.93 doesn't handle them, yet -->
<xsl:param name="fop1.extensions" select="1"/>
<!-- don't use the draft mode (no loading of image from the web) -->