commit-graph: return generation from memory
[alt-git.git] / Documentation / manpage-normal.xsl
bloba9c7ec69f46d8c631e86449aafdf327d8e51d435
1 <!-- manpage-normal.xsl:
2 special settings for manpages rendered from asciidoc+docbook -->
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 version="1.0">
7 <!-- these params silence some output from xmlto -->
8 <xsl:param name="man.output.quietly" select="1"/>
9 <xsl:param name="refentry.meta.get.quietly" select="1"/>
11 <!-- convert asciidoc callouts to man page format -->
12 <xsl:template match="co">
13 <xsl:value-of select="concat('\fB(',substring-after(@id,'-'),')\fR')"/>
14 </xsl:template>
15 <xsl:template match="calloutlist">
16 <xsl:text>.sp&#10;</xsl:text>
17 <xsl:apply-templates/>
18 <xsl:text>&#10;</xsl:text>
19 </xsl:template>
20 <xsl:template match="callout">
21 <xsl:value-of select="concat('\fB',substring-after(@arearefs,'-'),'. \fR')"/>
22 <xsl:apply-templates/>
23 <xsl:text>.br&#10;</xsl:text>
24 </xsl:template>
26 </xsl:stylesheet>