fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move WL-specific stuff to WLURI
[librarian.git]
/
librarian
/
pdf
/
wl2tex.xslt
diff --git
a/librarian/pdf/wl2tex.xslt
b/librarian/pdf/wl2tex.xslt
index
58be05f
..
25d76d9
100644
(file)
--- a/
librarian/pdf/wl2tex.xslt
+++ b/
librarian/pdf/wl2tex.xslt
@@
-15,7
+15,7
@@
<xsl:template match="utwor">
<TeXML xmlns="http://getfo.sourceforge.net/texml/ns1">
<TeXML escape="0">
<xsl:template match="utwor">
<TeXML xmlns="http://getfo.sourceforge.net/texml/ns1">
<TeXML escape="0">
- \documentclass[
a4paper, oneside, 11pt]{book
}
+ \documentclass[
<xsl:value-of select="@customizations"/>]{wl
}
<!-- flags and values set on root -->
<!-- flags and values set on root -->
@@
-31,8
+31,6
@@
\def\<xsl:value-of select="wl:texcommand(name())" />{<TeXML escape="1"><xsl:value-of select="."/></TeXML>}
</TeXML>
</xsl:for-each>
\def\<xsl:value-of select="wl:texcommand(name())" />{<TeXML escape="1"><xsl:value-of select="."/></TeXML>}
</TeXML>
</xsl:for-each>
-
- \usepackage{wl}
</TeXML>
<xsl:choose>
</TeXML>
<xsl:choose>
@@
-126,7
+124,7
@@
<TeXML escape="0">
\def\authors{<xsl:call-template name="authors" />}
\author{\authors}
<TeXML escape="0">
\def\authors{<xsl:call-template name="authors" />}
\author{\authors}
- \title{<xsl:apply-templates select=".//dc:title" />}
+ \title{<xsl:apply-templates select=".//dc:title"
mode="inline"
/>}
\def\translatorsline{<xsl:call-template name="translators" />}
\def\bookurl{<xsl:value-of select=".//dc:identifier.url" />}
\def\translatorsline{<xsl:call-template name="translators" />}
\def\bookurl{<xsl:value-of select=".//dc:identifier.url" />}
@@
-429,4
+427,4
@@
</xsl:template>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>