]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Move dblatex specific colophon handling to xetex_param.xsl. It is only used by dblatex.
authorPetter Reinholdtsen <pere@hungry.com>
Mon, 21 Sep 2015 22:45:41 +0000 (00:45 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Mon, 21 Sep 2015 22:45:41 +0000 (00:45 +0200)
data/pdf.xsl
data/xetex_param.xsl

index a99c9725acb5e98999ec5101cde0fe21c71e7a5b..a21e46ab9c12c8eb65c24fdd4322eb01383a8453 100644 (file)
 <xsl:param name="slide.title.font.family">Crimson Text</xsl:param>
 <xsl:param name="monospace.font.family">Latin Modern Mono</xsl:param>
 
-<xsl:template match="colophon">
-  <xsl:text>\begin{colophon}&#10;</xsl:text>
-  <xsl:apply-templates/>
-  <xsl:text>\end{colophon}&#10;</xsl:text>
-</xsl:template>
-
 <!-- transform footnotes to endnotes -->
 <xsl:param name="footnote.as.endnote" select="1"/>
 
index 02881d16d936369ebe91841a3742fe76bd5c6aee..52af314b77412bc39ce9e3a866e5ffeb6b09a716 100644 (file)
@@ -8,4 +8,10 @@
     <!-- Force <emphasis role='strong'> to be bold, not semibold -->
     <xsl:text>\setmainfont[BoldFont={CrimsonText-Bold}]{Crimson Text}&#10;</xsl:text>
   </xsl:param>
+<xsl:template match="colophon">
+  <xsl:text>\begin{colophon}&#10;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>\end{colophon}&#10;</xsl:text>
+</xsl:template>
+
 </xsl:stylesheet>