]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/default.ui
Prevent changing of non-tabular lines.
[lyx.git] / lib / ui / default.ui
index 68c9ae0aba816185c15d0e03d5048f8ba94d6360..81407292916733ff126d65f189a03de7c223f7d8 100644 (file)
@@ -1,17 +1,9 @@
 # This is the default LyX user interface definition file.         -*- text -*-
-# The syntax should be straightforward enough. The menubar
-# "main_nobuffer" (if it exists) is used when there is no buffer open;
-# otherwise, the menubar "main" is used. 
+# The syntax should be straightforward enough. 
 
 Menuset
 
-    Menubar "main_nobuffer"
-       Submenu "File|F" "file_nobuffer"
-       Submenu "Edit|E" "edit_nobuffer"
-       Submenu "Help|H" "help"
-    End
-
-    Menubar "main"
+    Menubar
        Submenu "File|F" "file"
        Submenu "Edit|E" "edit"
        Submenu "Insert|I" "insert"
@@ -25,27 +17,16 @@ Menuset
 #
 # FILE MENU
 #
-    Menu "file_nobuffer"
-       Item "New...|N" "buffer-new"
-       Item "New from Template...|T" "buffer-new-template"
-       Item "Open...|O" "file-open"
-       Separator
-       Submenu "Import|I" "file_import"
-       Separator
-       Item "Exit|x" "lyx-quit"
-       Separator
-       Lastfiles
-    End
 
     Menu "file"
-       Item "New...|N" "buffer-new"
+       Item "New|N" "buffer-new"
        Item "New from Template...|T" "buffer-new-template"
        Item "Open...|O" "file-open"
        Separator
        Item "Close|C" "buffer-close"
        Item "Save|S" "buffer-write"
        Item "Save As...|A" "buffer-write-as"
-       Item "Revert to Saved|R" "buffer-reload"
+       Item "Revert|R" "buffer-reload"
        Submenu "Version Control|V" "file_vc"
        Separator
        Submenu "Import|I" "file_import"
@@ -60,7 +41,7 @@ Menuset
 
     Menu "file_vc"
        OptItem "Register|R" "vc-register"
-       OptItem "Check In Changes|I" "vc-check-in"
+       OptItem "Check In Changes...|I" "vc-check-in"
        OptItem "Check Out for Edit|O" "vc-check-out"
        OptItem "Revert to Last Version|L" "vc-revert"
        OptItem "Undo Last Check In|U" "vc-undo-last"
@@ -79,10 +60,6 @@ Menuset
 #
 # EDIT MENU
 #
-    Menu "edit_nobuffer"
-       Item "Preferences...|P" "dialog-preferences"
-       Item "Reconfigure|R" "reconfigure"
-    End
 
     Menu "edit"
        Item "Undo|U" "undo"
@@ -98,13 +75,13 @@ Menuset
        Submenu "Math|M" "edit_math"
        Separator
        #Item "Read Only" "buffer-toggle-read-only"
-       Item "Spellchecker...|S" "spellchecker"
-       Item "Thesaurus..." "thesaurus-entry"
+       Item "Spellchecker|S" "spellchecker"
+       Item "Thesaurus" "thesaurus-entry"
        Item "Check TeX|h" "buffer-chktex"
        Item "Remove All Error Boxes|E" "error-remove-all"
        Item "Open/Close float|l" "inset-toggle"
        Separator
-       Item "Preferences...|P" "dialog-preferences"
+       Item "Preferences|P" "dialog-preferences"
        Item "Reconfigure|R" "reconfigure"
     End
 
@@ -131,9 +108,13 @@ Menuset
        Separator
        Item "Add Row|A" "tabular-feature append-row"
        Item "Delete Row|w" "tabular-feature delete-row"
+       Item "Copy Row" "tabular-feature copy-row"
+       Item "Swap Rows" "tabular-feature swap-row"
        Separator
        Item "Add Column|u" "tabular-feature append-column"
        Item "Delete Column|D" "tabular-feature delete-column"
+       Item "Copy Column" "tabular-feature copy-column"
+       Item "Swap Columns" "tabular-feature swap-column"
     End
 
     Menu "edit_math"
@@ -149,24 +130,36 @@ Menuset
        Item "Toggle numbering of line|u" "math-nonumber"
        Item "Toggle limits|l" "math-limits"
        Separator
-       Item "Inline formula|I" "math-mutate inline"
-       Item "Displayed formula|D" "math-mutate display"
-       Item "Eqnarray environment|q" "math-mutate eqnarray"
-       Item "Align environment|A" "math-mutate align"
-       Separator
-       Item "Align Left|f" "math-halign left"
-       Item "Align Center|C" "math-halign center"
-       Item "Align Right|R" "math-halign right"
-       Separator
-       Item "V.Align Top|T" "math-valign top"
-       Item "V.Align Center|e" "math-valign center"
-       Item "V.Align Bottom|B" "math-valign bottom"
+       Submenu "Change formula type...|t" "edit_math_mutate"
        Separator
-       Item "Add Row" "math-row-insert"
-       Item "Delete Row" "math-row-delete"
+       Submenu "Use computer algebra system|t" "edit_math_extern"
+
+       #Item "Line Top|T" "tabular-feature toggle-line-top"
+       #Item "Line Bottom|B" "tabular-feature toggle-line-bottom"
+       #Item "Line Left|L" "tabular-feature toggle-line-left"
+       #Item "Line Right|R" "tabular-feature toggle-line-right"
+       #Separator
+    End
+
+    Menu "edit_math_extern"
+       Item "Octave" "math-extern octave"
        Separator
