>>>>> "Geoffrey" == Geoffrey Lloyd <[EMAIL PROTECTED]> writes:
Geoffrey> Hi I am using Revtex4 document class and have included a Geoffrey> bibliography, selecting the correct style for my document. Geoffrey> Also I have selected natbib and numerical. Geoffrey> When I 'compile' i get the following error message Geoffrey> The package natbib has already been loaded with options: Geoffrey> [sort&compress] There has now been an attempt to load it Geoffrey> with options [numbers] The following patches fix the problem, as Geoffrey confirmed to me in private mail. Committing soon, since it is obvious. JMarc
Index: status.13x =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/Attic/status.13x,v retrieving revision 1.1.2.236 diff -u -p -r1.1.2.236 status.13x --- status.13x 25 Mar 2005 15:35:48 -0000 1.1.2.236 +++ status.13x 25 Mar 2005 16:22:12 -0000 @@ -57,6 +57,9 @@ What's new - Make sure that the wasysym package is used in LaTeX output when using symbols from the wasy font. +- Make sure that the natbib and url packages are not loaded with + REVTeX 4, since the functionality is already provided by the class. + - Fix output of mathbb and mathcal symbols via the math panel (xforms only) [bug 1214]. Index: lib/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v retrieving revision 1.363.2.102 diff -u -p -r1.363.2.102 ChangeLog --- lib/ChangeLog 25 Mar 2005 15:35:52 -0000 1.363.2.102 +++ lib/ChangeLog 25 Mar 2005 16:22:12 -0000 @@ -1,3 +1,8 @@ +2005-03-25 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> + + * layouts/revtex4.layout: indicate that the revtex4 class provides + natbib and url functionality. + 2005-03-22 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * configure.m4: add a check to see whether TeX allows spaces in Index: lib/layouts/revtex4.layout =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/revtex4.layout,v retrieving revision 1.6 diff -u -p -r1.6 revtex4.layout --- lib/layouts/revtex4.layout 24 Oct 2002 14:09:08 -0000 1.6 +++ lib/layouts/revtex4.layout 25 Mar 2005 16:22:12 -0000 @@ -14,6 +14,8 @@ Columns 1 Sides 1 PageStyle Headers MaxCounter Counter_Section +ProvidesNatbib 1 +ProvidesUrl 1 # Default textclass options. The user may need to modify this. ClassOptions
Index: lib/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v retrieving revision 1.680 diff -u -p -r1.680 ChangeLog --- lib/ChangeLog 25 Mar 2005 15:27:30 -0000 1.680 +++ lib/ChangeLog 25 Mar 2005 16:22:33 -0000 @@ -1,3 +1,8 @@ +2005-03-25 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> + + * layouts/revtex4.layout: indicate that the revtex4 class provides + natbib and url functionality. + 2005-03-23 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * configure.m4: add a check to see whether TeX allows spaces in Index: lib/layouts/revtex4.layout =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/revtex4.layout,v retrieving revision 1.10 diff -u -p -r1.10 revtex4.layout --- lib/layouts/revtex4.layout 13 Oct 2003 09:50:10 -0000 1.10 +++ lib/layouts/revtex4.layout 25 Mar 2005 16:22:33 -0000 @@ -13,7 +13,8 @@ Columns 1 Sides 1 PageStyle Headers - +ProvidesNatbib 1 +ProvidesUrl 1 # Default textclass options. The user may need to modify this. ClassOptions