Package: dblatex
Version: 0.3.4-2

I ran into this problem while using dblatex (and docbook-xsl/fop, see
bug #686908) to generate a PDF for the translated version of the Free
Culture book by Lawrence Lessig.  See
<URL: https://github.com/petterreinholdtsen/free-culture-lessig/> for the
complete source of that project.

The indexterm sorting order is wrong for the nb language choice when
using dblatex.  See the included docbook file for an example
demonstrating the sorting, and the correct sorting order.  This sorting
order make dblatex unfit for typesetting a Norwegian book with an
index. :(

I reported a related bug #685721 earlier (incorrect heading in index),
but this is about the index ordering, not the heading.

Using this docbook file demonstrate the problem:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd";>
<!--

The nb indexterm sorting order should be "Alle inne", "Bare tull",
"Ærlig talt", "Øvrigheta", "Åndalsnes" under separete letter "A", "B",
"Æ", "Ø" and "Å".  But dblatex sort it

Symbols
Ærlig talt
Øvrigheten
Åndalsnes

A
Alle inne

B
Bare tull

This sorting order is wrong.  Note also how it uses 'Symbols' instead of
'Symboler', which would be the correct Norwegian translation for that
heading.

-->
<book lang="nb">
  <bookinfo>
    <title>Example demonstrating wrong nb indexterm sorting</title>
  </bookinfo>
<preface>
<title>test</title>
<indexterm><primary>Alle inne</primary></indexterm>
<para>test</para>
<indexterm><primary>Ærlig talt</primary></indexterm>
<indexterm><primary>Øvrigheten</primary></indexterm>
<indexterm><primary>Åndalsnes</primary></indexterm>
<para>text is good</para>
<indexterm><primary>Bare tull</primary></indexterm>
<para>text is great</para>
</preface>
<index></index>
</book>

Is there some way to get the correct index sorting order using dblatex?

-- 
Happy hacking
Petter Reinholdtsen


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to