Format guibutton, guiicon, guilabel, guimenu, guimenuitem, and guisubmenu as bold.

This commit is contained in:
dcramer
2011-12-22 11:23:25 -06:00
parent 9626b42e27
commit 0613ee4c86
3 changed files with 36 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
<xsl:import href="fop1.xsl"/>
<xsl:import href="../date.xsl"/>
<xsl:import href="../this.xsl"/>
<xsl:include href="../inline.xsl"/>
<xsl:include href="../process-embedded-wadl.xsl"/>
<xsl:variable name="preprocessed-nodes">

View File

@@ -0,0 +1,33 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
xmlns:xlink='http://www.w3.org/1999/xlink'
exclude-result-prefixes="xlink d"
version='1.0'>
<xsl:template match="d:guibutton">
<xsl:call-template name="inline.boldseq"/>
</xsl:template>
<xsl:template match="d:guiicon">
<xsl:call-template name="inline.boldseq"/>
</xsl:template>
<xsl:template match="d:guilabel">
<xsl:call-template name="inline.boldseq"/>
</xsl:template>
<xsl:template match="d:guimenu">
<xsl:call-template name="inline.boldseq"/>
</xsl:template>
<xsl:template match="d:guimenuitem">
<xsl:call-template name="inline.boldseq"/>
</xsl:template>
<xsl:template match="d:guisubmenu">
<xsl:call-template name="inline.boldseq"/>
</xsl:template>
</xsl:stylesheet>

View File

@@ -149,6 +149,8 @@ set toc,title
<xsl:param name="social.icons">0</xsl:param>
<xsl:include href="../inline.xsl"/>
<xsl:template name="user.footer.content">
<xsl:if test="$enable.disqus!='0' and (//d:section[not(@xml:id)] or //d:chapter[not(@xml:id)] or //d:part[not(@xml:id)] or //d:appendix[not(@xml:id)] or //d:preface[not(@xml:id)] or /*[not(@xml:id)])">
<xsl:message terminate="yes">