fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix expected html output to contain secX anchors
[librarian.git]
/
librarian
/
fb2
/
fb2.xslt
diff --git
a/librarian/fb2/fb2.xslt
b/librarian/fb2/fb2.xslt
index
915bad4
..
2a07e35
100644
(file)
--- a/
librarian/fb2/fb2.xslt
+++ b/
librarian/fb2/fb2.xslt
@@
-7,10
+7,10
@@
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:wl="http://wolnelektury.pl/functions"
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:wl="http://wolnelektury.pl/functions"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://www.gribuser.ru/xml/fictionbook/2.0"
xmlns:l="http://www.w3.org/1999/xlink">
xmlns="http://www.gribuser.ru/xml/fictionbook/2.0"
xmlns:l="http://www.w3.org/1999/xlink">
+ <xsl:include href="description.xslt"/>
<xsl:include href="footnotes.xslt"/>
<xsl:include href="inline.xslt"/>
<xsl:include href="paragraphs.xslt"/>
<xsl:include href="footnotes.xslt"/>
<xsl:include href="inline.xslt"/>
<xsl:include href="paragraphs.xslt"/>
@@
-30,11
+30,8
@@
</FictionBook>
</xsl:template>
</FictionBook>
</xsl:template>
- <xsl:template match="dc:*" mode="outer">
- </xsl:template>
-
<!-- we can't handle lyrics nicely yet -->
<!-- we can't handle lyrics nicely yet -->
- <xsl:template match="powiesc|opowiadanie" mode="outer">
+ <xsl:template match="powiesc|opowiadanie
|liryka_l|liryka_lp
" mode="outer">
<body> <!-- main body for main book flow -->
<xsl:if test="autor_utworu or nazwa_utworu">
<title>
<body> <!-- main body for main book flow -->
<xsl:if test="autor_utworu or nazwa_utworu">
<title>
@@
-43,6
+40,15
@@
</title>
</xsl:if>
</title>
</xsl:if>
+ <epigraph>
+ <p>
+ Utwór opracowany został w ramach projektu
+ <a l:href="http://www.wolnelektury.pl/">Wolne Lektury</a>
+ przez <a l:href="http://www.nowoczesnapolska.org.pl/">fundację
+ Nowoczesna Polska</a>.
+ </p>
+ </epigraph>
+
<xsl:variable name="sections" select="count(naglowek_rozdzial)"/>
<section>
<xsl:choose>
<xsl:variable name="sections" select="count(naglowek_rozdzial)"/>
<section>
<xsl:choose>