[#7168] Work in progress
This commit is contained in:
parent
b19d8ef9b6
commit
859a8da297
@ -86,6 +86,18 @@
|
||||
<xsl:value-of select="@id"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="tabs" mode="content">
|
||||
<xsl:apply-templates select="tab" mode="content"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="tab">
|
||||
<p>
|
||||
<strong><xsl:value-of select="@title"/></strong>
|
||||
</p>
|
||||
|
||||
<xsl:apply-templates select="node()" mode="content"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="grammar" mode="content">
|
||||
<p>
|
||||
The grammar is currently not supported in the EPUB version of the manual. Please visit the HTML documentation to see the grammar.
|
||||
|
||||
@ -92,6 +92,20 @@
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="tabs" mode="content">
|
||||
<xsl:apply-templates select="tab" mode="content"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="tab" mode="content">
|
||||
<div class="row col col-100 col-white">
|
||||
<p>
|
||||
<strong><xsl:value-of select="@title"/></strong>
|
||||
</p>
|
||||
|
||||
<xsl:apply-templates select="node()" mode="content"/>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="grammar" mode="content">
|
||||
<xsl:apply-templates match="rule" mode="grammar-content"/>
|
||||
</xsl:template>
|
||||
|
||||
@ -317,6 +317,22 @@
|
||||
<xsl:apply-templates select="@*|node()" mode="content"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="tabs" mode="content">
|
||||
<xsl:apply-templates select="@*|node()" mode="content"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="tab" mode="content">
|
||||
<fo:block xsl:use-attribute-sets="div">
|
||||
<fo:block xsl:use-attribute-sets="p">
|
||||
<fo:inline xsl:use-attribute-sets="strong">
|
||||
<xsl:value-of select="@title"/>
|
||||
</fo:inline>
|
||||
</fo:block>
|
||||
|
||||
<xsl:apply-templates select="node()" mode="content"/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="div" mode="content">
|
||||
<fo:block xsl:use-attribute-sets="div">
|
||||
<xsl:apply-templates mode="content"/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user