]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdmenus.inc
Include lyx2lyx test in tarball
[lyx.git] / lib / ui / stdmenus.inc
index 3edb98bd38e013fee54a871e2c7d3ee3297e6daf..32ed83e8ae392a36e56c47381a384117076875b3 100644 (file)
@@ -11,7 +11,7 @@
 # Full author contact details are available in file CREDITS.
 
 # The interface is designed (partially) following the KDE Human Interface
-# Guidelines (http://usability.kde.org/hig/)
+# Guidelines (http://techbase.kde.org/Projects/Usability/HIG)
 
 # Casing Rules:
 # Capitalize all words in the element, with the following exceptions: 
@@ -21,6 +21,8 @@
 #   (except when the preposition is part of a verb phrase, such as "Check In")
 # (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en)
 
+Format 2
+
 Menuset
 
        Menubar
@@ -49,7 +51,6 @@ Menuset
                Item "Close All" "buffer-close-all"
                Item "Save|S" "buffer-write"
                Item "Save As...|A" "buffer-write-as"
-#              Item "Save Encrypted" "buffer-write-encrypted"
                Item "Save All|l" "buffer-write-all"
                Item "Revert to Saved|R" "buffer-reload"
                Submenu "Version Control|V" "file_vc"
@@ -73,10 +74,12 @@ Menuset
                OptItem "Register...|R" "vc-register"
                OptItem "Check In Changes...|I" "vc-check-in"
                OptItem "Check Out for Edit|O" "vc-check-out"
+               OptItem "Copy|p" "vc-copy"
+               OptItem "Rename|R" "vc-rename"
                OptItem "Update Local Directory From Repository|d" "vc-repo-update"
                OptItem "Revert to Repository Version|v" "vc-revert"
                OptItem "Undo Last Check In|U" "vc-undo-last"
-               OptItem "Compare with Older Revision|C" "vc-compare"
+               OptItem "Compare with Older Revision...|C" "vc-compare"
                OptItem "Show History...|H" "dialog-show vclog"
                OptItem "Use Locking Property|L" "vc-locking-toggle"
        End
@@ -86,8 +89,9 @@ Menuset
        End
 
        Menu "file_export"
+               Item "Export As...|s" "buffer-export-as"
                ExportFormats
-               Item "Custom...|C" "buffer-export custom"
+               Item "More Formats & Options...|O" "buffer-export custom"
        End
 
 #
@@ -104,6 +108,7 @@ Menuset
                Submenu "Paste Recent|e" "edit_pasterecent"
                Submenu "Paste Special" "edit_paste"
                Separator
+               Item "Select Whole Inset" "inset-select-all"
                Item "Select All" "command-sequence buffer-begin ; buffer-end-select"
                Separator
                Item "Find & Replace (Quick)...|F" "dialog-show findreplace"
@@ -128,6 +133,7 @@ Menuset
 # obvious what the context is for the others)
                OptItem "Increase List Depth|I" "depth-increment"
                OptItem "Decrease List Depth|D" "depth-decrement"
+               EnvironmentSeparators
                OptItem "Dissolve Inset" "inset-dissolve"
                OptItem "TeX Code Settings...|C" "inset-settings ert"
 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
@@ -148,16 +154,24 @@ Menuset
        End
 
        Menu "edit_paste"
+               OptItem "Paste from HTML|H" "paste html"
+               OptItem "Paste from LaTeX|L" "paste latex"
+               OptItem "Paste as LinkBack PDF" "paste linkback"
+               OptItem "Paste as PDF" "paste pdf"
+               OptItem "Paste as PNG" "paste png"
+               OptItem "Paste as JPEG" "paste jpeg"
+               OptItem "Paste as EMF" "paste emf"
+               Separator
                Item "Plain Text|T" "clipboard-paste"
                Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
                Separator
                Item "Selection|S" "primary-selection-paste"
                Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
