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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a tex file:


\title{ Українська }

It works, but in resulting document (pdf) tableofcontent is called rather by russian word "Содержание" then ukrainian "Зміст". I want ukrainian. But, when I delete ",russian" from babel package option strange error appears:

! Package babel Error: You haven't loaded the option russian yet.

See the babel package documentation for explanation.
Type  H <return>  for immediate help.

l.3 \select@language{russian}

How to fix this? Is there other ways to use ukrainian language as default?

share|improve this question

closed as too localized by Stefan Kottwitz Sep 6 '12 at 22:31

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I think you gave up too early. Try another TeX run. – Stephan Lehmke Sep 6 '12 at 20:56
I tried 10 runs.... – klm123 Sep 6 '12 at 20:58
But when I delete all temporary files... It works! Thank you. – klm123 Sep 6 '12 at 20:59
You shouldn't stop a run with x. In that case the .aux file doesn't get overwritten. But deleting the .aux file was just what was needed. Congrats! – Stephan Lehmke Sep 6 '12 at 21:02
The language declared last with babel is the default one. So, if you need both Russian and Ukrainian, the latter being the main one, write \usepackage[russian,ukrainian]{babel}. If you can, switch to UTF-8 encoding, rather than cp1251. – egreg Sep 6 '12 at 21:04

Browse other questions tagged or ask your own question.