fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[epub, mobi] hyphenate all kinds of documents and annotation style improvement
[librarian.git]
/
librarian
/
fb2
/
paragraphs.xslt
diff --git
a/librarian/fb2/paragraphs.xslt
b/librarian/fb2/paragraphs.xslt
index
9c7def8
..
68c6257
100644
(file)
--- a/
librarian/fb2/paragraphs.xslt
+++ b/
librarian/fb2/paragraphs.xslt
@@
-13,18
+13,34
@@
<!-- in paragraph mode -->
<!-- in paragraph mode -->
- <xsl:template mode="para" match="a
utor_utworu|nazwa_utworu|akap|akap_dialog
">
+ <xsl:template mode="para" match="a
kap|akap_dialog|akap_cd|motto_podpis
">
<!-- paragraphs & similar -->
<p><xsl:apply-templates mode="inline"/></p>
</xsl:template>
<!-- paragraphs & similar -->
<p><xsl:apply-templates mode="inline"/></p>
</xsl:template>
- <!-- in global scope -->
+ <xsl:template mode="para" match="dlugi_cytat|motto|dedykacja|nota">
+ <cite><xsl:apply-templates mode="para"/></cite>
+ </xsl:template>
- <xsl:template mode="sections" match="akap|akap_dialog">
- <!-- paragraphs & similar -->
+ <xsl:template mode="para" match="srodtytul">
+ <p><strong><xsl:apply-templates mode="inline"/></strong></p>
+ </xsl:template>
- <p><xsl:apply-templates mode="inline"/></p>
+ <xsl:template mode="para" match="sekcja_swiatlo">
+ <empty-line/><empty-line/><empty-line/>
+ </xsl:template>
+
+ <xsl:template mode="para" match="sekcja_asterysk">
+ <empty-line/><p>*</p><empty-line/>
</xsl:template>
</xsl:template>
- <xsl:template mode="sections" match="autor_utworu|nazwa_utworu"/>
+
+ <xsl:template mode="para" match="separator_linia">
+ <empty-line/><p>————————</p><empty-line/>
+ </xsl:template>
+
+
+
+ <xsl:template mode="para" match="*"/>
+ <xsl:template mode="sections" match="*"/>
</xsl:stylesheet>
</xsl:stylesheet>