fnp
/
librarian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
de3b882
)
fix slowo_obce for toc
author
Jan Szejko
<janek37@gmail.com>
Mon, 3 Sep 2018 12:47:27 +0000
(14:47 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Mon, 3 Sep 2018 12:47:27 +0000
(14:47 +0200)
librarian/pdf/wl2tex.xslt
patch
|
blob
|
history
diff --git
a/librarian/pdf/wl2tex.xslt
b/librarian/pdf/wl2tex.xslt
index
8124410
..
4a27875
100644
(file)
--- a/
librarian/pdf/wl2tex.xslt
+++ b/
librarian/pdf/wl2tex.xslt
@@
-315,7
+315,7
@@
<cmd name="nazwapodutworu">
<parm><xsl:apply-templates mode="inline"/></parm>
<parm>
<cmd name="nazwapodutworu">
<parm><xsl:apply-templates mode="inline"/></parm>
<parm>
- <xsl:for-each select="./text() | nbsp | dywiz | alien">
+ <xsl:for-each select="./text() | nbsp | dywiz | alien
| slowo_obce
">
<xsl:choose>
<xsl:when test="name() = 'nbsp'">
<xsl:text> </xsl:text>
<xsl:choose>
<xsl:when test="name() = 'nbsp'">
<xsl:text> </xsl:text>
@@
-323,7
+323,7
@@
<xsl:when test="name() = 'dywiz'">
<xsl:text>-</xsl:text>
</xsl:when>
<xsl:when test="name() = 'dywiz'">
<xsl:text>-</xsl:text>
</xsl:when>
- <xsl:when test="name() = 'alien'">
+ <xsl:when test="name() = 'alien'
or name() = 'slowo_obce'
">
<xsl:apply-templates mode="inline" />
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates mode="inline" />
</xsl:when>
<xsl:otherwise>
@@
-354,7
+354,7
@@
<parm><xsl:apply-templates mode="inline"/></parm>
<parm>
<!-- osobny szablon? -->
<parm><xsl:apply-templates mode="inline"/></parm>
<parm>
<!-- osobny szablon? -->
- <xsl:for-each select="./text() | nbsp | dywiz | alien">
+ <xsl:for-each select="./text() | nbsp | dywiz | alien
| slowo_obce
">
<xsl:choose>
<xsl:when test="name() = 'nbsp'">
<xsl:text> </xsl:text>
<xsl:choose>
<xsl:when test="name() = 'nbsp'">
<xsl:text> </xsl:text>
@@
-362,7
+362,7
@@
<xsl:when test="name() = 'dywiz'">
<xsl:text>-</xsl:text>
</xsl:when>
<xsl:when test="name() = 'dywiz'">
<xsl:text>-</xsl:text>
</xsl:when>
- <xsl:when test="name() = 'alien'">
+ <xsl:when test="name() = 'alien'
or name() = 'slowo_obce'
">
<xsl:apply-templates mode="inline" />
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates mode="inline" />
</xsl:when>
<xsl:otherwise>