epub: subtitle fix
[librarian.git] / librarian / epub / xsltScheme.xsl
index ff0ceb5..8b384c3 100644 (file)
@@ -19,6 +19,7 @@
           <xsl:if test="//nazwa_utworu">\r
             <!--h1 xmlns="http://www.w3.org/1999/xhtml"-->\r
               <xsl:apply-templates select=" //nazwa_utworu" mode="poczatek"/>\r
+              <xsl:apply-templates select=" //podtytul" mode="poczatek"/>\r
             <!--/h1-->\r
           </xsl:if>\r
           <xsl:apply-templates />\r
   <xsl:template match="nazwa_utworu" />\r
 \r
   <xsl:template match="podtytul" mode="poczatek">\r
-    <h2 class="subtitle" xmlns="http://www.w3.org/1999/xhtml">\r
+    <h2 class="author" xmlns="http://www.w3.org/1999/xhtml">\r
       <xsl:apply-templates />\r
     </h2>\r
   </xsl:template>\r
   <xsl:template match="wers_normalny">\r
     <div class="verse" xmlns="http://www.w3.org/1999/xhtml">\r
       <xsl:apply-templates />\r
-    </div>\r
+    &#160;</div>\r
   </xsl:template>\r
 \r
   <xsl:template match="wers_akap">\r
     <div class="verse" style="margin-left: 1em;" xmlns="http://www.w3.org/1999/xhtml">\r
       <xsl:apply-templates />\r
-    </div>\r
+    &#160;</div>\r
   </xsl:template>\r
 \r
   <xsl:template match="wers_wciety">\r
     <div class="verse" style='margin-left:1em;' xmlns="http://www.w3.org/1999/xhtml">\r
       <xsl:apply-templates />\r
-    </div>\r
+    &#160;</div>\r
   </xsl:template>\r
 \r
   <xsl:template match="wers_wciety[@typ!='']">\r
           margin-left: <xsl:value-of select="@typ" />em;\r
       </xsl:attribute>\r
       <xsl:apply-templates />\r
-    </div>\r
+    &#160;</div>\r
   </xsl:template>\r
 \r
   <xsl:template match="wers_cd">\r
     <div class="verse" style="margin-left: 12em;" xmlns="http://www.w3.org/1999/xhtml">\r
       <xsl:apply-templates />\r
-    </div>\r
+    &#160;</div>\r
   </xsl:template>\r
 \r
   <xsl:template match="motto_podpis">\r
   <!--===========================================================-->\r
 \r
   <xsl:template match="sekcja_swiatlo">\r
-    <hr class="spacer" xmlns="http://www.w3.org/1999/xhtml"></hr>\r
+    <p class="spacer" xmlns="http://www.w3.org/1999/xhtml">&#160;</p>\r
   </xsl:template>\r
 \r
   <xsl:template match="sekcja_asterysk">\r
   <!-- Tagi IGNOROWANE -->\r
   <!--===========================================================-->\r
 \r
-  <xsl:template match="pe|pa|pr|pt" />\r
-\r
   <xsl:template match="extra" />\r
 \r
   <xsl:template match="pe|pa|pr|pt" >\r