LaTeX forum ⇒ GeneralCannot locate xindy module for language dutch in codepage utf8?

LaTeX specific issues not fitting into one of the other forums of this category.
eezacque
Posts: 7
Joined: Mon Jan 06, 2020 5:47 pm

Cannot locate xindy module for language dutch in codepage utf8?

Postby eezacque » Mon Jan 06, 2020 5:54 pm

Texmaker executes xindy as:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. xindy -I xindy -L dutch -M test -C utf8 -t test.glg -o test.gls test.glo


This gives the following error message:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. Cannot locate xindy module for language dutch in codepage utf8


When I manually enter:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. xindy -I xindy -M test -t test.glg -o test.gls test.glo


All works correctly, and glossary entries show up, as expected.

LaTeX file test.tex:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass{report}
  2.  
  3. \usepackage[utf8]{inputenc}
  4. \usepackage[dutch]{babel}
  5. \usepackage{appendix}
  6. \usepackage[automake,xindy={language=dutch,codepage=utf8}]{glossaries}
  7.  
  8. \newglossaryentry{John Lennon}{
  9. name={John Lennon},
  10. sort={John Lennon},
  11. description={A Beatle}}
  12.  
  13. \newglossaryentry{Paul McCartney}{
  14. name={Paul McCartney},
  15. sort={Paul McCartney},
  16. description={Another Beatle}}
  17.  
  18. \newglossaryentry{Ringo Star}{
  19. name={Ringo Star},
  20. sort={Ringo Star},
  21. description={Yet another Beatle}}
  22.  
  23. \newglossaryentry{George Harrison}{
  24. name={George Harrison},
  25. sort={George Harrison},
  26. description={Some Beatle}}
  27.  
  28. \makeglossaries
  29.  
  30. \begin{document}
  31.  
  32. \glsaddall
  33. \printglossary[style=indexgroup]
  34.  
  35. \end{document}


Running Ubuntu 18.04.3, xindy script version: 1.18, xindy kernel version: 3.0

Cannot seem to wrap my head around this, any help is appreciated.

rais
Posts: 276
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Tue Jan 07, 2020 12:06 am

AFAIUI, Xindy offers two variants for Dutch spelling, where `ij' is sorted differently---as `ij' or as `y'.
Simply prepend the variant you want to `utf8' in your codepage statement, such as
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \usepackage[automake,xindy={language=dutch,codepage=ij-as-y-utf8}]{glossaries}

then Xindy should load
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. Loading module "lang/dutch/ij-as-y-utf8-lang.xdy"...
  2. Loading module "lang/dutch/ij-as-y-utf8.xdy"...


(the alternate variant would be `ij-as-ij-utf8')

KR

Rainer

eezacque
Posts: 7
Joined: Mon Jan 06, 2020 5:47 pm

Postby eezacque » Tue Jan 07, 2020 12:57 pm

Works like a charm! I think it is a good suggestion for the authors of xindy to pick a default; also, I think it is a little awkward to hide a language variant in a code page?

Thanks for sorting me out,
Izak

User avatar
Ijon Tichy
Posts: 361
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Tue Jan 07, 2020 2:51 pm

If you have a feature request, you should send it to the author of xindy.


Return to “General”

Who is online

Users browsing this forum: No registered users and 8 guests