Package: docbook-xsl
Version: 1.76.1+dfsg-1

I ran into this problem while using docbook-xsl and fop (and also
dblatex) 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 docbook-xsl and dblatex.  See the included docbook file for an
example demonstrating the sorting, and the correct sorting order.  This
sorting order make both docbook-xsl and dblatex unfit for typesetting a
Norwegian book. :(

I've already reported a similar problem with dblatex, so this bug report
is about the docbook-xsl manifestation. :)

<!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 docbook-xsl sort it

Symboler:
Ærlig talt

A
Alle inne
Åndalsnes

B
Bare tull

O
Øvrigheten

while dblatex sort it like this (note the underscore as the "letter"
for symbols):

_
Ærlig talt
Øvrigheten
Åndalsnes

A
Alle inne

B
Bare tull

Both sorting orders are wrong.

-->
<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>

-- 
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