TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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'm writing a document using the copernicus_discussions.cls document class. This document class doesn't work when using babel. So I need to keep LyX from automatically using babel. However, even though in Tools->Preferences->Language I selected "Language package: None" and disabled all checkboxes on that page, and even though in my document preferences, I selected "Language package: None", the generated LaTeX source still contains the line


How can I prevent LyX from inserting that line?

share|improve this question
What's wrong with using babel with natbib? – Joseph Wright Sep 27 '12 at 16:52
as I wrote in the question, the copernicus_discussions.cls class doesn't work in conjunction with both natbib and babel. More specifically, LaTeX gets sent into an infinite loop at the first \citet or \citep command. – andreas-h Sep 27 '12 at 17:18
I just realized it also happens when using \cite, so it's not natbib dependant – andreas-h Sep 28 '12 at 8:15
There used to be a Lyx mailinglist, some years ago I got a usefull answer there, my question then also aimed at Lyx internals. – Keks Dose Sep 28 '12 at 9:34
Links to LyX mailing lists are found at lyx.org/MailingLists – Torbjørn T. Sep 28 '12 at 11:13
up vote 8 down vote accepted

This is a known bug that will be fixed with LyX 2.0.5

Workaround: In Document Settings (Language), set language package to Custom and insert % dummy (or anything else preceded by a % char) into the custom package input widget.

Related link

share|improve this answer

Your Answer


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

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