Take the 2-minute tour ×
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.

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

\usepackage{british,english]{babel}

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
1  
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

1 Answer 1

up vote 6 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

 
discard

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.