fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cover thumb with no box for api
[librarian.git]
/
librarian
/
xslt
/
book2html.xslt
diff --git
a/librarian/xslt/book2html.xslt
b/librarian/xslt/book2html.xslt
index
d62071e
..
b2a028b
100644
(file)
--- a/
librarian/xslt/book2html.xslt
+++ b/
librarian/xslt/book2html.xslt
@@
-101,6
+101,10
@@
<div class="dedication"><xsl:apply-templates /></div>
</xsl:template>
<div class="dedication"><xsl:apply-templates /></div>
</xsl:template>
+<xsl:template match="ramka">
+ <div class="frame"><xsl:apply-templates /></div>
+</xsl:template>
+
<xsl:template match="kwestia">
<div class="kwestia">
<xsl:apply-templates select="strofa|akap|didaskalia" />
<xsl:template match="kwestia">
<div class="kwestia">
<xsl:apply-templates select="strofa|akap|didaskalia" />
@@
-193,6
+197,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
+264,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
+318,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>