> what happens, when you delete in
> edit->preferences->languages->language->package
> the entry usepackage{babel}?
>
> HErbert
This doesn't help, unfortunately. The `english' option
still gets added, and this breaks REVTEX. I guess the
same would occur if I changed to `german' - it seems
you can't have a `null' option.
The attached files (short!) demonstrate the problem.
Start with a valid REVTEX file (TEstLYX.tex) - no
language options are needed, since PHYS REV is only
published in English :-)
Next, TEstLYX.lyx gives the imported file - I
include no figures here, since ReLyx has problems
importing figures - due to the centering command
bug, which is still around :-(
This won't Latex anymore, in LyX1.1.6fix2. Problem
is the same whether or not babel is included in the
preferences panel. By the way - terrific job, whoever
thought of that neat panel!!
To understand why, export to Latex giving TEstLYXa.tex. Front-matter is
changed, with the unwanted `english'
option included. Problem is, this doesn't work with
the Revtex class-file.
Solution would be if LyX could delete the language
option when there is no language package chosen. RevTex
4 will solve the problem RSN, but it would be nice to have backward
compatibility!!
thanks - Peter Drummond.
PS - Lyx got presented very well at the CCP2000
conference last year - so you might get more physicists.
--
Physics Department, University of Queensland, St Lucia 4072,
Queensland, Australia. Tel:+61-7-3365-3404 Fax:+61-7-3365-1242
[EMAIL PROTECTED]; www.physics.uq.edu.au/people/drummond
Herbert Voss wrote:
TEstLYX.tex
#This file was created by <drummond> Tue May 29 10:34:33 2001
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass revtex
\options preprint,aps
\layout Standard
\latex latex
\backslash preprint{version: Brisbane,
\backslash today}
\latex default
\layout Title
Testing Lyx on REVTEX
\layout Author
P.
\protected_separator
D.
\protected_separator
Drummond
\layout Address
Department of Physics, University of Queensland, St Lucia 4067, Queensland,
Australia
\layout Abstract
We test Lyx 1.16fix2 on REVTEX!
\layout Section
Introduction
\layout Standard
will it work OK with REVTEX?
\the_end
TEstLYXa.tex