]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - extra/pdf.xsl
Merge remote-tracking branch 'weblate/master'
[text-madewithcc.git] / extra / pdf.xsl
index f1029d620d213f94651829dc5cfb98c62f5993f7..714f06dfc812697a70b5e9ef48bfd6d75105e84c 100644 (file)
@@ -47,9 +47,21 @@ extended distribution with LuLu.
     <xsl:param name="content">
       <xsl:apply-templates/>
     </xsl:param>
-    <xsl:text>\vskip 0.5cm \hfill \textit{ </xsl:text>
+    <xsl:text>\begin{flushright}
+    \textit{ </xsl:text>
+    <xsl:copy-of select="$content"/>
+    <xsl:text>}
+    \end{flushright}</xsl:text>
+  </xsl:template>
+
+  <!-- An  attribution's citetitle should be rendered after a line
+       break -->
+  <xsl:template match="citetitle">
+    <xsl:param name="content">
+      <xsl:apply-templates/>
+    </xsl:param>
+    <xsl:text>\\ \quad \hfill </xsl:text>
     <xsl:copy-of select="$content"/>
-    <xsl:text>}</xsl:text>
   </xsl:template>
 
   <!-- Bibliography and acknowledgements are formatted as numberless