diff options
author | Peter Eisentraut | 2017-03-27 17:33:36 +0000 |
---|---|---|
committer | Peter Eisentraut | 2017-03-27 17:33:36 +0000 |
commit | 6e31c3e13514be4404f716f152ac4c434adad03a (patch) | |
tree | 08ffc04a67f4cd183e1f6eda8c05d04da9ad9e5b | |
parent | c4c51541e22bf7f2da8ecf6986271687b0d7a90e (diff) |
doc: Improve rendering of notes/cautions using XSL-FO
Center title and put a border around it, like the output that the DSSSL
version gave.
-rw-r--r-- | doc/src/sgml/stylesheet-fo.xsl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index 69536f92cd..8b555d12a7 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/doc/src/sgml/stylesheet-fo.xsl @@ -18,6 +18,20 @@ <xsl:attribute name="wrap-option">wrap</xsl:attribute> </xsl:attribute-set> +<xsl:attribute-set name="nongraphical.admonition.properties"> + <xsl:attribute name="border-style">solid</xsl:attribute> + <xsl:attribute name="border-width">1pt</xsl:attribute> + <xsl:attribute name="border-color">black</xsl:attribute> + <xsl:attribute name="padding-start">12pt</xsl:attribute> + <xsl:attribute name="padding-end">12pt</xsl:attribute> + <xsl:attribute name="padding-top">6pt</xsl:attribute> + <xsl:attribute name="padding-bottom">6pt</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="admonition.title.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> +</xsl:attribute-set> + <!-- Change display of some elements --> <xsl:template match="command"> |