]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdcontext.inc
Document smallmatrix (with change tracking)
[lyx.git] / lib / ui / stdcontext.inc
index bfafa9fe4ee43df74cab30e765bde0071b2d0f5a..58d2d40f9419ad40372f04471e9896dc819a6373 100644 (file)
@@ -9,7 +9,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: 
@@ -19,6 +19,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 5
+
 Menuset
 
 #
@@ -26,11 +28,11 @@ Menuset
 #
        Menu "insert_math_context"
                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; tabular-feature append-column"
+               Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
+               Item "Gathered Environment|h" "math-insert \gathered"
+               Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
                Separator
                Item "Delimiters...|r" "dialog-show mathdelimiter"
                Item "Matrix...|x" "dialog-show mathmatrix"
@@ -54,21 +56,23 @@ Menuset
                OptItem "Number Whole Formula|N" "math-number-toggle"
                OptItem "Number This Line|u" "math-number-line-toggle"
                OptItem "Equation Label|L" "label-insert"
-               OptItem "Copy as Reference|R" "copy-label-as-reference"
+               OptItem "Copy as Reference|R" "label-copy-as-reference"
                Separator
                Item "Split Cell|C" "cell-split"
                Separator
                Submenu "Insert|s" "insert_math_context"
                Separator
-               OptItem "Add Line Above|o" "inset-modify tabular add-hline-above"
-               OptItem "Add Line Below|B" "inset-modify tabular add-hline-below"
-               OptItem "Delete Line Above|v" "inset-modify tabular delete-hline-above"
-               OptItem "Delete Line Below|w" "inset-modify tabular delete-hline-below"
+               OptSubmenu "Rows & Columns| " "edit_tabular_features"
+               Separator
+               OptItem "Add Line Above|o" "tabular-feature add-hline-above"
+               OptItem "Add Line Below|B" "tabular-feature add-hline-below"
+               OptItem "Delete Line Above|v" "tabular-feature delete-hline-above"
+               OptItem "Delete Line Below|w" "tabular-feature delete-hline-below"
                Separator
-               OptItem "Add Line to Left" "inset-modify tabular add-vline-left"
-               OptItem "Add Line to Right" "inset-modify tabular add-vline-right"
-               OptItem "Delete Line to Left" "inset-modify tabular delete-vline-left"
-               OptItem "Delete Line to Right" "inset-modify tabular delete-vline-right"
+               OptItem "Add Line to Left" "tabular-feature add-vline-left"
+               OptItem "Add Line to Right" "tabular-feature add-vline-right"
+               OptItem "Delete Line to Left" "tabular-feature delete-vline-left"
+               OptItem "Delete Line to Right" "tabular-feature delete-vline-right"
                Separator
                Item "Show Math Toolbar" "toolbar-toggle math toggle"
                Item "Show Math-Panels Toolbar" "toolbar-toggle math_panels toggle"
@@ -90,7 +94,13 @@ Menuset
                Item "<Page>|P" "inset-modify changetype pageref"
                Item "On Page <Page>|O" "inset-modify changetype vpageref"
                Item "<Reference> on Page <Page>|f" "inset-modify changetype vref"
-               Item "Formatted Reference|t" "inset-modify changetype prettyref"
+               Item "Formatted Reference|t" "inset-modify changetype formatted"
+               Item "Textual Reference|x" "inset-modify changetype nameref"
+               Item "Label Only|L" "inset-modify changetype labelonly"
+               Separator
+               OptItem "Plural|a" "inset-modify ref toggle-plural"
+               OptItem "Capitalize|C" "inset-modify ref toggle-caps"
+               Item "No Prefix" "inset-modify ref toggle-noprefix"
                Separator
                Item "Settings...|S" "inset-settings"
        End
@@ -102,7 +112,7 @@ Menuset
                Item "Next Cross-Reference|N" "reference-next"
                Item "Go Back|G" "bookmark-goto 0"
                Separator
-               Item "Copy as Reference|C" "copy-label-as-reference"
+               Item "Copy as Reference|C" "label-copy-as-reference"
                Separator
                Item "Settings...|S" "inset-settings"
        End
@@ -127,11 +137,17 @@ Menuset
                Item "Edit Database(s) Externally...|x" "inset-edit"
        End
 
+#
+# InsetBibItem context menu
+#
+       Menu "context-bibitem"
+               Item "Settings...|S" "inset-settings"
+       End
 
 #
-# InsetCollapsable context menu
+# InsetCollapsible context menu
 #
-       Menu "context-collapsable"
+       Menu "context-collapsible"
                OptItem "Open Inset|O" "inset-toggle open"
                OptItem "Close Inset|C" "inset-toggle close"
                Separator
@@ -146,6 +162,22 @@ Menuset
                OptItem "Settings...|S" "inset-settings"
        End
 
