Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'am on MacOsX with a MacTeX installation.

I would like to use xindy to automatically make an index of my bibliographical references, which can have some diacritics.

I work with XeLaTeX, so in UTF-8.

I would like to have a "french sorting" (because I'm french !). So I call texindy xindy.idx -L french -C utf8.

But I obtain

texindy xindy.idx -L french -C utf8
Opening logfile "/dev/null" (done)
Reading indexstyle...
Loading module "/var/folders/0g/vh5y8yv93js6v76gmjpnt4mr0000gr/T/6eMY4mRHKa"...
Loading module "lang/french/utf8-lang.xdy"...
Loading module "lang/french/utf8.xdy"...
Finished loading module "lang/french/utf8.xdy".
Finished loading module "lang/french/utf8-lang.xdy".

Error in line 2:

(require "tex/inputenc/utf8.xdy")
ERROR: Could not find file "tex/inputenc/utf8.xdy" !

I think it's a problem of installation, but I can't see where is it.

Thank for your answer.

share|improve this question
According to this message (see jschrod's comment), the -C utf8 option is not required when using (pdf)latex. And texindy can't be used with XeLaTeX or LuaLaTeX. – egreg Dec 9 '12 at 16:35
Hum, I read "Please note: When one uses XeTeX or luaTeX, that changes. But then one cannot use texindy any more, either." -> it's my case. So I think I must use "xindy". – Maieul Dec 9 '12 at 17:04
In this case, I obtain <code>xindy xindy.idx -L french -C utf8 *** - PROGN: variable LANG/FRENCH/UTF8-LANG.XDY has no value </code>. And I want to have the "index sort encoding" utf-8 – Maieul Dec 9 '12 at 17:06
I don't know what to say; using xindy is always a nightmare. – egreg Dec 9 '12 at 17:13
I can understand. But makeindex can't help me to have an automatically sorted index with diacritic (i. e without the @ syntax) – Maieul Dec 9 '12 at 17:23

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.