fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Geometric shapes in PDF.
[librarian.git]
/
src
/
librarian
/
xslt
/
book2html.xslt
diff --git
a/src/librarian/xslt/book2html.xslt
b/src/librarian/xslt/book2html.xslt
index
9b77b5e
..
f540b49
100644
(file)
--- a/
src/librarian/xslt/book2html.xslt
+++ b/
src/librarian/xslt/book2html.xslt
@@
-430,7
+430,7
@@
<!-- Other inline tags -->
<xsl:template match="mat" mode="inline">
<!-- Other inline tags -->
<xsl:template match="mat" mode="inline">
- <math xmlns="http://www.w3.org/1998/Math/MathML"><xsl:copy-of select="*" /></math>
+ <math xmlns="http://www.w3.org/1998/Math/MathML"><xsl:copy-of select="*
|text()
" /></math>
</xsl:template>
<xsl:template match="didask_tekst" mode="inline">
</xsl:template>
<xsl:template match="didask_tekst" mode="inline">
@@
-463,6
+463,14
@@
<em class="person"><xsl:apply-templates mode="inline" /></em>
</xsl:template>
<em class="person"><xsl:apply-templates mode="inline" /></em>
</xsl:template>
+<xsl:template match="www" mode="inline">
+ <a target="_blank">
+ <xsl:attribute name="href">
+ <xsl:value-of select="text()"/>
+ </xsl:attribute>
+ <xsl:apply-templates mode="inline" />
+ </a>
+</xsl:template>
<!-- ============================================== -->
<!-- = STANDALONE TAGS = -->
<!-- ============================================== -->
<!-- = STANDALONE TAGS = -->
@@
-559,4
+567,12
@@
<a name="{concat('sec', count(ancestor-or-self::*[last()-2]/preceding-sibling::*) + 1)}" />
</xsl:template>
<a name="{concat('sec', count(ancestor-or-self::*[last()-2]/preceding-sibling::*) + 1)}" />
</xsl:template>
+<xsl:template match="numeracja">
+ <span class="numeracja">
+ <xsl:attribute name="data-start">
+ <xsl:value-of select="@start" />
+ </xsl:attribute>
+ </span>
+</xsl:template>
+
</xsl:stylesheet>
</xsl:stylesheet>