On Mon, Mar 19, 2001 at 08:53:34AM +0100, Eildert Groeneveld wrote:
> Hi everyone,
> as of last week, I cannot insert floats any more in with the current CVS version
> of lyx. The corresponding field in the pull down is shaded, on startup of lyx
> I get 
> eg(eno,eg): lyx
> MenuItem(): LyX command `marginpar-insert' does not exist.
> MenuItem(): LyX command `buffer-float-insert figure' does not exist.
> MenuItem(): LyX command `buffer-float-insert table' does not exist.
> MenuItem(): LyX command `buffer-float-insert wide-fig' does not exist.
> MenuItem(): LyX command `buffer-float-insert wide-tab' does not exist.
> MenuItem(): LyX command `buffer-float-insert algorithm' does not exist.
> Toolbar::add: no LyX command called`marginpar-insert'exists!
> 
> 
> Any idea what the problem may be?
> 

Hi.

You need to apply this patch to lib/ui/default.ui

-- 
Kayvan A. Sylvan                   | Proud husband of      | Father to my kids:
Sylvan Associates, Inc.            | Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Index: lib/ui/default.ui
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ui/default.ui,v
retrieving revision 1.44
diff -u -r1.44 default.ui
--- lib/ui/default.ui   2001/03/07 14:25:27     1.44
+++ lib/ui/default.ui   2001/03/19 00:33:47
@@ -170,9 +170,9 @@
        Item "Cross Reference...|R" "reference-insert"
        Item "Label...|L" "label-insert"
        Item "Footnote|F" "footnote-insert"
-       Item "Marginal Note|M" "marginpar-insert"
+       Item "Marginal Note|M" "marginalnote-insert"
        Item "Index Entry...|I" "index-insert"
-       Item "Index Entry of Preceeding Word|W" "index-insert-last"
+       Item "Index Entry of Preceding Word|W" "index-insert-last"
        Item "URL...|U" "url-insert"
        Item "Note...|N" "note-insert"
        Submenu "Lists & TOC|O" "insert_toc"
@@ -200,12 +200,12 @@
     End
 
     Menu "insert_floats"
-       Item "Figure|F" "buffer-float-insert figure"
-       Item "Table|T" "buffer-float-insert table"
-       Item "Wide Figure|W" "buffer-float-insert wide-fig"
-       Item "Wide Table|d" "buffer-float-insert wide-tab"
+       Item "Figure|F" "float-insert figure"
+       Item "Table|T" "float-insert table"
+       Item "Wide Figure|W" "float-insert wide-fig"
+       Item "Wide Table|d" "float-insert wide-tab"
        Separator
-       Item "Algorithm|A" "buffer-float-insert algorithm"
+       Item "Algorithm|A" "float-insert algorithm"
     End
 
     Menu "insert_toc"
@@ -351,7 +351,7 @@
     Icon "math-mode"
     Separator
     Icon "footnote-insert"
-    Icon "marginpar-insert"
+    Icon "marginalnote-insert"
     Icon "depth-next"
     Separator
     Icon "figure-insert"

Reply via email to