fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40a66c8
)
Add anchors to themes.
author
Marek Stępniowski
<marek@stepniowski.com>
Tue, 16 Sep 2008 10:11:45 +0000
(12:11 +0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Tue, 16 Sep 2008 10:11:45 +0000
(12:11 +0200)
lib/librarian/book2html.xslt
patch
|
blob
|
history
diff --git
a/lib/librarian/book2html.xslt
b/lib/librarian/book2html.xslt
index
7e6a2ef
..
d6c9db1
100644
(file)
--- a/
lib/librarian/book2html.xslt
+++ b/
lib/librarian/book2html.xslt
@@
-249,6
+249,7
@@
<xsl:template match="begin" mode="inline">
<xsl:variable name="mnum" select="concat('m', substring(@id, 2))" />
<span class="theme-begin" fid="{substring(@id, 2)}">
<xsl:template match="begin" mode="inline">
<xsl:variable name="mnum" select="concat('m', substring(@id, 2))" />
<span class="theme-begin" fid="{substring(@id, 2)}">
+ <a name="m{substring(@id, 2)}" />
<xsl:value-of select="string(following::motyw[@id=$mnum]/text())" />
</span>
</xsl:template>
<xsl:value-of select="string(following::motyw[@id=$mnum]/text())" />
</span>
</xsl:template>