Your message dated Thu, 14 Aug 2014 00:14:50 +0200
with message-id <op.xkjxe0eklhaakn@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,

Please try the attached patch, to add to the previous one. With this new patch:
* the xindy language is found from the document lang
* xindy now works with latin1 (pdftex) or utf8 (xetex) input encoding (my assumptions is the previous mail is wrong)

So you can do:

dblatex -Platex.index.tool=xindy doc.xml

It uses 'norwegian' as known xindy language since it is mapped to 'nb' in the xindylang.xml

Or:

dblatex -bxetex -Platex.index.tool=xindy doc.xml

Of course you can force the xindy language as before if you wish:

dblatex -bxetex -Platex.index.tool=xindy -Platex.index.language=german-din doc.xml

Give me your feedbacks,

Regards,
BG

On Tue, 12 Aug 2014 11:48:05 +0200, ben.guillon <[email protected]> wrote:

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

Attachment: patch-xindy2.tar.gz
Description: GNU Zip compressed data


--- End Message ---

Reply via email to