LyX ⇒ Language of headings changes when changing platform
Language of headings changes when changing platform
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!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Language of headings changes when changing platform
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
Language of headings changes when changing platform
Regards
Language of headings changes when changing platform
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!