fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wider html book view
[librarian.git]
/
librarian
/
xslt
/
book2html.xslt
diff --git
a/librarian/xslt/book2html.xslt
b/librarian/xslt/book2html.xslt
index
d62071e
..
4b6c72a
100644
(file)
--- a/
librarian/xslt/book2html.xslt
+++ b/
librarian/xslt/book2html.xslt
@@
-193,6
+193,10
@@
</p>
</xsl:template>
</p>
</xsl:template>
+<xsl:template match="strofa" mode="inline">
+ <xsl:apply-templates select="." />
+</xsl:template>
+
<xsl:template match="strofa">
<div class="stanza">
<xsl:call-template name="section-anchor"/>
<xsl:template match="strofa">
<div class="stanza">
<xsl:call-template name="section-anchor"/>
@@
-256,7
+260,14
@@
</xsl:template>
<xsl:template match="tabela|tabelka">
</xsl:template>
<xsl:template match="tabela|tabelka">
- <table><xsl:apply-templates /></table>
+ <xsl:choose>
+ <xsl:when test="@ramka = '1'">
+ <table class="border"><xsl:apply-templates /></table>
+ </xsl:when>
+ <xsl:otherwise>
+ <table><xsl:apply-templates /></table>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
<xsl:template match="wiersz">
<tr><xsl:apply-templates /></tr>
</xsl:template>
<xsl:template match="wiersz">
<tr><xsl:apply-templates /></tr>
@@
-303,6
+314,10
@@
<em class="author-emphasis"><xsl:apply-templates mode="inline" /></em>
</xsl:template>
<em class="author-emphasis"><xsl:apply-templates mode="inline" /></em>
</xsl:template>
+<xsl:template match="wieksze_odstepy" mode="inline">
+ <em class="wieksze-odstepy"><xsl:apply-templates mode="inline" /></em>
+</xsl:template>
+
<xsl:template match="indeks_dolny" mode="inline">
<sub><xsl:apply-templates mode="inline" /></sub>
</xsl:template>
<xsl:template match="indeks_dolny" mode="inline">
<sub><xsl:apply-templates mode="inline" /></sub>
</xsl:template>