]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdcontext.inc
Context menu of equations:
[lyx.git] / lib / ui / stdcontext.inc
index 41540037b50fbbcf83c966ffff6da3e983f69b90..4b5bc7ca6b55418a8fd6b3c24cb5393d83e165cb 100644 (file)
@@ -43,8 +43,10 @@ Menuset
                Item "Eqnarray Environment|E" "math-mutate eqnarray"
                Submenu "AMS Environment|A" "ams_environment"
                Separator               
+               OptItem "Number whole Formula|N" "math-number-toggle"\r
+               OptItem "Number this Line|u" "math-number-line-toggle"
                OptItem "Equation Label|L" "label-insert"
-               OptItem "Toggle Labeling/Numbering|T" "math-number-toggle"
+               OptItem "Copy as Reference|R" "copy-label-as-reference"
                Separator
                Item "Split Cell|C" "cell-split"
                Separator
@@ -60,9 +62,9 @@ Menuset
                OptItem "Delete Line to Left" "tabular-feature delete-vline-left"
                OptItem "Delete Line to Right" "tabular-feature delete-vline-right"
                Separator
-               Item "Toggle Math Toolbar" "toolbar-toggle math toggle"
-               Item "Toggle Math-Panels Toolbar" "toolbar-toggle math_panels toggle"
-               Item "Toggle Table Toolbar" "toolbar-toggle table toggle"
+               Item "Show Math Toolbar" "toolbar-toggle math toggle"
+               Item "Show Math-Panels Toolbar" "toolbar-toggle math_panels toggle"
+               Item "Show Table Toolbar" "toolbar-toggle table toggle"
        End
 
 
@@ -80,7 +82,7 @@ Menuset
                Item "<reference> on page <page>|f" "next-inset-modify changetype vref"
                Item "Formatted reference|t" "next-inset-modify changetype prettyref"
                Separator
-               Item "Settings...|S" "inset-toggle"
+               Item "Settings...|S" "inset-settings"
        End
 
 #
@@ -92,7 +94,7 @@ Menuset
                Separator
                Item "Copy as Reference|C" "copy-label-as-reference"
                Separator
-               Item "Settings...|S" "inset-toggle"
+               Item "Settings...|S" "inset-settings"
        End
 
 
@@ -102,7 +104,7 @@ Menuset
        Menu "context-citation"
                CiteStyles
                Separator
-               Item "Settings...|S" "inset-toggle"
+               Item "Settings...|S" "inset-settings"
        End
 
 
@@ -110,7 +112,7 @@ Menuset
 # InsetBibtex context menu
 #
        Menu "context-bibtex"
-               Item "Settings...|S" "inset-toggle"
+               Item "Settings...|S" "inset-settings"
                Separator
                Item "Edit Database(s) externally...|x" "inset-edit"
        End
@@ -202,9 +204,9 @@ Menuset
                Item "Horizontal Fill (Right Arrow)|g" "next-inset-modify space \rightarrowfill{}"
                Item "Horizontal Fill (Up Brace)|p" "next-inset-modify space \upbracefill{}"
                Item "Horizontal Fill (Down Brace)|B" "next-inset-modify space \downbracefill{}"
-               Item "Custom Length|C" "command-sequence next-inset-modify space \hspace{} \length 1in; inset-toggle"
+               Item "Custom Length|C" "command-sequence next-inset-modify space \hspace{} \length 1in; inset-settings"
                Separator
-               Item "Settings...|S" "inset-toggle"
+               Item "Settings...|S" "inset-settings"
        End
 
 #
@@ -220,9 +222,9 @@ Menuset
                Item "Half Quad Space (Enskip)|k" "next-inset-modify mathspace \enskip{}"
                Item "Quad Space|Q" "next-inset-modify mathspace \quad{}"
                Item "Double Quad Space|u" "next-inset-modify mathspace \qquad{}"
-               Item "Custom Length|C" "command-sequence next-inset-modify mathspace \hspace{} \length 1in; inset-toggle"
+               Item "Custom Length|C" "command-sequence next-inset-modify mathspace \hspace{} \length 1in; inset-settings"
                Separator
-               Item "Settings...|S" "inset-toggle"
+               Item "Settings...|S" "inset-settings"
        End
 
 #
@@ -234,9 +236,9 @@ Menuset
                Item "MedSkip|M" "next-inset-modify vspace medskip"
                Item "BigSkip|B" "next-inset-modify vspace bigskip"
                Item "VFill|F" "next-inset-modify vspace vfill"
-               Item "Custom|C" "command-sequence next-inset-modify vspace 1in; inset-toggle"
+               Item "Custom|C" "command-sequence next-inset-modify vspace 1in; inset-settings"
                Separator
