]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Use (p. #) for english and (s. #) for bokmål instead of [#] when
authorPetter Reinholdtsen <pere@hungry.com>
Mon, 12 Oct 2015 08:56:36 +0000 (10:56 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Mon, 12 Oct 2015 08:56:36 +0000 (10:56 +0200)
referring to pages in the books.

data/user_param.xsl

index 903b7129e8cf393d20b9a727e3c91113aaf43804..3b59eda8f99d40a5576363d25cec29fcec2944d3 100644 (file)
       <l:template name="chapter" text="%t"/>
     </l:context>
 
+    <l:l10n language="en">
+      <!-- The default page citation [12] is hard to understand for
+           most readers.  use (p. 12) instead. -->
+      <l:context name="xref">
+       <l:template name="page.citation" text=" (p. %p)"/>
+      </l:context>
+    </l:l10n>
+
     <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:context name="xref">
+       <l:template name="page.citation" text=" (s. %p)"/>
+      </l:context>
     </l:l10n>
   </l:i18n>