Hi,In the zip I've downloaded from gitub I've seen only two warnings (git clone too long here). Looking at the freeculture.nb.xml file produced, there are two "endofrange" for the same index:
<indexterm id='idxuniversitycomputernetworksppsharingon' class='startofrange'><primary>universitetdatanettverk, p2p-fildeling på</primary></indexterm>
<indexterm startref='idxuniversitycomputernetworksppsharingon' class='endofrange'/>
<indexterm startref='idxuniversitycomputernetworksppsharingon' class='endofrange'/> <-- wrong duplicate
I think most of the troubles come from duplicated endofrange indexes. If you want I check more, send me a zipped version of your current freeculture.nb.xml file.
BTW, can you try the attached patch (you can replace directly index.py)? I needed to refactor index.py to be able to handle index encoding in all cases. Xindy is powerful but its encoding tricks are a bit painful.
Regards, BGOn Thu, 14 Aug 2014 12:59:41 +0200, Petter Reinholdtsen <p...@hungry.com> wrote:
[Petter Reinholdtsen]I applied the two patches to the dblatex deb package source, but ended up with a binary package without the dblatex-0.3.5/lib/dbtexmf/dblatex/grubber/xindylang.xml file. I tried to adjust the build to get it included, but failed. How is this supposed to be done?I managed to test this by just copying the file into /usr/, and the resulting index order were now correct. But I see lots of messages like this: WARNING: Found a :close-range in the index that wasn't opened before! Location-reference is 8 in keyword (Pogue, David) I'll continue and ignore this. WARNING: Found no :close-range matching an already opened one! Location-reference is 9 in keyword (power, concentration of). Maybe I lost some of the regular location-references. And the index entries for these ranges seem to be incorrect, no page reference is included in the index entry. No idea what causes it, nor how to rewrite the docbook file to work properly. :( If you want to test yourself, run 'git clone https://github.com/petterreinholdtsen/free-culture-lessig.git' to get the source of the docbook document, and run 'make freeculture.pdf freeculture.nb.pdf' to build the English and Norwegian Bokmål version of the book.
patch-xindy3.tar.gz
Description: GNU Zip compressed data