-               Separator
-               Item "Paste as LinkBack PDF" "paste linkback"
-               Item "Paste as PDF" "paste pdf"
-               Item "Paste as PNG" "paste png"
-               Item "Paste as JPEG" "paste jpeg"
+# clipboard-paste-simple is commented because it is irritating (bug 8749)
+# until somebody can explain why it is needed in addition to clipboard-paste
+#              Separator
+#              Item "Unformatted Text|U" "clipboard-paste-simple"
+#              Item "Unformatted, Join Lines|o" "clipboard-paste-simple paragraph"
        End
 
        Menu "edit_pasterecent"
@@ -179,6 +193,7 @@ Menuset
 # not much we can do to help here
        Menu "edit_tabular"
                Item "Multicolumn|M" "inset-modify tabular multicolumn"
+               Item "Multirow|u" "inset-modify tabular multirow"
                Separator
                Item "Top Line|T" "inset-modify tabular toggle-line-top"
                Item "Bottom Line|B" "inset-modify tabular toggle-line-bottom"
@@ -202,11 +217,15 @@ Menuset
                Item "Add Row|A" "inset-modify tabular append-row"
                Item "Delete Row|D" "inset-modify tabular delete-row"
                Item "Copy Row|o" "inset-modify tabular copy-row"
+               Item "Move Row Up" "inset-modify tabular move-row-up"
+               Item "Move Row Down" "inset-modify tabular move-row-down"
                # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
                Separator
                Item "Add Column|u" "inset-modify tabular append-column"
                Item "Delete Column|e" "inset-modify tabular delete-column"
                Item "Copy Column|p" "inset-modify tabular copy-column"
+               Item "Move Column Right|v" "inset-modify tabular move-column-right"
+               Item "Move Column Left" "inset-modify tabular move-column-left"
                # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
        End
 
@@ -239,8 +258,8 @@ Menuset
                Item "Append Argument" "math-macro-add-param"
                Item "Remove Last Argument" "math-macro-remove-param"
                Separator
-               Item "Make First Non-Optional into Optional Argument" "math-macro-make-optional"
-               Item "Make Last Optional into Non-Optional Argument" "math-macro-make-nonoptional"
+               Item "Transform First Non-Optional to Optional Argument" "math-macro-make-optional"
+               Item "Transform Last Optional to Non-Optional Argument" "math-macro-make-nonoptional"
                Item "Insert Optional Argument" "math-macro-add-optional-param"
                Item "Remove Optional Argument" "math-macro-remove-optional-param"
                Separator
@@ -259,6 +278,7 @@ Menuset
                Item "Math Normal Font|N" "math-font-style mathnormal"
                Separator
                Item "Math Calligraphic Family|C" "math-font-style mathcal"
+               Item "Math Formal Script Family|o" "math-font-style mathscr"
                Item "Math Fraktur Family|F" "math-font-style mathfrak"
                Item "Math Roman Family|R" "math-font-style mathrm"
                Item "Math Sans Serif Family|S" "math-font-style mathsf"
@@ -313,18 +333,15 @@ Menuset
                Item "Unfold Math Macro|n" "math-macro-unfold"
                Item "Fold Math Macro|d" "math-macro-fold"
                Separator
-               Item "View Messages|g" "dialog-toggle progress"
-               Item "View Source|S" "dialog-toggle view-source"
-               ViewFormats
-               UpdateFormats
-               OptItem "View Master Document|M" "master-buffer-view"
-               OptItem "Update Master Document|a" "master-buffer-update"
+               Item "Outline Pane|u" "dialog-toggle toc"
+               Item "Source Pane|S" "dialog-toggle view-source"
+               Item "Messages Pane|g" "dialog-toggle progress"
+               Submenu "Toolbars|b" "toolbars"
                Separator
-               Item "Split View Into Left and Right Half|i" "split-view horizontal"
-               Item "Split View Into Upper and Lower Half|e" "split-view vertical"
-               Item "Close Current View|w" "close-tab-group"
+               Item "Split View Into Left and Right Half|i" "view-split horizontal"
+               Item "Split View Into Upper and Lower Half|e" "view-split vertical"
+               OptItem "Close Current View|w" "tab-group-close"
                Item "Fullscreen|l" "ui-toggle fullscreen"      