-       Item "Add Column" "math-column-insert"
-       Item "Delete Column" "math-column-delete"
+       Item "Maple, simplify" "math-extern maple simplify"
+       Item "Maple, factor" "math-extern maple factor"
+       Item "Maple, evalm" "math-extern maple evalm"
+       Item "Maple, evalf" "math-extern maple evalf"
+    End
+
+    Menu "edit_math_mutate"
+       Item "Inline formula|I" "math-mutate simple"
+       Item "Displayed formula|D" "math-mutate equation"
+       Item "Eqnarray environment|q" "math-mutate eqnarray"
+       Item "Align environment|A" "math-mutate align"
+       Item "AlignAt environment" "math-mutate alignat"
+       Item "XAlignAt environment" "math-mutate xalignat"
+       Item "XXAlignAt environment" "math-mutate xxalignat"
+       Item "Gather environment" "math-mutate gather"
+       Item "Multline environment" "math-mutate multline"
     End
 
 #
@@ -181,6 +174,7 @@ Menuset
        Item "Label...|L" "label-insert"
        Item "Footnote|F" "footnote-insert"
        Item "Marginal Note|M" "marginalnote-insert"
+       Item "Short title" "optional-insert"
        Item "Index Entry|I" "index-insert"
        Item "URL...|U" "url-insert"
        Item "Note|N" "note-insert"
@@ -189,7 +183,7 @@ Menuset
        Item "TeX|T" "ert-insert"
        Item "Minipage|p" "minipage-insert"
        Item "Graphics...|G" "graphics-insert"
-       Item "Tabular Material...|b" "dialog-tabular-insert"
+       Item "Tabular Material...|b" "tabular-insert"
        Submenu "Floats|a" "insert_floats"
        Separator
        Item "Include File...|d" "buffer-child-insert"
@@ -219,13 +213,41 @@ Menuset
        Item "AMS alignat environment|t" "command-sequence math-mode; math-mutate alignat;"
        Item "AMS xalignat environment|x" "command-sequence math-mode; math-mutate xalignat;"
        Item "AMS xxalignat environment" "command-sequence math-mode; math-mutate xxalignat;"
+       Item "AMS gather environment" "command-sequence math-mode; math-mutate gather;"
+       Item "AMS multline environment" "command-sequence math-mode; math-mutate multline;"
   Separator
        Item "Array environment|y" "math-insert matrix 2 2"
        Item "Cases environment|C" "math-insert cases 2"
   Separator
-       Item "Math Panel...|l" "math-panel"
+       Submenu "Font Change|f" "insert_math_font"
+       Item "Math Panel|l" "math-panel"
     End
 
+    Menu "insert_math_font"
+       Item "Math normal font" "math-insert \mathnormal"
+       Separator
+       Item "Math calligraphic family" "math-insert \mathcal"
+       Item "Math fraktur family" "math-insert \mathfrak"
+       Item "Math roman family" "math-insert \mathrm"
+       Item "Math sans serif family" "math-insert \mathsf"
+       Separator
+       Item "Math bold series" "math-insert \mathbf"
+       Separator
+       Item "Text normal font" "math-insert \textnormal"
+       Separator
+       Item "Text roman family" "math-insert \textrm"
+       Item "Text sans serif family" "math-insert \textsf"
+       Item "Text typewriter family" "math-insert \texttt"
+       Separator
+       Item "Text bold series" "math-insert \textbf"
+       Item "Text medium series" "math-insert \textmd"
+       Separator
+       Item "Text italic shape" "math-insert \textit"
+       Item "Text small caps shape" "math-insert \textsc"
+       Item "Text slanted shape" "math-insert \textsl"
+       Item "Text upright shape" "math-insert \textup"
+               End
+
     Menu "insert_floats"
        FloatInsert
     End
@@ -247,10 +269,10 @@ Menuset
 # LAYOUT MENU
 #
     Menu "layout"
-       Item "Character...|C" "layout-character"
-       Item "Paragraph...|P" "layout-paragraph"
-       Item "Document...|D" "layout-document"
-       OptItem "Tabular...|T" "layout-tabular"
+       Item "Character|C" "layout-character"
+       Item "Paragraph|P" "layout-paragraph"
+       Item "Document|D" "layout-document"
+       OptItem "Tabular|T" "layout-tabular"
        Separator
        Item "Emphasize Style|E" "font-emph"
        Item "Noun Style|N" "font-noun"
@@ -258,7 +280,7 @@ Menuset
 #      Item "TeX Style|X" "tex-mode"
        Separator
        Item "Change Environment Depth|v" "depth-increment"
-       Item "Preamble...|r" "layout-preamble"
+       Item "Preamble|r" "layout-preamble"
        Item "Start Appendix here|A" "appendix"
     End
 
@@ -289,7 +311,7 @@ Menuset
        Separator
        Item "Error|E" "error-next"
        Item "Note|N" "note-next"
-       Item "Refs|R" "reference-next"
+       Item "Refs|R" "reference-goto"
        Submenu "Bookmarks|B" "navigate_bookmarks"
     End
 
@@ -375,5 +397,5 @@ Toolbar
     Icon "depth-increment"
     Separator
     Icon "graphics-insert"
-    Icon "dialog-tabular-insert"
+    Icon "tabular-insert"
 End