handle nota_red in pdf; hide wyimek_extra in epub
authorMarcin Koziej <marcinkoziej@nowoczesnapolska.org.pl>
Wed, 23 Oct 2013 08:54:18 +0000 (10:54 +0200)
committerMarcin Koziej <marcinkoziej@nowoczesnapolska.org.pl>
Wed, 23 Oct 2013 08:54:18 +0000 (10:54 +0200)
librarian/epub/xsltScheme.xsl
librarian/pdf/wl2tex.xslt

index 4060d62..8ee6114 100644 (file)
       <xsl:attribute name="src"><xsl:value-of select="@src"/>.<xsl:choose><xsl:when test="@extbitmap"><xsl:value-of select="@extbitmap"/></xsl:when><xsl:otherwise><xsl:value-of select="@ext"/></xsl:otherwise></xsl:choose></xsl:attribute>
     </img>
   </xsl:template>
-  
+
+  <xsl:template match="wyimek_extra">
+  </xsl:template>
 
 </xsl:stylesheet>
index 9e2d77e..0f841b8 100644 (file)
 </xsl:template>
 
 <xsl:template
-    match="naglowek_akt|naglowek_czesc|srodtytul|naglowek_osoba|naglowek_podrozdzial|naglowek_scena|naglowek_rozdzial|miejsce_czas|didaskalia|lista_osoba|akap|akap_dialog|akap_cd|motto_podpis|naglowek_listy|lista">
+    match="naglowek_akt|naglowek_czesc|srodtytul|naglowek_osoba|naglowek_podrozdzial|naglowek_scena|naglowek_rozdzial|miejsce_czas|didaskalia|lista_osoba|akap|akap_dialog|akap_cd|motto_podpis|naglowek_listy|lista|nota_red">
   <xsl:if test="name(following-sibling::*[1])='autor_rozdzialu'">
     <cmd name="autorrozdzialu"><parm><xsl:value-of select="following-sibling::*[1]/text()"/></parm></cmd>
   </xsl:if>
 <!-- ================================================ -->
 
 <xsl:template mode="inline"
-    match="pa|pe|pr|pt|mat|didask_tekst|slowo_obce|wyroznienie|osoba|punkt|www">
+    match="pa|pe|pr|pt|mat|didask_tekst|slowo_obce|wyroznienie|osoba|punkt|www|nota_red">
     <cmd>
         <xsl:attribute name="name">
             <xsl:value-of select="wl:texcommand(name())" />
 <xsl:template match="extra|uwaga" />
 <xsl:template match="extra|uwaga" mode="inline" />
 
-<xsl:template match="nota_red" />
+<!-- make it a command: <xsl:template match="nota_red" />-->
+
 
 <!-- ======== -->
 <!-- = TEXT = -->