-               Submenu "Toolbars|b" "toolbars"
                Separator
                Documents
        End
@@ -348,12 +365,13 @@ Menuset
                Submenu "Branch|B" "insert_branches"
                Submenu "Custom Insets" "insert_custom"
                Submenu "File|e" "insert_file"
-               Item "Box[[Menu]]" "box-insert Frameless"
+               Submenu "Box[[Menu]]" "insert_box"
+               OptSubmenu "Insert Regular Expression" "context-edit-regexp"
                Separator
                Item "Citation...|C" "dialog-show-new-inset citation"
                Item "Cross-Reference...|R" "dialog-show-new-inset ref"
                Item "Label...|L" "label-insert"
-               Item "Caption" "caption-insert"
+               Captions
                Indices
                Item "Nomenclature Entry...|y" "nomencl-insert"
                Separator
@@ -363,7 +381,7 @@ Menuset
                Item "Hyperlink...|k" "href-insert"
                Item "Footnote|F" "footnote-insert"
                Item "Marginal Note|M" "marginalnote-insert"
-               Item "Short Title|S" "argument-insert"
+               Arguments
                Item "TeX Code|X" "ert-insert"
                Item "Program Listing[[Menu]]" "listing-insert"
                Item "Date" "date-insert"
@@ -378,21 +396,22 @@ Menuset
                Item "Single Quote|S" "quote-insert single"
                Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
                Item "Breakable Slash|a" "specialchar-insert slash"
+               Item "Visible Space|V" "space-insert visible"
                Item "Menu Separator|M" "specialchar-insert menu-separator"
-               Item "Phonetic Symbols|P" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
+               Item "Phonetic Symbols|P" "ipa-insert"
        End
 
        Menu "insert_formatting"
-               Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;"
-               Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;"
+               Item "Superscript|S" "script-insert superscript"
+               Item "Subscript|u" "script-insert subscript"
                Separator
                Item "Protected Space|P" "space-insert protected"
                Item "Interword Space|w" "space-insert normal"
                Item "Thin Space|T" "space-insert thin"
-               Item "Horizontal Space...|o" "dialog-show-new-inset space"
-               Item "Horizontal Line|L" "line-insert"
+               Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
+               Item "Horizontal Line...|L" "dialog-show-new-inset line"
                Item "Vertical Space...|V" "dialog-show-new-inset vspace"
-               Submenu "Phantom" "insert_phantom"
+               Submenu "Phantom|m" "insert_phantom"
                Separator
                Item "Hyphenation Point|H" "specialchar-insert hyphenation"
                Item "Ligature Break|k" "specialchar-insert ligature-break"
@@ -406,9 +425,10 @@ Menuset
        End
 
        Menu "insert_math"
-               Item "Inline Formula|I" "math-mode"
-               Item "Display Formula|D" "math-display"
-               Item "Numbered Formula|N" "command-sequence math-display; math-number-toggle;"
+# Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
+               Item "Inline Formula|I" "math-mode on"
+               Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
+               Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
                Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
                Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
                Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
@@ -416,12 +436,13 @@ Menuset
                Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
                Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
                Separator
+# "math-matrix" and "math-insert" create an inline formula first if called from text mode
                Item "Array Environment|y" "math-matrix 2 2"
-               Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"
-               Item "Aligned Environment|l" "command-sequence math-mode on; math-insert \aligned; inset-modify tabular append-column"
-               Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; inset-modify tabular append-column"
-               Item "Gathered Environment|h" "command-sequence math-mode on; math-insert \gathered"
-               Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; inset-modify tabular append-column"
+               Item "Cases Environment|C" "math-insert \cases"
+               Item "Aligned Environment|l" "command-sequence math-insert \aligned; inset-modify tabular append-column"
+               Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; inset-modify tabular append-column"
+               Item "Gathered Environment|h" "math-insert \gathered"
+               Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular append-column"
                Separator
                Item "Delimiters...|r" "dialog-show mathdelimiter"
                Item "Matrix...|x" "dialog-show mathmatrix"
