summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-03-28 20:22:32 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-03-28 20:22:32 (GMT)
commit335d3d25e07ddcf7c00ba3b2550858a2374dd3db (patch)
tree26a5d95818e3e12ac2811903fe815044fa7f6d73 /BuildTools/DocBook/Stylesheets/common
parent3afa4f741c26360245dc313bc368f508b26a6b96 (diff)
downloadswift-335d3d25e07ddcf7c00ba3b2550858a2374dd3db.zip
swift-335d3d25e07ddcf7c00ba3b2550858a2374dd3db.tar.bz2
Moved DocBook module.
Diffstat (limited to 'BuildTools/DocBook/Stylesheets/common')
-rw-r--r--BuildTools/DocBook/Stylesheets/common/inline.xsl27
-rw-r--r--BuildTools/DocBook/Stylesheets/common/params.xsl8
2 files changed, 35 insertions, 0 deletions
diff --git a/BuildTools/DocBook/Stylesheets/common/inline.xsl b/BuildTools/DocBook/Stylesheets/common/inline.xsl
new file mode 100644
index 0000000..5f39338
--- /dev/null
+++ b/BuildTools/DocBook/Stylesheets/common/inline.xsl
@@ -0,0 +1,27 @@
+<?xml version='1.0'?>
+<xsl:stylesheet
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+ <xsl:template match="application">
+ <fo:inline font-style="italic"><xsl:call-template name="inline.charseq"/></fo:inline>
+ </xsl:template>
+
+ <xsl:template match="guimenu">
+ <fo:inline font-style="italic"><xsl:call-template name="inline.charseq"/></fo:inline>
+ </xsl:template>
+
+ <xsl:template match="guilabel">
+ <fo:inline font-style="italic"><xsl:call-template name="inline.charseq"/></fo:inline>
+ </xsl:template>
+
+ <xsl:template match="guimenuitem">
+ <fo:inline font-style="italic"><xsl:call-template name="inline.charseq"/></fo:inline>
+ </xsl:template>
+
+ <xsl:template match="guisubmenu">
+ <fo:inline font-style="italic"><xsl:call-template name="inline.charseq"/></fo:inline>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/BuildTools/DocBook/Stylesheets/common/params.xsl b/BuildTools/DocBook/Stylesheets/common/params.xsl
new file mode 100644
index 0000000..6da03c0
--- /dev/null
+++ b/BuildTools/DocBook/Stylesheets/common/params.xsl
@@ -0,0 +1,8 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:param name="xref.with.number.and.title" select="'0'"/>
+ <xsl:param name="callout.graphics" select="'0'"/>
+ <xsl:param name="callout.unicode" select="'1'"/>
+
+</xsl:stylesheet>