fix pdf for multiple publishers in multi-part books
authorJan Szejko <janek37@gmail.com>
Wed, 22 Mar 2017 10:09:25 +0000 (11:09 +0100)
committerJan Szejko <janek37@gmail.com>
Wed, 22 Mar 2017 10:09:25 +0000 (11:09 +0100)
librarian/epub/xsltLast.xsl
librarian/pdf/wl2tex.xslt

index 0ef8042..6e64a0c 100644 (file)
@@ -57,7 +57,7 @@
             <p class="info">Tekst opracowany na podstawie: <xsl:value-of select="//dc:source" /></p>
           </xsl:if>
 
-          <xsl:if test=".//dc:publisher">
+          <xsl:if test="//dc:publisher">
             <p class="info">
               Wydawca:
               <xsl:for-each select="//dc:publisher/text()">
index c3054d2..7b38e34 100644 (file)
             <xsl:if test=".//dc:publisher">
                 Wydawca:
                 <TeXML escape="1">
-                    <xsl:for-each select="//dc:publisher/text()">
+                    <xsl:for-each select=".//dc:publisher/text()">
                         <xsl:value-of select="."/>
                         <xsl:if test="not(position() = last())">, </xsl:if>
                     </xsl:for-each>