Fix pack.packSizeLimit and --max-pack-size handling
[git/platforms.git] / Documentation / callouts.xsl
blob6a361a21367bfed4ae325049556f2e82e7e1dbe4
1 <!-- callout.xsl: converts asciidoc callouts to man page format -->
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3 <xsl:template match="co">
4 <xsl:value-of select="concat('\fB(',substring-after(@id,'-'),')\fR')"/>
5 </xsl:template>
6 <xsl:template match="calloutlist">
7 <xsl:text>.sp&#10;</xsl:text>
8 <xsl:apply-templates/>
9 <xsl:text>&#10;</xsl:text>
10 </xsl:template>
11 <xsl:template match="callout">
12 <xsl:value-of select="concat('\fB',substring-after(@arearefs,'-'),'. \fR')"/>
13 <xsl:apply-templates/>
14 <xsl:text>.br&#10;</xsl:text>
15 </xsl:template>
17 <!-- sorry, this is not about callouts, but attempts to work around
18 spurious .sp at the tail of the line docbook stylesheets seem to add -->
19 <xsl:template match="simpara">
20 <xsl:variable name="content">
21 <xsl:apply-templates/>
22 </xsl:variable>
23 <xsl:value-of select="normalize-space($content)"/>
24 <xsl:if test="not(ancestor::authorblurb) and
25 not(ancestor::personblurb)">
26 <xsl:text>&#10;&#10;</xsl:text>
27 </xsl:if>
28 </xsl:template>
30 </xsl:stylesheet>