This question already has an answer here:

I would like to make a Norwegian index for a book. Is there a MWE which can help me?

marked as duplicate by TeXnician, Bobyandbob, Stefan Pinnow, CarLaTeX, Kurt Nov 4 '17 at 23:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I cannot compile these. Perhaps it is because I use \AE, \O, \AA for the Norwegian letters. – Frode Bjørdal Nov 4 '17 at 17:30
  • If you are using commands like \AE rather than using UTF-8 characters, you need to add a merge rule for each of those commands. For example (merge-rule "\\AE *" "Æ" :eregexp :again) – Nicola Talbot Nov 4 '17 at 17:47

Run with shell escape enabled or run

xindy -M texindy -L norwegian -C utf8 <filename>.idx

after a LaTeX run.



\makeindex[options=-M texindy -L norwegian -C utf8]






enter image description here

  • What does "shell escape enabled" mean? – Frode Bjørdal Nov 4 '17 at 17:33
  • It compiled, but ångstrøm was ranked first. I did not follow the instruction on having shell escape enabled, as I do not understand it. – Frode Bjørdal Nov 4 '17 at 17:40
  • @FrodeBjørdal It means run pdflatex --shell-escape file.tex instead of pdflatex file.tex. With that I get ångstrøm in the correct place. – Torbjørn T. Nov 4 '17 at 18:05
  • @TorbjørnT. I use Texstudio, and I do not see how to run either of these. – Frode Bjørdal Nov 4 '17 at 18:15
  • @FrodeBjørdal pdflatex without shell-escape is likely what you're using to generate the PDF now. See tex.stackexchange.com/a/99601 for one way of activating shell-escape for a document. – Torbjørn T. Nov 4 '17 at 18:24

Not the answer you're looking for? Browse other questions tagged or ask your own question.