@@ -436,9 +457,10 @@ Menuset
        End
 
        Menu "insert_toc"
-               Item "Table of Contents|C" "toc-insert"
+               Item "Table of Contents|C" "inset-insert toc"
                FloatListInsert
                IndicesLists
+               Item "List of Listings|L" "inset-insert toc CommandInset toc LatexCommand lstlistoflistings \end_inset"
                Item "Nomenclature|N" "nomencl-print"
                Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
        End
@@ -452,6 +474,16 @@ Menuset
                Item "Child Document...|d" "dialog-show-new-inset include"
        End
 
+       Menu "insert_box"
+               Item "Frameless|l" "box-insert Frameless"
+               Item "Simple Frame|F" "box-insert Boxed"
+               Item "Oval, Thin|a" "box-insert ovalbox"
+               Item "Oval, Thick|v" "box-insert Ovalbox"
+               Item "Drop Shadow|w" "box-insert Shadowbox"
+               Item "Shaded Background|B" "box-insert Shaded"
+               Item "Double Frame|u" "box-insert Doublebox"
+       End
+
        Menu "insert_note"
                Item "LyX Note|N" "note-insert Note"
                Item "Comment|C" "note-insert Comment"
@@ -465,9 +497,9 @@ Menuset
        End
        
        Menu "insert_phantom"
-               Item "Phantom" "phantom-insert Phantom"
-               Item "Horizontal Phantom" "phantom-insert HPhantom"
-               Item "Vertical Phantom" "phantom-insert VPhantom"
+               Item "Phantom|P" "phantom-insert Phantom"
+               Item "Horizontal Phantom|H" "phantom-insert HPhantom"
+               Item "Vertical Phantom|V" "phantom-insert VPhantom"
        End
 
        Menu "insert_custom"
@@ -482,10 +514,13 @@ Menuset
                Submenu "Change Tracking|C" "document_change"
                OptItem "Build Program|B" "build-program"
                Item "LaTeX Log|L" "dialog-show latexlog"
-               Item "Outline|O" "dialog-toggle toc"
                Item "Start Appendix Here|A" "appendix"
                Separator
-               Item "Save in Bundled Format|F" "buffer-toggle-embedding"
+               ViewFormats
+               UpdateFormats
+               OptItem "View Master Document|M" "master-buffer-view"
+               OptItem "Update Master Document|a" "master-buffer-update"
+               Separator
                Item "Compressed|m" "buffer-toggle-compression"
                Item "Settings...|S" "dialog-show document"
        End
@@ -509,7 +544,7 @@ Menuset
                Item "Next Change|C" "change-next"
                Item "Next Cross-Reference|R" "reference-next"
                OptItem "Go to Label|L" "label-goto"
-               Item "Forward search|F" "forward-search"
+               Item "Forward Search|F" "forward-search"
                Separator
                Toc
        End
@@ -565,10 +600,16 @@ Menuset
        End
 
        Menu "examples"
-               Item "Linguistics Manual|L" "help-open linguistics"
-               Item "Braille Manual|B" "help-open Braille"
-               Item "XY-pic Manual|X" "help-open xypic"
-               Item "Multicolumn Manual|M" "help-open multicol"
+               Item "Beamer Presentations|B" "help-open beamer"
+               Item "Braille|a" "help-open Braille"
+               Item "Feynman-diagram|F" "help-open FeynmanDiagrams"
+               Item "Knitr|K" "help-open knitr"
+               Item "LilyPond|P" "help-open lilypond"
+               Item "Linguistics|L" "help-open linguistics"
+               Item "Multilingual Captions|C" "help-open MultilingualCaptions"
+               Item "Risk and Safety Statements|R" "help-open R-S-statements"
+               Item "Sweave|S" "help-open sweave"
+               Item "XY-pic|X" "help-open xypic"
        End