+#
+# InsetArgument context menu
+#
+
+       Menu "context-argument"
+               Separator
+               SwitchArguments
+       End
+
+       Menu "context-argument-conglomerate"
+               Item "Show Label|L" "inset-toggle"
+               Item "Dissolve Inset|D" "inset-dissolve"
+               Separator
+               SwitchArguments
+       End
+
 #
 # InsetBox context menu
 #
@@ -159,14 +191,17 @@ Menuset
                Item "Drop Shadow|w" "inset-modify changetype Shadowbox"
                Item "Shaded Background|B" "inset-modify changetype Shaded"
                Item "Double Frame|u" "inset-modify changetype Doublebox"
-               Separator
-               OptItem "Open Inset|O" "inset-toggle open"
-               OptItem "Close Inset|C" "inset-toggle close"
-               Separator
-               Item "Dissolve Inset|D" "inset-dissolve"
-               Item "Settings...|S" "inset-settings box"
        End
 
+
+#
+# InsetCaption context menu
+#
+       Menu "context-caption"
+               SwitchCaptions
+       End
+
+
 #
 # InsetNote context menu
 #
@@ -176,13 +211,8 @@ Menuset
                Item "Comment|m" "inset-modify note Note Comment"
                Item "Greyed Out|G" "inset-modify note Note Greyedout"
                Separator
-               OptItem "Open Inset|O" "inset-toggle open"
-               OptItem "Close Inset|C" "inset-toggle close"
-               Separator
                Item "Open All Notes|A" "inset-forall Note inset-toggle open"
                Item "Close All Notes|l" "inset-forall Note inset-toggle close"
-               Separator
-               Item "Dissolve Inset|D" "inset-dissolve"
        End
 
 #
@@ -190,11 +220,17 @@ Menuset
 #
 
        Menu "context-phantom"
-               Item "Phantom" "inset-modify phantom Phantom Phantom"
-               Item "Horiz. Phantom" "inset-modify phantom Phantom HPhantom"
-               Item "Vert. Phantom" "inset-modify phantom Phantom VPhantom"
-               Separator
-               Item "Dissolve Inset|D" "inset-dissolve"
+               Item "Phantom|P" "inset-modify phantom Phantom Phantom"
+               Item "Horizontal Phantom|H" "inset-modify phantom Phantom HPhantom"
+               Item "Vertical Phantom|V" "inset-modify phantom Phantom VPhantom"
+       End
+
+
+#
+# InsetQuotes context menu
+#
+       Menu "context-quote"
+               SwitchQuotes
        End
 
 #
@@ -203,6 +239,7 @@ Menuset
        Menu "context-space"
                Item "Interword Space|w" "inset-modify space \space{}"
                Item "Protected Space|o" "inset-modify space ~"
+               Item "Visible Space|a" "inset-modify space \textvisiblespace{}"
                Item "Thin Space|T" "inset-modify space \thinspace{}"
                Item "Negative Thin Space|N" "inset-modify space \negthinspace{}"
                Item "Half Quad Space (Enskip)|k" "inset-modify space \enskip{}"
@@ -217,7 +254,7 @@ Menuset
                Item "Horizontal Fill (Right Arrow)|g" "inset-modify space \rightarrowfill{}"
                Item "Horizontal Fill (Up Brace)|p" "inset-modify space \upbracefill{}"
                Item "Horizontal Fill (Down Brace)|B" "inset-modify space \downbracefill{}"
-               Item "Custom Length|C" "command-sequence inset-modify space \hspace{} \length 1in; inset-settings"
+               Item "Custom Length|C" "command-sequence inset-modify space \hspace{}; inset-settings"
                Separator
                Item "Settings...|S" "inset-settings"
        End
@@ -249,7 +286,7 @@ Menuset
                Item "MedSkip|M" "inset-modify vspace medskip"
                Item "BigSkip|B" "inset-modify vspace bigskip"
                Item "VFill|F" "inset-modify vspace vfill"
-               Item "Custom|C" "command-sequence inset-modify vspace 1in; inset-settings"
+               Item "Custom|C" "command-sequence inset-modify vspace custom; inset-settings"
                Separator
                Item "Settings...|e" "inset-settings"
        End
@@ -287,39 +324,54 @@ Menuset
                Item "Justified Line Break|J" "inset-modify newline linebreak"
        End
 
+#
+# InsetNewline context menu
+#
+       Menu "context-separator"
+               Item "Plain Separator|P" "inset-modify separator plain"
+               Item "Paragraph Break|B" "inset-modify separator parbreak"
+       End
+
 #
 # Edit context menu
 #
        Menu "context-edit"
                spellingsuggestions
                Separator
