<channel>
<title>Petter Reinholdtsen - Entries from July 2015</title>
<description>Entries from July 2015</description>
- <link>http://people.skolelinux.org/pere/blog/</link>
+ <link>https://people.skolelinux.org/pere/blog/</link>
+ <item>
+ <title>Typesetting DocBook footnotes as endnotes with dblatex</title>
+ <link>https://people.skolelinux.org/pere/blog/Typesetting_DocBook_footnotes_as_endnotes_with_dblatex.html</link>
+ <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Typesetting_DocBook_footnotes_as_endnotes_with_dblatex.html</guid>
+ <pubDate>Thu, 16 Jul 2015 18:10:00 +0200</pubDate>
+ <description><p>I'm still working on the Norwegian version of the
+<a href="http://free-culture.cc/">Free Culture book by Lawrence
+Lessig</a>, and is now working on the final typesetting and layout.
+One of the features I want to get the structure similar to the
+original book is to typeset the footnotes as endnotes in the notes
+chapter. Based on the
+<a href="https://bugs.debian.org/685063">feedback from the Debian
+maintainer and the dblatex developer</a>, I came up with this recipe I
+would like to share with you. The proposal was to create a new LaTeX
+class file and add the LaTeX code there, but this is not always
+practical, when I want to be able to replace the class using a make
+file variable. So my proposal misuses the latex.begindocument XSL
+parameter value, to get a small fragment into the correct location in
+the generated LaTeX File.</p>
+
+<p>First, decide where in the DocBook document to place the endnotes,
+and add this text there:</p>
+
+<pre>
+&lt;?latex \theendnotes ?&gt;
+</pre>
+
+<p>Next, create a xsl stylesheet file dblatex-endnotes.xsl to add the
+code needed to add the endnote instructions in the preamble of the
+generated LaTeX document, with content like this:</p>
+
+<pre>
+&lt;?xml version='1.0'?&gt;
+&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'&gt;
+ &lt;xsl:param name="latex.begindocument"&gt;
+ &lt;xsl:text&gt;
+\usepackage{endnotes}
+\let\footnote=\endnote
+\def\enoteheading{\mbox{}\par\vskip-\baselineskip }
+\begin{document}
+ &lt;/xsl:text&gt;
+ &lt;/xsl:param&gt;
+&lt;/xsl:stylesheet&gt;
+</pre>
+
+<p>Finally, load this xsl file when running dblatex, for example like
+this:</p>
+
+<pre>
+dblatex --xsl-user=dblatex-endnotes.xsl freeculture.nb.xml
+</pre>
+
+<p>The end result can be seen on github, where
+<a href="https://github.com/petterreinholdtsen/free-culture-lessig">my
+book project</a> is located.</p>
+</description>
+ </item>
+
<item>
<title>Mimes brønn, norsk utgave av Alaveteli / WhatDoTheyKnow, endelig lansert</title>
- <link>http://people.skolelinux.org/pere/blog/Mimes_br_nn__norsk_utgave_av_Alaveteli___WhatDoTheyKnow__endelig_lansert.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Mimes_br_nn__norsk_utgave_av_Alaveteli___WhatDoTheyKnow__endelig_lansert.html</guid>
+ <link>https://people.skolelinux.org/pere/blog/Mimes_br_nn__norsk_utgave_av_Alaveteli___WhatDoTheyKnow__endelig_lansert.html</link>
+ <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Mimes_br_nn__norsk_utgave_av_Alaveteli___WhatDoTheyKnow__endelig_lansert.html</guid>
<pubDate>Thu, 9 Jul 2015 11:40:00 +0200</pubDate>
<description><p>I går fikk vi endelig lansert en norsk version av mySocietys
<a href="https://www.whatdotheyknow.com/">WhatDoTheyKnow</a>.
<item>
<title>MPEG LA on "Internet Broadcast AVC Video" licensing and non-private use</title>
- <link>http://people.skolelinux.org/pere/blog/MPEG_LA_on__Internet_Broadcast_AVC_Video__licensing_and_non_private_use.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/MPEG_LA_on__Internet_Broadcast_AVC_Video__licensing_and_non_private_use.html</guid>
+ <link>https://people.skolelinux.org/pere/blog/MPEG_LA_on__Internet_Broadcast_AVC_Video__licensing_and_non_private_use.html</link>
+ <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/MPEG_LA_on__Internet_Broadcast_AVC_Video__licensing_and_non_private_use.html</guid>
<pubDate>Tue, 7 Jul 2015 09:50:00 +0200</pubDate>
<description><p>After asking the Norwegian Broadcasting Company (NRK)
<a href="http://people.skolelinux.org/pere/blog/Hva_gj_r_at_NRK_kan_distribuere_H_264_video_uten_patentavtale_med_MPEG_LA_.html">why
<item>
<title>New laptop - some more clues and ideas based on feedback</title>
- <link>http://people.skolelinux.org/pere/blog/New_laptop___some_more_clues_and_ideas_based_on_feedback.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_laptop___some_more_clues_and_ideas_based_on_feedback.html</guid>
+ <link>https://people.skolelinux.org/pere/blog/New_laptop___some_more_clues_and_ideas_based_on_feedback.html</link>
+ <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/New_laptop___some_more_clues_and_ideas_based_on_feedback.html</guid>
<pubDate>Sun, 5 Jul 2015 21:40:00 +0200</pubDate>
<description><p>Several people contacted me after my previous blog post about my
need for a new laptop, and provided very useful feedback. I wish to
<item>
<title>Time to find a new laptop, as the old one is broken after only two years</title>
- <link>http://people.skolelinux.org/pere/blog/Time_to_find_a_new_laptop__as_the_old_one_is_broken_after_only_two_years.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Time_to_find_a_new_laptop__as_the_old_one_is_broken_after_only_two_years.html</guid>
+ <link>https://people.skolelinux.org/pere/blog/Time_to_find_a_new_laptop__as_the_old_one_is_broken_after_only_two_years.html</link>
+ <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Time_to_find_a_new_laptop__as_the_old_one_is_broken_after_only_two_years.html</guid>
<pubDate>Fri, 3 Jul 2015 07:10:00 +0200</pubDate>
<description><p>My primary work horse laptop is failing, and will need a
replacement soon. The left 5 cm of the screen on my Thinkpad X230
seem sensible to me? Are there better services around to search the
set of available laptops for features? Please send me an email if you
have suggestions.</p>
+
+<p>Update 2015-07-23: I got a suggestion to check out the FSF
+<a href="http://www.fsf.org/resources/hw/endorsement/respects-your-freedom">list
+of endorsed hardware</a>, which is useful background information.</p>
</description>
</item>
<item>
<title>MakerCon Nordic videos now available on Frikanalen</title>
- <link>http://people.skolelinux.org/pere/blog/MakerCon_Nordic_videos_now_available_on_Frikanalen.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/MakerCon_Nordic_videos_now_available_on_Frikanalen.html</guid>
+ <link>https://people.skolelinux.org/pere/blog/MakerCon_Nordic_videos_now_available_on_Frikanalen.html</link>
+ <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/MakerCon_Nordic_videos_now_available_on_Frikanalen.html</guid>
<pubDate>Thu, 2 Jul 2015 14:10:00 +0200</pubDate>
<description><p>Last oktober I was involved on behalf of
<a href="http://www.nuug.no/">NUUG</a> with recording the talks at