]> pere.pagekite.me Git - homepage.git/blobdiff - blog/archive/2015/07/07.rss
Adjust text.
[homepage.git] / blog / archive / 2015 / 07 / 07.rss
index f4d9f66757ecb655734325dfc715ce375df1d2ea..a3dc3bca51075bfee90f8d5ed2c9e569713959e4 100644 (file)
        <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>&lt;p&gt;I&#39;m still working on the Norwegian version of the
+&lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture book by Lawrence
+Lessig&lt;/a&gt;, 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
+&lt;a href=&quot;https://bugs.debian.org/685063&quot;&gt;feedback from the Debian
+maintainer and the dblatex developer&lt;/a&gt;, 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.&lt;/p&gt;
+
+&lt;p&gt;First, decide where in the DocBook document to place the endnotes,
+and add this text there:&lt;/p&gt;
+
+&lt;pre&gt;
+&amp;lt;?latex \theendnotes ?&amp;gt;
+&lt;/pre&gt;
+
+&lt;p&gt;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:&lt;/p&gt;
+
+&lt;pre&gt;
+&amp;lt;?xml version=&#39;1.0&#39;?&amp;gt;
+&amp;lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; version=&#39;1.0&#39;&amp;gt;
+  &amp;lt;xsl:param name=&quot;latex.begindocument&quot;&amp;gt;
+    &amp;lt;xsl:text&amp;gt;
+\usepackage{endnotes}
+\let\footnote=\endnote
+\def\enoteheading{\mbox{}\par\vskip-\baselineskip }
+\begin{document}
+    &amp;lt;/xsl:text&amp;gt;
+  &amp;lt;/xsl:param&amp;gt;
+&amp;lt;/xsl:stylesheet&amp;gt;
+&lt;/pre&gt;
+
+&lt;p&gt;Finally, load this xsl file when running dblatex, for example like
+this:&lt;/p&gt;
+
+&lt;pre&gt;
+dblatex --xsl-user=dblatex-endnotes.xsl freeculture.nb.xml
+&lt;/pre&gt;
+
+&lt;p&gt;The end result can be seen on github, where
+&lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;my
+book project&lt;/a&gt; is located.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>Mimes brønn, norsk utgave av Alaveteli / WhatDoTheyKnow, endelig lansert</title>
+               <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>&lt;p&gt;I går fikk vi endelig lansert en norsk version av mySocietys
+&lt;a href=&quot;https://www.whatdotheyknow.com/&quot;&gt;WhatDoTheyKnow&lt;/a&gt;.
+Tjenesten heter Mimes brønn, og ble
+&lt;a href=&quot;http://www.nuug.no/news/NUUG_lanserer_innsynstjenesten_Mimes_Br_nn.shtml&quot;&gt;annonsert
+av NUUG&lt;/a&gt; via blogg, epost og twitter til NUUG-assosierte personer.
+Det har tatt noen år, men de siste dagene fikk vi endelig tid til å få
+på plass de siste bitene.  Vi er to, Gorm og meg selv, som har vært
+primus motor for det hele, men vi har fått hjelp med oversettelser og
+oppsett fra mange flere.  Jeg vil si tusen takk til hver og en av dem,
+og er veldig fornøyd med at vi klarte å få tjenesten opp å kjøre før
+ferietiden slo inn for fullt.&lt;/p&gt;
+
+&lt;p&gt;Vi er usikker på hvor mye belastning den virtuelle maskinen der
+tjenesten kjører klarer, så vi har lansert litt i det stille og ikke
+til for mange folk for å se hvordan maskinen klarer seg over sommeren,
+før vi går mer aktivt ut og annonserer til høsten.  Ta en titt, og se
+om du kanskje har et spørsmål til det offentlige som er egnet å sende
+inn via Mimes brønn.&lt;/p&gt;
+
+&lt;p&gt;Hvis du lurer på hva i alle dager en slik tjenestes kan brukes til,
+anbefaler jeg deg å se
+&lt;a href=&quot;http://beta.frikanalen.no/video/625321&quot;&gt;TED-foredraget til
+Heather Brook&lt;/a&gt; om hvordan hun brukte WhatDoTheyKnow til å lære
+hvordan offentlige midler ble misbrukt.  Det er en inspirerende
+historie.&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>MPEG LA on &quot;Internet Broadcast AVC Video&quot; 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>&lt;p&gt;After asking the Norwegian Broadcasting Company (NRK)
-&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Hva_gj_r_at_NRK_kan_distribuere_H_264_video_uten_patentavtale_med_MPEG_LA_.html&quot;&gt;why
+&lt;a href=&quot;https://people.skolelinux.org/pere/blog/Hva_gj_r_at_NRK_kan_distribuere_H_264_video_uten_patentavtale_med_MPEG_LA_.html&quot;&gt;why
 they can broadcast and stream H.264 video without an agreement with
 the MPEG LA&lt;/a&gt;, I was wiser, but still confused.  So I asked MPEG LA
 if their understanding matched that of NRK.  As far as I can tell, it
