]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
index 94d81f0f4c2e1307c97536587738e92e81a85c42..7cd35eec169cd00f512bc8845c374f87331092bf 100644 (file)
@@ -6,6 +6,57 @@
                 <link>http://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
+       <item>
+               <title>Notes on language codes for Norwegian docbook processing...</title>
+               <link>http://people.skolelinux.org/pere/blog/Notes_on_language_codes_for_Norwegian_docbook_processing___.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Notes_on_language_codes_for_Norwegian_docbook_processing___.html</guid>
+                <pubDate>Fri, 10 Aug 2012 21:00:00 +0200</pubDate>
+               <description>&lt;p&gt;In &lt;a href=&quot;http://www.docbook.org/&quot;&gt;docbook&lt;/a&gt; one can specify
+the language used at the top, and the processing pipeline will use
+this information to pick the correct translations for &#39;chapter&#39;, &#39;see
+also&#39;, &#39;index&#39; etc.  And for most languages used with docbook, I guess
+this work just fine.  For example a German user can start the document
+with &amp;lt;book lang=&quot;de&quot;&amp;gt;, and the document will show up with the
+correct content with any of the docbook processors.  This is not the
+case for the language
+&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Free_Culture_in_Norwegian___5_chapters_done__74_percent_left_to_do.html&quot;&gt;I
+am working with at the moment&lt;/a&gt;, Norwegian Bokmål.&lt;/p&gt;
+
+&lt;p&gt;For a while, I was confused about which language code to use,
+because I was unable to find any language code that would work across
+all tools.  I am currently testing dblatex, xmlto, docbook-xsl, and
+dbtoepub, and they do not handle Norwegian Bokmål the same way.  Some
+of them do not handle it at all.&lt;/p&gt;
+
+&lt;p&gt;A bit of background information is probably needed to understand
+this mess.  Norwegian is not one, but two written variants.  The
+variants are Norwegian Nynorsk and Norwegian Bokmål.  There are three
+two letter language codes associated with these languages, Norwegian
+is &#39;no&#39;, Norwegian Nynorsk is &#39;nn&#39; and Norwegian Bokmål is &#39;nb&#39;.
+Historically the &#39;no&#39; language code was used for Norwegian Bokmål, but
+many years ago this was found to be å bad idea, and the recommendation
+is to use the most specific language code instead, to avoid confusion.
+In the transition period it is a good idea to make sure &#39;no&#39; was an
+alias for &#39;nb&#39;.&lt;/p&gt;
+
+&lt;p&gt;Back to docbook processing tools in Debian.  The dblatex tool only
+understand &#39;nn&#39;.  There are translations for &#39;no&#39;, but not &#39;nb&#39; (BTS
+&lt;a href=&quot;http://bugs.debian.org/684391&quot;&gt;#684391&lt;/a&gt;), but due to a bug
+(BTS &lt;a href=&quot;http://bugs.debian.org/682936&quot;&gt;#682936&lt;/a&gt;) the &#39;no&#39;
+language code is not recognised.  The docbook-xsl tool chain only
+recognise &#39;nn&#39; and &#39;nb&#39;, but not &#39;no&#39;.  The xmlto tool only recognise
+&#39;nn&#39; and &#39;nb&#39;, but not &#39;no&#39;.  The end result that there is no language
+code I can use to get the docbook file working with all of these tools
+at the same time. :(&lt;/p&gt;
+
+&lt;p&gt;The correct solution is to use &amp;lt;book lang=&quot;nb&quot;&amp;gt;, but it will
+take time before that will work with all the free software docbook
+processors. :(&lt;/p&gt;
+
+&lt;p&gt;Oh, the joy of well integrated tools. :/&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>Best way to create a docbook book?</title>
                <link>http://people.skolelinux.org/pere/blog/Best_way_to_create_a_docbook_book_.html</link>
@@ -508,182 +559,5 @@ purchases.&lt;/p&gt;
 </description>
        </item>
        
-       <item>
-               <title>Free Timetabling Software - nice free software</title>
-               <link>http://people.skolelinux.org/pere/blog/Free_Timetabling_Software___nice_free_software.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Free_Timetabling_Software___nice_free_software.html</guid>
-                <pubDate>Sat, 7 Jul 2012 09:50:00 +0200</pubDate>
-               <description>&lt;p&gt;Included in &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
-Skolelinux&lt;/a&gt; is a large collection of end user and school specific
-software.  It is one of the packages not installed by default but
-provided in the Debian archive for schools to install if they want to,
-is a system to automatically plan the school time table using
-information about available teachers, classes and rooms, combined with
-the list of required courses and how many hours each topic should
-receive.  The software is
-
-&lt;a href=&quot;http://lalescu.ro/liviu/fet/&quot;&gt;named FET&lt;/a&gt;, and it provide a
-graphical user interface to input the required information, save the
-result in a fairly simple XML format, and generate time tables for
-both teachers and students.  It is available both for
-&lt;a href=&quot;http://lalescu.ro/liviu/fet/download.html&quot;&gt;Linux, MacOSX and
-Windows&lt;/a&gt;.&lt;/p&gt;
-
-&lt;p&gt;This is &lt;a href=&quot;http://lalescu.ro/liviu/fet/features.html&quot;&gt;the
-feature list&lt;/a&gt;, liftet from the project web site:&lt;/p&gt;
-
-&lt;p&gt;&lt;ul&gt;
-
-  &lt;li&gt;FET is free software, licensed under the GNU GPL v2 or later.
-    You can freely use, copy, modify and redistribute it &lt;/li&gt;
-       
-  &lt;li&gt;Localized to en_US (US English, default), ar (Arabic), ca
-    (Catalan), da (Danish), de (German), el (Greek), es (Spanish), fa
-    (Persian), fr (French), gl (Galician), he (Hebrew), hu
-    (Hungarian), id (Indonesian), it (Italian), lt (Lithuanian), mk
-    (Macedonian), ms (Malay), nl (Dutch), pl (Polish), pt_BR
-    (Brazilian Portuguese), ro (Romanian), ru (Russian), si (Sinhala),
-    sk (Slovak), sr (Serbian), tr (Turkish), uk (Ukrainian), uz
-    (Uzbek) and vi (Vietnamese) (incompletely for some languages)
-    &lt;/li&gt;
-       
-  &lt;li&gt;Fully automatic generation algorithm, allowing also
-    semi-automatic or manual allocation&lt;/li&gt;
-       
-  &lt;li&gt;Platform independent implementation, allowing running on
-    GNU/Linux, Windows, Mac and any system that Qt supports &lt;/li&gt;
-       
-  &lt;li&gt;Flexible modular XML format for the input file, allowing editing
-    with an XML editor or by hand (besides FET interface)&lt;/li&gt;
-       
-  &lt;li&gt;Import/export from CSV format&lt;/li&gt;
-       
-  &lt;li&gt;The resulted timetables are exported into HTML, XML and CSV
-    formats &lt;/li&gt;
-       
-  &lt;li&gt;Flexible students structure, organized into sets: years, groups
-    and subgroups. FET allows overlapping years and groups and
-    non-overlapping subgroups. You can even define individual students
-    (as separate sets)&lt;/li&gt;
-       
-  &lt;li&gt;Each constraint has a weight percentage, from 0.0% to 100.0%
-    (but some special constraints are allowed to have only 100% weight
-    percentage)&lt;/li&gt;
-       
-  &lt;li&gt;Limits for the algorithm (all these limits can be increased on
-    demand, as a custom version, because this would require a bit more
-    memory):
-    &lt;ul&gt;
-      &lt;li&gt;Maximum total number of hours (periods) per day: 60&lt;/li&gt;
-      &lt;li&gt;Maximum number of working days per week: 35&lt;/li&gt;
-      &lt;li&gt;Maximum total number of teachers: 6000&lt;/li&gt;
-      &lt;li&gt;Maximum total number of sets of students: 30000&lt;/li&gt;
-      &lt;li&gt;Maximum total number of subjects: 6000&lt;/li&gt;
-      &lt;li&gt;Virtually unlimited number of activity tags&lt;/li&gt;
-      &lt;li&gt;Maximum number of activities: 30000&lt;/li&gt;
-      &lt;li&gt;Maximum number of rooms: 6000&lt;/li&gt;
-      &lt;li&gt;Maximum number of buildings: 6000&lt;/li&gt;
-      &lt;li&gt;Possibility of adding multiple teachers and
-          students sets for each activity.  (it is possible
-          also to have no teachers or no students sets for an
-          activity)&lt;/li&gt;
-      &lt;li&gt;Virtually unlimited number of time constraints&lt;/li&gt;
-      &lt;li&gt;Virtually unlimited number of space constraints&lt;/li&gt;
-    &lt;/ul&gt;&lt;/li&gt;
-
-  &lt;li&gt;A large and flexible palette of time constraints:
-    &lt;ul&gt;
-      &lt;li&gt;Break periods&lt;/li&gt;
-      &lt;li&gt;For teacher(s):
-        &lt;ul&gt;
-         &lt;li&gt;Not available periods&lt;/li&gt;
-         &lt;li&gt;Max/min days per week&lt;/li&gt;
-         &lt;li&gt;Max gaps per day/week&lt;/li&gt;
-         &lt;li&gt;Max hours daily/continuously&lt;/li&gt;
-         &lt;li&gt;Min hours daily&lt;/li&gt;
-         &lt;li&gt;Max hours daily/continuously with an activity tag&lt;/li&gt;
-
-         &lt;li&gt;Respect working in an hourly interval a max number of
-           days per week&lt;/li&gt;
-       &lt;/ul&gt;&lt;/li&gt;
-      &lt;li&gt;For students (sets):
-       &lt;ul&gt;
-         &lt;li&gt;Not available periods&lt;/li&gt;
-         &lt;li&gt;Begins early (specify max allowed beginnings at second hour)&lt;/li&gt;
-         &lt;li&gt;Max gaps per day/week&lt;/li&gt;
-         &lt;li&gt;Max hours daily/continuously&lt;/li&gt;
-         &lt;li&gt;Min hours daily&lt;/li&gt;
-         &lt;li&gt;Max hours daily/continuously with an activity tag&lt;/li&gt;
-
-         &lt;li&gt;Respect working in an hourly interval a max number of
-           days per week&lt;/li&gt;
-       &lt;/ul&gt;&lt;/li&gt;
-      &lt;li&gt;For an activity or a set of activities/subactivities:
-        &lt;ul&gt;
-         &lt;li&gt;A single preferred starting time&lt;/li&gt;
-         &lt;li&gt;A set of preferred starting times&lt;/li&gt;
-         &lt;li&gt;A set of preferred time slots&lt;/li&gt;
-         &lt;li&gt;Min/max days between them&lt;/li&gt;
-         &lt;li&gt;End(s) students day&lt;/li&gt;
-         &lt;li&gt;Same starting time/day/hour&lt;/li&gt;
-         &lt;li&gt;Occupy max time slots from selection (a complex and
-           flexible constraint, useful in many situations)&lt;/li&gt;
-         &lt;li&gt;Consecutive, ordered, grouped (for 2 or 3 (sub)activities)&lt;/li&gt;
-         &lt;li&gt;Not overlapping&lt;/li&gt;
-         &lt;li&gt;Max simultaneous in selected time slots&lt;/li&gt;
-         &lt;li&gt;Min gaps between a set of (sub)activities&lt;/li&gt;
-       &lt;/ul&gt;&lt;/li&gt;
-    &lt;/ul&gt;&lt;/li&gt;
-
-  &lt;li&gt;A large and flexible palette of space constraints:
-    &lt;ul&gt;
-      &lt;li&gt;Room not available periods&lt;/li&gt;
-      &lt;li&gt;For teacher(s):
-        &lt;ul&gt;
-         &lt;li&gt;Home room(s)&lt;/li&gt;
-         &lt;li&gt;Max building changes per day/week&lt;/li&gt;
-         &lt;li&gt;Min gaps between building changes&lt;/li&gt;
-       &lt;/ul&gt;
-      &lt;/li&gt;
-               
-      &lt;li&gt;For students (sets):
-        &lt;ul&gt;
-         &lt;li&gt;Home room(s)&lt;/li&gt;
-         &lt;li&gt;Max building changes per day/week&lt;/li&gt;
-         &lt;li&gt;Min gaps between building changes&lt;/li&gt;
-       &lt;/ul&gt;
-      &lt;/li&gt;
-      &lt;li&gt;Preferred room(s):
-        &lt;ul&gt;
-         &lt;li&gt;For a subject&lt;/li&gt;
-         &lt;li&gt;For an activity tag&lt;/li&gt;
-         &lt;li&gt;For a subject and an activity tag&lt;/li&gt;
-         &lt;li&gt;Individually for a (sub)activity&lt;/li&gt;
-       &lt;/ul&gt;
-      &lt;/li&gt;
-
-      &lt;li&gt;For a set of activities:
-        &lt;ul&gt;
-         &lt;li&gt;Occupy a maximum number of different rooms&lt;/li&gt;
-       &lt;/ul&gt;
-      &lt;/li&gt;
-    &lt;/ul&gt;
-  &lt;/li&gt;
-&lt;/ul&gt;&lt;/p&gt;
-
-&lt;p&gt;I have not used it myself, as I am not involved in time table
-planning at a school, but it seem to work fine when I test it.  If you
-need to set up your schools time table, and is tired of doing it
-manually, check it out. 
-
-A quick summary on how to use it can be found in
-&lt;a href=&quot;http://marvelsoft.co.in/wp/2012/03/generate-timetable-for-state-cbse-icse-igcse-schools-free/&quot;&gt;a
-blog post from MarvelSoft&lt;/a&gt;.  If you find FET useful, please provide
-a recipe for the Debian Edu project in the
-&lt;a href=&quot;http://wiki.debian.org/DebianEdu#Howtos&quot;&gt;Debian Edu HowTo
-section&lt;/a&gt;.&lt;/p&gt;
-</description>
-       </item>
-       
         </channel>
 </rss>