Philippe Baucour wrote:
> Hi...
> congratulations for Lyx 1.2pre4 I'm impressed, it works well on my mandrake
> 8.2 and it provides elsart.layout....
> Actuallly I'm a newbie in Latex and Lyx I've a problem with bibtex. With a
> document (class article) Bibtex works perfectly but if I choose (classs
> article elsart) I've got an latex error ...
> \newblock undefined
>
> here is an example of the problem
> I tried this in 1.1.6 and I've got the same problem
elseart defines it's own bibstyle so you have to leave
this input-field empty.
Anyway there is a bug in lyx when you want to change
from a entry to an empty one.
Herbert
--
http://www.lyx.org/help/
Index: src/frontends/xforms/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v
retrieving revision 1.371
diff -u -r1.371 ChangeLog
--- src/frontends/xforms/ChangeLog 2 May 2002 08:48:41 -0000 1.371
+++ src/frontends/xforms/ChangeLog 2 May 2002 13:23:43 -0000
@@ -1,5 +1,10 @@
2002-05-02 Herbert Voss <[EMAIL PROTECTED]>
+ * FormBibtex.C (apply): a change from a style to an empty one
+ (which is valid) wasn't saved
+
+2002-05-02 Herbert Voss <[EMAIL PROTECTED]>
+
* FormGraphics.C (input): do not read bb new when it was changed
2002-04-30 Rob Lahaye <[EMAIL PROTECTED]>
Index: src/frontends/xforms/FormBibtex.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormBibtex.C,v
retrieving revision 1.32
diff -u -r1.32 FormBibtex.C
--- src/frontends/xforms/FormBibtex.C 30 Apr 2002 17:03:39 -0000 1.32
+++ src/frontends/xforms/FormBibtex.C 2 May 2002 13:23:43 -0000
@@ -192,8 +192,6 @@
// bibtotoc and no style
controller().params().setOptions("bibtotoc");
- } else if (!bibstyle.empty()) {
- // only style
+ } else // all other cases
controller().params().setOptions(bibstyle);
- }
}