]> pere.pagekite.me Git - text-destroy-surveillance.git/blobdiff - pdf.xsl
Use correct quotes for Norwegian edition.
[text-destroy-surveillance.git] / pdf.xsl
diff --git a/pdf.xsl b/pdf.xsl
index 86fc238c3a9cb5992e85d685c1665b76227b8bec..04f43b15407886ac8fe3154d9147e5df8a37be02 100644 (file)
--- a/pdf.xsl
+++ b/pdf.xsl
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding="iso-8859-1"?>
+<?xml version='1.0' encoding="UTF-8"?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
   <xsl:param name="latex.class.book">book</xsl:param>
   <xsl:param name="latex.class.options">a4paper,openright,twoside</xsl:param>
 % end of latex.begindocument
     </xsl:text>
   </xsl:param>
+    <xsl:param name="local.l10n.xml" select="document('')"/>
+  <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+    <l:l10n language="nb">
+      <!-- Fix bugs in default nb locale -->
+      <l:dingbat key="startquote" text="«"/>
+      <l:dingbat key="endquote" text="»"/>
+      <l:dingbat key="nestedstartquote" text="‘"/>
+      <l:dingbat key="nestedendquote" text="’"/>
+    </l:l10n>
+  </l:i18n>
+
 </xsl:stylesheet>