another fix for slowo_obce
authorJan Szejko <janek37@gmail.com>
Mon, 3 Sep 2018 13:08:29 +0000 (15:08 +0200)
committerJan Szejko <janek37@gmail.com>
Mon, 3 Sep 2018 13:08:29 +0000 (15:08 +0200)
librarian/pdf/wl2tex.xslt

index 4a27875..99244ee 100644 (file)
                     <xsl:when test="name() = 'dywiz'">
                         <xsl:text>-</xsl:text>
                     </xsl:when>
-                    <xsl:when test="name() = 'alien' or name() = 'slowo_obce'">
+                    <xsl:when test="name() = 'alien'">
                         <xsl:apply-templates mode="inline" />
                     </xsl:when>
+                    <xsl:when test="name() = 'slowo_obce'">
+                        <cmd name="slowoobce">
+                            <parm><xsl:value-of select="text()"/></parm>
+                        </cmd>
+                    </xsl:when>
                     <xsl:otherwise>
                         <xsl:value-of select="."/>
                     </xsl:otherwise>