+               OptItem "Edit Externally..." "inset-edit"
+               OptItem "End Editing Externally..." "inset-end-edit"
+               Separator
                Item "Cut" "cut"
                Item "Copy" "copy"
                Item "Paste" "paste"
                Submenu "Paste Recent|e" "edit_pasterecent"
                Separator
                Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
-               OptItem "Forward search|F" "forward-search"
+               OptItem "Forward Search|F" "forward-search"
                Separator
                Item "Move Paragraph Up|o" "paragraph-move-up"
                Item "Move Paragraph Down|v" "paragraph-move-down"
                Separator
+               EnvironmentSeparatorsContext
+               Separator
                OptItem "Promote Section|r" "outline-out"
                OptItem "Demote Section|m" "outline-in"
                OptItem "Move Section Down|D" "outline-down"
                OptItem "Move Section Up|U" "outline-up"
-               OptItem "Insert Short Title|T" "argument-insert"
-               OptSubMenu "Insert Regular Expression..." "context-edit-regexp"
+               Arguments
+               OptSubmenu "Insert Regular Expression" "context-edit-regexp"
                Separator
                OptItem "Accept Change|c" "change-accept"
                OptItem "Reject Change|j" "change-reject"
                Separator
-               Item "Apply Last Text Style|A" "textstyle-apply"
-               Submenu "Text Style|S" "edit_textstyles"
+               Submenu "Text Properties|x" "edit_textprops"
+               OptSubmenu "Custom Text Styles|S" "edit_textstyles"
                Item "Paragraph Settings...|P" "layout-paragraph"
+               OptItem "Unify Graphics Groups|U" "graphics-unify"
                LanguageSelector
                Separator
                Item "Fullscreen Mode" "ui-toggle fullscreen"
+               OptItem "Close Current View" "tab-group-close"
        End
 
 
@@ -353,23 +405,6 @@ Menuset
                Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
        End
 
-#
-# InsetListing context menu
-#
-
-       Menu "context-listings"
-               Item "Cut" "cut"
-               Item "Copy" "copy"
-               Item "Paste" "paste"
-               Submenu "Paste Recent|e" "edit_pasterecent"
-               Separator
-               OptItem "Open Inset|O" "inset-toggle open"
-               OptItem "Close Inset|C" "inset-toggle close"
-               Separator
-               Item "Dissolve Inset|D" "inset-dissolve"
-               Item "Settings...|S" "inset-settings listings"
-       End
-
 #
 # InsetGraphics context menu
 #
@@ -397,62 +432,61 @@ Menuset
 # InsetTabular context menu
 #
 
-       Menu "context-tabular"
-               Item "Multicolumn|M" "inset-modify tabular multicolumn"
-               Item "Multirow|i" "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"
-               Item "Left Line|L" "inset-modify tabular toggle-line-left"
-               Item "Right Line|R" "inset-modify tabular toggle-line-right"
-               Separator
-               Item "Left|f" "inset-modify tabular align-left"
-               Item "Center|C" "inset-modify tabular align-center"
-               Item "Right|h" "inset-modify tabular align-right"
-               Separator
-               Item "Top|T" "inset-modify tabular valign-top"
-               Item "Middle|d" "inset-modify tabular valign-middle"
-               Item "Bottom|B" "inset-modify tabular valign-bottom"
+       Menu "table-borders"
+               Item "Top|T" "tabular-feature toggle-line-top"
+               Item "Bottom|B" "tabular-feature toggle-line-bottom"
+               Item "Left|L" "tabular-feature toggle-line-left"
+               Item "Right|R" "tabular-feature toggle-line-right"
+               OptItem "Reset Formal Defaults|F" "tabular-feature reset-formal-default"
+       End
+
+       Menu "table-alignment"
+               Item "Left|f" "command-alternatives tabular-feature m-align-left;tabular-feature align-left"
+               Item "Center|C" "command-alternatives tabular-feature m-align-center;tabular-feature align-center"
+               Item "Right|h" "command-alternatives tabular-feature m-align-right;tabular-feature align-right"
+               Item "Decimal" "tabular-feature align-decimal"
                Separator
-               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 "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
+               Item "Top" "tabular-feature valign-top"
+               Item "Middle" "tabular-feature valign-middle"
+               Item "Bottom" "tabular-feature valign-bottom"
+       End
+
+       Menu "table-cols-rows"
+               Item "Multicolumn|u" "tabular-feature multicolumn"
+               Item "Multirow|w" "tabular-feature multirow"
                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 "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
+               Item "Append Row|A" "tabular-feature append-row"
+               Item "Delete Row|D" "tabular-feature delete-row"
+               Item "Copy Row|o" "tabular-feature copy-row"
+               Item "Move Row Up" "tabular-feature move-row-up"
+               Item "Move Row Down" "tabular-feature move-row-down"
                Separator
