3 Jan 2011 22:24
Problems with utf8 files
stefano franchi <stefano.franchi <at> gmail.com>
2011-01-03 21:24:29 GMT
2011-01-03 21:24:29 GMT
I am working on a book project typeset with LuaTeX (to be more precise, lualatex). I need to change the sort order of the various accented letters, and make them behave as if they were unaccented (i.e., as in the Duden-order in German). My project is in English/american and the tex input files are all unicode, inclusing the \index entries (no Latex workarounds like \"o etcetera). I wrote a small xindy style file with my sort rules, such as: (sort-rule "ö" "o") (sort-rule "ü" "u") etc., plus the standard modules (the whole file is appended below). But here is my problem: 1. If I call xindy with the english language module: xindy -L english -M mymodule.xdy myfile.idx then the sort rules are ignored. They are obeyed only if I change the \index commands to contain Latex-like accents instead of unicode accented letters. However, this is not practical, since I have hundreds of entries contained across several files. It seems as if xindy is not recognizing the input file as utf8. 2. If, on the contrary, I call xindy without a language module, as in xindy mymodule.xdy myfile.idx(Continue reading)
RSS Feed