+ <!--
+ Make admonitions look like this:
+
+ Some paragraph.
+
+ Note
+ Sit sed culpa elit dolore esse irure dolor amet magna
+ veniam elit ut.
+
+ Duis adipisicing magna quis in in in reprehenderit
+ proident minim cupidatat dolore sit minim deserunt duis dolore ex ea.
+
+ Next paragraph.
+
+ instead of:
+
+ Some paragraph.
+
+ Note
+ Sit sed culpa elit dolore esse irure dolor amet magna
+ veniam elit ut.
+
+ Duis adipisicing magna quis in in in reprehenderit
+ proident minim cupidatat dolore sit minim deserunt duis
+ dolore ex ea.
+
+ Next paragraph.
+
+ This looks better when, for example, you put a note immediately
+ after a list:
+
+ Ambiguous:
+ • Some list item.
+
+ • Some other list item.
+
+ Note
+ Does this note apply to the last list item or to the
+ previous block?
+
+ Clear:
+ • Some list item.
+
+ • Some other list item.
+
+ Note
+ This note applies to the previous block.
+ -->
+ <xsl:template match="caution|important|note|tip|warning">
+ <xsl:call-template name="roff-if-start">
+ <xsl:with-param name="condition">n</xsl:with-param>
+ </xsl:call-template>
+ <xsl:text>.sp </xsl:text>
+ <xsl:call-template name="roff-if-end"/>
+ <xsl:if test="not($man.output.better.ps.enabled = 0)">
+ <xsl:text>.BM yellow </xsl:text>
+ </xsl:if>
+ <xsl:call-template name="pinch.together"/>
+ <xsl:text>.ps +1 </xsl:text>
+ <xsl:call-template name="make.bold.title"/>
+ <xsl:text>.ps -1 </xsl:text>
+ <xsl:text>.br </xsl:text>
+ <xsl:text>.RS 4 </xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>.sp .5v </xsl:text>
+ <xsl:if test="not($man.output.better.ps.enabled = 0)">
+ <xsl:text>.EM yellow </xsl:text>
+ </xsl:if>
+ <xsl:text>.RE </xsl:text>
+ </xsl:template>
+
+ <!-- Disable end notes -->