diff options
author | Rickard Green <[email protected]> | 2014-12-17 21:07:55 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-03-20 15:00:38 +0100 |
commit | cd917e88f5718eead826c896864cfe85cd3d301b (patch) | |
tree | e0afeb8fd3f335bccf57b98fc61003e9440c70a7 /lib/erl_docgen/priv/xsl/db_pdf_params.xsl | |
parent | 843cf9120d2845be2c3304fc8dcb4c16b49bbfca (diff) | |
download | otp-cd917e88f5718eead826c896864cfe85cd3d301b.tar.gz otp-cd917e88f5718eead826c896864cfe85cd3d301b.tar.bz2 otp-cd917e88f5718eead826c896864cfe85cd3d301b.zip |
Support for <do> and <dont> doc tags
Diffstat (limited to 'lib/erl_docgen/priv/xsl/db_pdf_params.xsl')
-rw-r--r-- | lib/erl_docgen/priv/xsl/db_pdf_params.xsl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_pdf_params.xsl b/lib/erl_docgen/priv/xsl/db_pdf_params.xsl index 2e3b22acf4..c2d9fb4320 100644 --- a/lib/erl_docgen/priv/xsl/db_pdf_params.xsl +++ b/lib/erl_docgen/priv/xsl/db_pdf_params.xsl @@ -289,6 +289,33 @@ <xsl:attribute name="keep-together.within-page">always</xsl:attribute> </xsl:attribute-set> +<xsl:attribute-set name="do"> + <xsl:attribute name="background-color">#d0fed0</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="space-before">2em</xsl:attribute> + <xsl:attribute name="text-align">justify</xsl:attribute> + <xsl:attribute name="padding-before">1em</xsl:attribute> + <xsl:attribute name="padding-after">0.3em</xsl:attribute> + <xsl:attribute name="padding-left">0.5em</xsl:attribute> + <xsl:attribute name="padding-right">0.5em</xsl:attribute> + <xsl:attribute name="margin-left">0.5em</xsl:attribute> + <xsl:attribute name="margin-right">0.5em</xsl:attribute> + <xsl:attribute name="keep-together.within-page">always</xsl:attribute> + </xsl:attribute-set> + +<xsl:attribute-set name="dont"> + <xsl:attribute name="background-color">#ffd6d6</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="space-before">2em</xsl:attribute> + <xsl:attribute name="text-align">justify</xsl:attribute> + <xsl:attribute name="padding-before">1em</xsl:attribute> + <xsl:attribute name="padding-after">0.3em</xsl:attribute> + <xsl:attribute name="padding-left">0.5em</xsl:attribute> + <xsl:attribute name="padding-right">0.5em</xsl:attribute> + <xsl:attribute name="margin-left">0.5em</xsl:attribute> + <xsl:attribute name="margin-right">0.5em</xsl:attribute> + <xsl:attribute name="keep-together.within-page">always</xsl:attribute> + </xsl:attribute-set> <xsl:attribute-set name="note-warning-title"> <xsl:attribute name="font-size">1.33em</xsl:attribute> |