-               Item "Settings...|g" "inset-settings tabular"
+               Item "Append Column|p" "tabular-feature append-column"
+               Item "Delete Column|e" "tabular-feature delete-column"
+               Item "Copy Column|y" "tabular-feature copy-column"
+               Item "Move Column Right|v" "tabular-feature move-column-right"
+               Item "Move Column Left" "tabular-feature move-column-left"
        End
 
-#
-# InsetInfo context menu
-#
-
-       Menu "buffer-info"
-               Item "File|F" "inset-modify buffer name"
-               Item "Path|P" "inset-modify buffer path"
-               Item "Class|C" "inset-modify buffer class"
+       Menu "context-tabular"
+               Item "Multi-page Table|g" "tabular-feature toggle-longtabular"
+               Item "Formal Style|m" "tabular-feature toggle-booktabs"
                Separator
-               Item "File Revision|R" "inset-modify buffer vcs-revision"
-               Item "Tree Revision|T" "inset-modify buffer vcs-tree-revision"
-               Item "Revision Author|A" "inset-modify buffer vcs-author"
-               Item "Revision Date|D" "inset-modify buffer vcs-date"
-               Item "Revision Time|i" "inset-modify buffer vcs-time"
+               Submenu "Borders|d" "table-borders"
+               Submenu "Alignment|i" "table-alignment"
+               Submenu "Columns/Rows|C" "table-cols-rows"
                Separator
-               Item "LyX Version|X" "inset-modify lyxinfo version"
+               Item "Settings...|S" "inset-settings tabular"
        End
 
-
 #
 # InsetInfo context menu
 #
 
        Menu "context-info"
-               Submenu "Document Info|D" "buffer-info"
+               InfoArguments
                Separator
+               Item "Transform Field to Static Text|T" "inset-dissolve"
                Item "Copy Text|o" "inset-copy-as"
                Item "Settings...|S" "inset-settings info"
        End
@@ -462,14 +496,12 @@ Menuset
 #
 
        Menu "context-branch"
-               OptItem "Open Inset|O" "inset-toggle open"
-               OptItem "Close Inset|C" "inset-toggle close"
-               Separator
                OptItem "Activate Branch|A" "branch-activate"
                OptItem "Deactivate Branch|e" "branch-deactivate"
-               Separator
-               Item "Dissolve Inset|D" "inset-dissolve"
-               OptItem "Settings...|S" "inset-settings"
+               OptItem "Activate Branch in Master|M" "branch-master-activate"
+               OptItem "Deactivate Branch in Master|v" "branch-master-deactivate"
+               OptItem "Invert Inset|I" "branch-invert"
+               OptItem "Add Unknown Branch|w" "branch-add"
        End
 
 #
@@ -477,7 +509,7 @@ Menuset
 #
 
        Menu "context-toc-label"
-               OptItem "Copy as Reference|C" "copy-label-as-reference"
+               OptItem "Copy as Reference|C" "label-copy-as-reference"
                OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference"
                Separator
                Item "Settings...|S" "inset-settings"
@@ -565,13 +597,6 @@ Menuset
 
        Menu "context-index"
                IndicesContext
-               Separator
-               OptItem "Open Inset|O" "inset-toggle open"
-               OptItem "Close Inset|C" "inset-toggle close"
-               Separator
-               Item "Dissolve Inset|D" "inset-dissolve"
-               Separator
-               OptItem "Settings...|S" "inset-settings"
        End
 
 #
@@ -630,13 +655,30 @@ Menuset
 # InsetERT context menu
 #
        Menu "context-ert"
-               OptItem "Open Inset|O" "inset-toggle open"
-               OptItem "Close Inset|C" "inset-toggle close"
+               # repeat 1 is added as a work-around to not indicate this action as toggable
+               Item "Wrap by Preview|y" "command-sequence repeat 1;inset-toggle;char-forward;char-backward;char-forward-select;preview-insert;char-backward;char-backward;inset-toggle"
+       End
+
+#
+# InsetHyperlink context menu
+#
+       Menu "context-hyperlink"
+               Item "Settings...|S" "inset-settings"
+       End
+
+#
+# Toolbar context menu
+#
+       Menu "context-toolbars"
+               Toolbars
                Separator
-               Item "Wrap by Preview|P" "command-sequence inset-begin;char-backward;char-forward-select;preview-insert"
+               Item "Lock Toolbars|L" "toolbar-movable *"
                Separator
-               Item "Dissolve Inset|D" "inset-dissolve"
-               OptItem "Settings...|S" "inset-settings"
+               Item "Small-sized Icons" "icon-size small"
+               Item "Normal-sized Icons" "icon-size normal"
+               Item "Big-sized Icons" "icon-size big"
+               Item "Huge-sized Icons" "icon-size huge"
+               Item "Giant-sized Icons" "icon-size giant"
        End
 
 End