+ <div class="entry">
+ <div class="title"><a href="http://people.skolelinux.org/pere/blog/Notes_on_language_codes_for_Norwegian_docbook_processing___.html">Notes on language codes for Norwegian docbook processing...</a></div>
+ <div class="date">10th August 2012</div>
+ <div class="body"><p>In <a href="http://www.docbook.org/">docbook</a> one can specify
+the language used at the top, and the processing pipeline will use
+this information to pick the correct translations for 'chapter', 'see
+also', 'index' etc. And for most languages used with docbook, I guess
+this work just fine. For example a German user can start the document
+with <book lang="de">, and the document will show up with the
+correct content with any of the docbook processors. This is not the
+case for the language
+<a href="http://people.skolelinux.org/pere/blog/Free_Culture_in_Norwegian___5_chapters_done__74_percent_left_to_do.html">I
+am working with at the moment</a>, Norwegian Bokmål.</p>
+
+<p>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.</p>
+
+<p>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 'no', Norwegian Nynorsk is 'nn' and Norwegian Bokmål is 'nb'.
+Historically the 'no' 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 'no' was an
+alias for 'nb'.</p>
+
+<p>Back to docbook processing tools in Debian. The dblatex tool only
+understand 'nn'. There are translations for 'no', but not 'nb' (BTS
+<a href="http://bugs.debian.org/684391">#684391</a>), but due to a bug
+(BTS <a href="http://bugs.debian.org/682936">#682936</a>) the 'no'
+language code is not recognised. The docbook-xsl tool chain only
+recognise 'nn' and 'nb', but not 'no'. The xmlto tool only recognise
+'nn' and 'nb', but not 'no'. 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. :(</p>
+
+<p>The correct solution is to use <book lang="nb">, but it will
+take time before that will work with all the free software docbook
+processors. :(</p>
+
+<p>Oh, the joy of well integrated tools. :/</p>
+</div>
+ <div class="tags">
+
+
+ Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
+
+
+ </div>
+ </div>
+ <div class="padding"></div>
+
<div class="entry">
<div class="title"><a href="http://people.skolelinux.org/pere/blog/Best_way_to_create_a_docbook_book_.html">Best way to create a docbook book?</a></div>
<div class="date">31st July 2012</div>
</div>
<div class="padding"></div>
- <div class="entry">
- <div class="title"><a href="http://people.skolelinux.org/pere/blog/Free_Timetabling_Software___nice_free_software.html">Free Timetabling Software - nice free software</a></div>
- <div class="date"> 7th July 2012</div>
- <div class="body"><p>Included in <a href="http://www.skolelinux.org/">Debian Edu /
-Skolelinux</a> 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
-
-<a href="http://lalescu.ro/liviu/fet/">named FET</a>, 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
-<a href="http://lalescu.ro/liviu/fet/download.html">Linux, MacOSX and
-Windows</a>.</p>
-
-<p>This is <a href="http://lalescu.ro/liviu/fet/features.html">the
-feature list</a>, liftet from the project web site:</p>
-
-<p><ul>
-
- <li>FET is free software, licensed under the GNU GPL v2 or later.
- You can freely use, copy, modify and redistribute it </li>
-
- <li>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)
- </li>
-
- <li>Fully automatic generation algorithm, allowing also
- semi-automatic or manual allocation</li>
-
- <li>Platform independent implementation, allowing running on
- GNU/Linux, Windows, Mac and any system that Qt supports </li>
-
- <li>Flexible modular XML format for the input file, allowing editing
- with an XML editor or by hand (besides FET interface)</li>
-
- <li>Import/export from CSV format</li>
-
- <li>The resulted timetables are exported into HTML, XML and CSV
- formats </li>
-
- <li>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)</li>
-
- <li>Each constraint has a weight percentage, from 0.0% to 100.0%
- (but some special constraints are allowed to have only 100% weight
- percentage)</li>
-
- <li>Limits for the algorithm (all these limits can be increased on
- demand, as a custom version, because this would require a bit more
- memory):
- <ul>
- <li>Maximum total number of hours (periods) per day: 60</li>
- <li>Maximum number of working days per week: 35</li>
- <li>Maximum total number of teachers: 6000</li>
- <li>Maximum total number of sets of students: 30000</li>
- <li>Maximum total number of subjects: 6000</li>
- <li>Virtually unlimited number of activity tags</li>
- <li>Maximum number of activities: 30000</li>
- <li>Maximum number of rooms: 6000</li>
- <li>Maximum number of buildings: 6000</li>
- <li>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)</li>
- <li>Virtually unlimited number of time constraints</li>
- <li>Virtually unlimited number of space constraints</li>
- </ul></li>
-
- <li>A large and flexible palette of time constraints:
- <ul>
- <li>Break periods</li>
- <li>For teacher(s):
- <ul>
- <li>Not available periods</li>
- <li>Max/min days per week</li>
- <li>Max gaps per day/week</li>
- <li>Max hours daily/continuously</li>
- <li>Min hours daily</li>
- <li>Max hours daily/continuously with an activity tag</li>
-
- <li>Respect working in an hourly interval a max number of
- days per week</li>
- </ul></li>
- <li>For students (sets):
- <ul>
- <li>Not available periods</li>
- <li>Begins early (specify max allowed beginnings at second hour)</li>
- <li>Max gaps per day/week</li>
- <li>Max hours daily/continuously</li>
- <li>Min hours daily</li>
- <li>Max hours daily/continuously with an activity tag</li>
-
- <li>Respect working in an hourly interval a max number of
- days per week</li>
- </ul></li>
- <li>For an activity or a set of activities/subactivities:
- <ul>
- <li>A single preferred starting time</li>
- <li>A set of preferred starting times</li>
- <li>A set of preferred time slots</li>
- <li>Min/max days between them</li>
- <li>End(s) students day</li>
- <li>Same starting time/day/hour</li>
- <li>Occupy max time slots from selection (a complex and
- flexible constraint, useful in many situations)</li>
- <li>Consecutive, ordered, grouped (for 2 or 3 (sub)activities)</li>
- <li>Not overlapping</li>
- <li>Max simultaneous in selected time slots</li>
- <li>Min gaps between a set of (sub)activities</li>
- </ul></li>
- </ul></li>
-
- <li>A large and flexible palette of space constraints:
- <ul>
- <li>Room not available periods</li>
- <li>For teacher(s):
- <ul>
- <li>Home room(s)</li>
- <li>Max building changes per day/week</li>
- <li>Min gaps between building changes</li>
- </ul>
- </li>
-
- <li>For students (sets):
- <ul>
- <li>Home room(s)</li>
- <li>Max building changes per day/week</li>
- <li>Min gaps between building changes</li>
- </ul>
- </li>
- <li>Preferred room(s):
- <ul>
- <li>For a subject</li>
- <li>For an activity tag</li>
- <li>For a subject and an activity tag</li>
- <li>Individually for a (sub)activity</li>
- </ul>
- </li>
-
- <li>For a set of activities:
- <ul>
- <li>Occupy a maximum number of different rooms</li>
- </ul>
- </li>
- </ul>
- </li>
-</ul></p>
-
-<p>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
-<a href="http://marvelsoft.co.in/wp/2012/03/generate-timetable-for-state-cbse-icse-igcse-schools-free/">a
-blog post from MarvelSoft</a>. If you find FET useful, please provide
-a recipe for the Debian Edu project in the
-<a href="http://wiki.debian.org/DebianEdu#Howtos">Debian Edu HowTo
-section</a>.</p>
-</div>
- <div class="tags">
-
-
- Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
-
-
- </div>
- </div>
- <div class="padding"></div>
-
<p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14" /></a></p>
<div id="sidebar">
<li><a href="http://people.skolelinux.org/pere/blog/archive/2012/07/">July (17)</a></li>
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2012/08/">August (1)</a></li>
+
</ul></li>
<li>2011
<li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
- <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (144)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (145)</a></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (17)</a></li>