18c2ecf20Sopenharmony_ci<!-- manpage-base.xsl: 28c2ecf20Sopenharmony_ci special formatting for manpages rendered from asciidoc+docbook --> 38c2ecf20Sopenharmony_ci<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 48c2ecf20Sopenharmony_ci version="1.0"> 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci<!-- these params silence some output from xmlto --> 78c2ecf20Sopenharmony_ci<xsl:param name="man.output.quietly" select="1"/> 88c2ecf20Sopenharmony_ci<xsl:param name="refentry.meta.get.quietly" select="1"/> 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci<!-- convert asciidoc callouts to man page format; 118c2ecf20Sopenharmony_ci git.docbook.backslash and git.docbook.dot params 128c2ecf20Sopenharmony_ci must be supplied by another XSL file or other means --> 138c2ecf20Sopenharmony_ci<xsl:template match="co"> 148c2ecf20Sopenharmony_ci <xsl:value-of select="concat( 158c2ecf20Sopenharmony_ci $git.docbook.backslash,'fB(', 168c2ecf20Sopenharmony_ci substring-after(@id,'-'),')', 178c2ecf20Sopenharmony_ci $git.docbook.backslash,'fR')"/> 188c2ecf20Sopenharmony_ci</xsl:template> 198c2ecf20Sopenharmony_ci<xsl:template match="calloutlist"> 208c2ecf20Sopenharmony_ci <xsl:value-of select="$git.docbook.dot"/> 218c2ecf20Sopenharmony_ci <xsl:text>sp </xsl:text> 228c2ecf20Sopenharmony_ci <xsl:apply-templates/> 238c2ecf20Sopenharmony_ci <xsl:text> </xsl:text> 248c2ecf20Sopenharmony_ci</xsl:template> 258c2ecf20Sopenharmony_ci<xsl:template match="callout"> 268c2ecf20Sopenharmony_ci <xsl:value-of select="concat( 278c2ecf20Sopenharmony_ci $git.docbook.backslash,'fB', 288c2ecf20Sopenharmony_ci substring-after(@arearefs,'-'), 298c2ecf20Sopenharmony_ci '. ',$git.docbook.backslash,'fR')"/> 308c2ecf20Sopenharmony_ci <xsl:apply-templates/> 318c2ecf20Sopenharmony_ci <xsl:value-of select="$git.docbook.dot"/> 328c2ecf20Sopenharmony_ci <xsl:text>br </xsl:text> 338c2ecf20Sopenharmony_ci</xsl:template> 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci</xsl:stylesheet> 36