On Fri, Feb 18, 2000 at 05:32:25PM +0100, Manfred Kirschhock wrote: > I'm trying XINDYDOS for indexing a biblevers index but it doesn´t > run. Here a example of the idx-file created with LaTeX: > > \indexentry{EH1.20|hyperpage}{3} > \indexentry{EH1.1|hyperpage}{3} > \indexentry{K1.2|hyperpage}{3} ... > > I have a special biblevers abbreviation and sequence that I wrote in > a xdy-file: > > (define-alphabet "bible-chapters" ("1M" "2M" "3M" "4M" "5M" "JS" "RC" > "1S" "2S" "1R" "2R" "JJ" "JR" "JC" "HO" "JL" "AM" "OB" "JN" "MH" "NA" > "CB" "Z" "CG" "S" "MA" "LB" "VG" "IB" "LL" "RU" "EJ" "ST" "ÄT" "D" > "ÄR" "N" "1W" "2W" "M" "MK" "L" "J" "R" "1K" "2K" "G" "E" "P" "K" > "1TH" "2TH" "H" "1T" "2T" "T" "PM" "A" "JK" "1P" "2P" "1J" "2J" "3J" > "JD" "EH")) > > (define-location-class "bible-verses" > ("bible-chapters" :sep "" > "arabic-numbers" :sep "." "arabic-numbers")) > > With this file I start Xindy but it reports only errors like this: > > This is `xindy' version 2.0 (OS2 binary version 2.0). > Reading indexstyle... > Loading module "bs.xdy"... > Loading module "tex/makeidx4.xdy"... > Finished loading module "tex/makeidx4.xdy". > Finished loading module "bs.xdy". > Finished reading indexstyle. > Finalizing indexstyle... (done) > > Reading raw-index "bs.raw"... > WARNING: location-reference "3" did not match any location-class! > (ignored) ... You need to define a location-class for the location-references of your index (in this case: page numbers) (define-location-class "arabic-page-numbers" ("arabic-numbers")) Add the above line to your xindy style file and test it. What you get now is an alphabetically sorted index, but this is probably still not quite what you want. I assume you want the index to be sorted in the order of the books of the bible. This, however, can not to be solved with define-alphabet, as you tried: > (define-alphabet "bible-chapters" ("1M" "2M" "3M" "4M" "5M" "JS" "RC" > "1S" "2S" "1R" "2R" "JJ" "JR" "JC" "HO" "JL" "AM" "OB" "JN" "MH" "NA" > "CB" "Z" "CG" "S" "MA" "LB" "VG" "IB" "LL" "RU" "EJ" "ST" "ÄT" "D" > "ÄR" "N" "1W" "2W" "M" "MK" "L" "J" "R" "1K" "2K" "G" "E" "P" "K" > "1TH" "2TH" "H" "1T" "2T" "T" "PM" "A" "JK" "1P" "2P" "1J" "2J" "3J" > "JD" "EH")) Instead, use: (sort-rule "1M" "%01") (sort-rule "2M" "%02") ... (sort-rule "JS" "%06") ... to get the sorting done and then, optionally (define-letter-groups ("%01" "%02" ... )) to group the index into paragraphs if you want. Don't forget to read the sections in the tutorial and the manual on sort-rule and define-letter-groups! -- Thomas Henlich