From: Norman Walsh Date: Thu, 10 Jan 2002 22:25:14 +0000 (+0000) Subject: Added documentation about page layout and ulink.footnotes and ulink.show X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e65bbc1982ea92a477380801f6670cf8322636f8;p=docbook-dsssl Added documentation about page layout and ulink.footnotes and ulink.show --- diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index 8b9e35b8b..c187d1382 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -120,6 +120,8 @@ + + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 68229baff..3c9d72adb 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -186,6 +186,8 @@ to be incomplete. Don't forget to read the source, too :-) &segmentedlist.as.table; &variablelist.as.blocks; &blockquote.properties; +&ulink.show; +&ulink.footnotes; FO @@ -193,6 +195,75 @@ to be incomplete. Don't forget to read the source, too :-) Pagination and General Styles + +
Understanding XSL FO Margins + +In order for the parameters in this section to make sense, it is useful to +consider . + +
+ + + + +Figure showing page margins + +This figure shows the physical page with the various FO page regions +identified. + + +
+ +First, let's consider the regions on the page. + +The white region is the physical page. Its dimensions are determined by +the page.height and page.width +parameters. + +The yellow region is the region-body. The size and placement of +the region body is constrained by the dimensions labelled in the +figure. + +The pink region at the top of the page is the region-before. The +darker area inside the region-before is the header text. In XSL, the default +display alignment for the region-before is before, but +the DocBook stylesheets explicitly make it after. That's +why the darker area is at the bottom. + +The pink region at the bottom of the page is the region-after. +The darker area is the footer text. In XSL, the default display +alignment for the region-after is before (really!), +but the DocBook stylesheets explicitly make it +after. That's why the darker area is at the bottom. + +The dimensions in the figure are: + + +The page-master margin-top. + +The region-before extent. + +The region-body margin-top. + +The region-after extent. + +The page-master margin-bottom. + +The region-body margin-bottom. + +The sum of the page-master margin-left and the +region-body margin-left. In DocBook, the region-body margin-left is +zero by default, so this is simply the page-master region-left. + +The sum of the page-master margin-right and the +region-body margin-right. In DocBook, the region-body margin-right is +zero by default, so this is simply the page-master region-left. + + + +
+
+ &page.height; &page.height.portrait; &page.margin.bottom; @@ -395,6 +466,8 @@ around all these parameters. + +