Your message dated Tue, 12 Aug 2014 11:48:05 +0200
with message-id <op.xkg36fqmlhaakn@saturne>
has caused the report #756386,
regarding dblatex: Wrong indexterm sorting order for Norwegian Bokmål (nb)
to be marked as having been forwarded to the upstream software
author(s)
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
756386: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756386
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hi,
Can you try the following patch that makes Xindy work as expected? To use
it:
dblatex -bxetex -Platex.index.tool=xindy -Platex.index.language=norwegian
doc.xml
It is a temporary patch, in the final patch the index module will be able
to select the xindy language from the document language when possible.
Note that the sorting doesn't work well with xindy and pdftex because
pdftex uses commands in the index to emulate the non latin characters,
that xindy don't know. With xetex it seems to work fine.
Tell me if it works for the whole book.
Regards,
BG
On Tue, 05 Aug 2014 20:10:00 +0200, Andreas Hoenen
<[email protected]> wrote:
Petter Reinholdtsen <[email protected]> wrote:
[Andreas Hoenen]
> Hi Petter,
Hi. :)
> This looks like a TeX problem to me: when handled with the default
pdftex
> backend, the indexterm sorting order is wrong, however when switching
to
> the xetex backend, it's correct. XeTeX just seems to be better suited
> for many non english languages than traditional LaTeX.
Could be. But should not '<book lang="nb">' tell dblatex to do the
right thing for Norwegian Bokmål? :)
One could think about making the default backend language dependent.
@Benoît: putting you into the loop: what do you think about this idea?
> Thus you should give the xetex backend a try.
I did, using 'dblatex -b xetex sort-order-test.xml', and the new
index end up with this ordering instead:
Alle inne
Bare tull
Åndalsnes
Ærlig talt
Øvrigheten
The 'Symbols' header is gone, as there is no symbols/letter headers in
this version. Still wrong ordering, though, but different. It should
be
Alle inne
Bare tull
Ærlig talt
Øvrigheten
Åndalsnes
Hm, this would be a XeTeX problem, dblatex just emits a \printindex
command.
Regards, Andreas
patch-xindy.tar.gz
Description: GNU Zip compressed data
--- End Message ---