@@ -123,7 +214,7 @@ such content would constitute Free Television AVC Video and would be
 subject to the applicable royalties.&lt;/p&gt;
 
 &lt;p&gt;For your reference, I have attached
-&lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2015-07-07-mpeg-la.pdf&quot;&gt;a
+&lt;a href=&quot;https://people.skolelinux.org/pere/blog/images/2015-07-07-mpegla.pdf&quot;&gt;a
 .pdf copy of the AVC License&lt;/a&gt;. You will find the relevant
 sublicense information regarding AVC Video in Sections 2.2 through
 2.5, and the corresponding royalties in Section 3.1.2 through 3.1.4.
@@ -271,8 +362,8 @@ the patents are not valid in Norway?&lt;/p&gt;
        
        <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>&lt;p&gt;Several people contacted me after my previous blog post about my
 need for a new laptop, and provided very useful feedback.  I wish to
@@ -328,8 +419,8 @@ thinkpad X models&lt;/a&gt;, and provide one year warranty.&lt;/p&gt;
        
        <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>&lt;p&gt;My primary work horse laptop is failing, and will need a
 replacement soon.  The left 5 cm of the screen on my Thinkpad X230
@@ -339,7 +430,7 @@ flickering.&lt;/p&gt;
 
 &lt;p&gt;My requirements have not really changed since I bought it, and is
 still as
-&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Thank_you_Thinkpad_X41__for_your_long_and_trustworthy_service.html&quot;&gt;I
+&lt;a href=&quot;https://people.skolelinux.org/pere/blog/Thank_you_Thinkpad_X41__for_your_long_and_trustworthy_service.html&quot;&gt;I
 described them in 2013&lt;/a&gt;.  The last time I bought a laptop, I had
 good help from
 &lt;a href=&quot;http://www.prisjakt.no/category.php?k=353&quot;&gt;prisjakt.no&lt;/a&gt;
@@ -356,13 +447,17 @@ deteriorated since X41.&lt;/p&gt;
 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.&lt;/p&gt;
+
+&lt;p&gt;Update 2015-07-23: I got a suggestion to check out the FSF
+&lt;a href=&quot;http://www.fsf.org/resources/hw/endorsement/respects-your-freedom&quot;&gt;list
+of endorsed hardware&lt;/a&gt;, which is useful background information.&lt;/p&gt;
 </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>&lt;p&gt;Last oktober I was involved on behalf of
 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;NUUG&lt;/a&gt; with recording the talks at
@@ -430,7 +525,7 @@ to prepare a recording for publication were five years old and no
 longer worked with the current video processing tools (command line
 argument changes).  In addition, we needed better audio normalization,
 which sent me on a detour to
-&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Measuring_and_adjusting_the_loudness_of_a_TV_channel_using_bs1770gain.html&quot;&gt;package
+&lt;a href=&quot;https://people.skolelinux.org/pere/blog/Measuring_and_adjusting_the_loudness_of_a_TV_channel_using_bs1770gain.html&quot;&gt;package
 bs1770gain for Debian&lt;/a&gt;.  Now this is in place and it became a lot
 easier to publish NUUG videos on Frikanalen.&lt;/p&gt;
 </description>