-               Item "Settings...|e" "inset-toggle"
+               Item "Settings...|e" "inset-settings"
        End
 
 #
@@ -249,7 +251,7 @@ Menuset
                Item "Verbatim (marked blanks)|b" "next-inset-modify changetype verbatiminput*"
                Item "Listing|L" "next-inset-modify changetype lstinputlisting"
                Separator
-               Item "Settings...|S" "inset-toggle"
+               Item "Settings...|S" "inset-settings"
                Separator
                Item "Edit included file...|E" "inset-edit"
        End
@@ -279,6 +281,7 @@ Menuset
                Item "Cut" "cut"
                Item "Copy" "copy"
                Item "Paste" "paste"
+               spellingsuggestions
                Submenu "Paste Recent|e" "edit_pasterecent"
                Separator
                Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
@@ -292,6 +295,9 @@ Menuset
                OptItem "Move Section up|u" "outline-up"
                OptItem "Insert Short Title|T" "optional-insert"
                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"
                Item "Paragraph Settings...|P" "layout-paragraph"
@@ -339,7 +345,7 @@ Menuset
 #
 
        Menu "context-graphics"
-               Item "Settings...|S" "inset-toggle"
+               Item "Settings...|S" "inset-settings"
                Separator
                Item "Edit externally...|x" "inset-edit"
                Separator
@@ -351,7 +357,7 @@ Menuset
 #
 
        Menu "context-external"
-               Item "Settings...|S" "inset-toggle"
+               Item "Settings...|S" "inset-settings"
                Separator
                Item "Edit externally...|x" "inset-edit"
        End
@@ -418,8 +424,137 @@ Menuset
 #
 
        Menu "context-toc-label"
-               Item "Copy Label as Reference|C" "copy-label-as-reference"
-               Item "Insert Reference at Cursor Position|I" "insert-label-as-reference"
+               OptItem "Copy as Reference|C" "copy-label-as-reference"
+               OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference"
+               Separator
+               Item "Settings...|S" "inset-settings"
+       End
+
+#
+# Toc Branches context menu
+#
+
+       Menu "context-toc-branch"
+               OptItem "Activate Branch|A" "branch-activate"
+               OptItem "Deactivate Branch|e" "branch-deactivate"
+               Separator
+               Item "Settings...|S" "inset-settings"
+       End
+
+#
+# Toc Graphics context menu
+#
+
+       Menu "context-toc-graphics"
+               Item "Settings...|S" "inset-settings"
+               Separator
+               Item "Edit externally...|x" "inset-edit"
+       End
+
+#
+# Toc Citation context menu
+#
+
+       Menu "context-toc-citation"
+               Item "Settings...|S" "inset-settings"
+       End
+
+#
+# Toc Figures context menu
+#
+
+       Menu "context-toc-figure"
+               Item "Settings...|S" "inset-settings"
+       End
+
+#
+# Toc Listings context menu
+#
+
+       Menu "context-toc-listing"
+               Item "Settings...|S" "inset-settings"
+       End
+
+#
+# Toc Tables context menu
+#
+
+       Menu "context-toc-table"
+               Item "Settings...|S" "inset-settings"
+       End
+
+#
+# Toc Childs context menu
+#
+       Menu "context-toc-child"
+               Item "Include|c" "inset-modify changetype include"
+               Item "Input|p" "inset-modify changetype input"
+               Item "Verbatim|V" "inset-modify changetype verbatiminput"
+               Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
+               Item "Listing|L" "inset-modify changetype lstinputlisting"
+               Separator
+               Item "Settings...|S" "inset-settings"
+               Separator
+               Item "Edit included file...|E" "inset-edit"
+       End
+
+#
+# Toc Indices context menu
+#
+
+       Menu "context-toc-index"
+               OptItem "Settings...|S" "inset-settings"
+       End
+
+#
+# Index context menu
+#
+
+       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
+
+#
+# Index Lists context menu
+#
+
+       Menu "context-indexprint"
+               Item "All Indexes|A" "next-inset-modify check-printindex*"
+               IndicesListsContext
+               Separator
+               Item "Subindex|b" "next-inset-modify toggle-subindex"
+               Separator
+               OptItem "Settings...|S" "inset-settings"
        End
 
+
+#
+# Toc Changes context menu
+#
+
+       Menu "context-toc-change"
+               Item "Accept Change|C" "change-accept"
+               Item "Reject Change|R" "change-reject"
+       End     
+       
+#
+# Toc Table of Context context menu
+#
+
+       Menu "context-toc-tableofcontents"
+               Item "Promote Section|P" "outline-out"
+               Item "Demote Section|D" "outline-in"
+               Item "Move Section Up|U" "outline-up"
+               Item "Move Section Down|w" "outline-down"
+               Separator
+               Item "Select Section|S" "section-select"
+       End     
+
 End