In the PDFs and postscript files docs, the Table of Contents should be on its own page if the doctype='article'. This matches the behavior with doctype='book' documents.
--- xorg-fo.xsl | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/xorg-fo.xsl b/xorg-fo.xsl index d57f7ac..4ce8acd 100644 --- a/xorg-fo.xsl +++ b/xorg-fo.xsl @@ -84,4 +84,11 @@ <xsl:param name="body.font.family">DejaVu Serif</xsl:param> <xsl:param name="symbol.font.family">serif,Symbol,AR PL UMing CN,AR PL ShanHeiSun Uni,GNU Unifont</xsl:param> + <!-- put page breaks before and after the Table of Contents, + so that the ToC is on a page by itself --> + <xsl:attribute-set name="toc.margin.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> + <xsl:attribute name="break-after">page</xsl:attribute> + </xsl:attribute-set> + </xsl:stylesheet> -- 1.7.1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
