Hello,
I'm writing my PhD thesis in LyX. I recently installed Ubuntu on my computer, and opened my LyX document, previously created in LyX with MikTeX and Windows, on the Ubuntu computer. When compiling the .pdf document, suddenly the headings, (contents, chapters, etc.) are in French instead of English (i.e. it now says "Table de matières", "Chapitre premier", etc. instead of "Contents", "Chapter 1"). I do have French and German text in the document (marked as so), but the document language is still set to English.
Is there any solution to this, or do I need to go back to Windows to work on this document?
Thanks!
LyX ⇒ Language of headings changes when changing platform
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Language of headings changes when changing platform
Hi,
welcome to the board!
I guess it's caused by a LyX setting. For sure it can be fixed by a simple LyX setting or by a
Stefan
welcome to the board!
I guess it's caused by a LyX setting. For sure it can be fixed by a simple LyX setting or by a
babel
(package) command or option. Perhaps post a (reduced) LyX document example here as attachment, which shows the undesired behavior.Stefan
LaTeX.org admin
Language of headings changes when changing platform
As Stefan suspects LyX has global language settings. You find it in the menu: Tools > Preferences:
Regards
Regards
site moderator & package author
Language of headings changes when changing platform
Thanks so much for your help! I tried changing the LyX settings, but that didn't work. In the end, I marked the opening text as "English, UK" rather than the default "English".
That generated a line in the LaTeX preamble which reads:
replacing the old one which read:
I think because French was listed first that was why the document headings were in French.
I hope this is useful to others too!
That generated a line in the LaTeX preamble which reads:
Code: Select all
\usepackage[british,french,german,english]{babel}
Code: Select all
\usepackage[french,german,english]{babel}
I hope this is useful to others too!
Last edited by cgnieder on Tue Feb 12, 2013 7:14 pm, edited 1 time in total.