]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdcontext.inc
Forgot these.
[lyx.git] / lib / ui / stdcontext.inc
index 42090bd3fc95c04958fc4f2ac2509e48f13004a9..2e97b96a31a0e334cfc662ecfb63cb857ff98f69 100644 (file)
@@ -16,49 +16,50 @@ Menuset
 #
 # InsetMath context menu
 #
-       Menu "insert_math_context"\r
-               Item "Array Environment|y" "math-matrix 2 2"\r
-               Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"\r
-               Item "Aligned Environment|l" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"\r
-               Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"\r
-               Item "Gathered Environment|h" "command-sequence math-mode on; math-insert \gathered"\r
-               Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"\r
-               Separator\r
-               Item "Delimiters|r" "dialog-show mathdelimiter"\r
-               Item "Matrix|x" "dialog-show mathmatrix"\r
-               Item "Macro|o" "math-macro newmacroname newcommand"\r
-       End\r
-
-       Menu "ams_environment"\r
-               Item "AMS align Environment|a" "math-mutate align"\r
-               Item "AMS alignat Environment|t" "math-mutate alignat"\r
-               Item "AMS flalign Environment|f" "math-mutate flalign"\r
-               Item "AMS gather Environment|g" "math-mutate gather"\r
-               Item "AMS multline Environment|m" "math-mutate multline"\r
-       End\r
-       \r
+       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; tabular-feature append-column"
+               Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; tabular-feature 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; tabular-feature append-column"
+               Separator
+               Item "Delimiters...|r" "dialog-show mathdelimiter"
+               Item "Matrix...|x" "dialog-show mathmatrix"
+               Item "Macro|o" "math-macro newmacroname newcommand"
+       End
+
+       Menu "ams_environment"
+               Item "AMS align Environment|a" "math-mutate align"
+               Item "AMS alignat Environment|t" "math-mutate alignat"
+               Item "AMS flalign Environment|f" "math-mutate flalign"
+               Item "AMS gather Environment|g" "math-mutate gather"
+               Item "AMS multline Environment|m" "math-mutate multline"
+       End
+       
        Menu "context-math"
-               Item "Inline Formula|I" "math-mutate simple"\r
-               Item "Displayed Formula|D" "math-mutate equation"\r
-               Item "Eqnarray Environment|E" "math-mutate eqnarray"\r
-               SubMenu "AMS Environment|A" "ams_environment"\r
+               Item "Inline Formula|I" "math-mutate simple"
+               Item "Displayed Formula|D" "math-mutate equation"
+               Item "Eqnarray Environment|E" "math-mutate eqnarray"
+               Submenu "AMS Environment|A" "ams_environment"
                Separator               
                OptItem "Equation Label|L" "label-insert"
                OptItem "Toggle Labeling/Numbering|T" "math-number-toggle"
-               Separator\r
-               Item "Split Cell|C" "cell-split"\r
-               Separator\r
-               Submenu "Insert|n" "insert_math_context"\r
-               Separator\r
-               OptItem "Add Line Above|A" "tabular-feature add-hline-above"\r
-               OptItem "Add Line Below|B" "tabular-feature add-hline-below"\r
-               OptItem "Delete Line Above|D" "tabular-feature delete-hline-above"\r
-               OptItem "Delete Line Below|e" "tabular-feature delete-hline-below"\r
-               Separator\r
-               OptItem "Add Line to Left" "tabular-feature add-vline-left"\r
-               OptItem "Add Line to Right" "tabular-feature add-vline-right"\r
-               OptItem "Delete Line to Left" "tabular-feature delete-vline-left"\r
-               OptItem "Delete Line to Right" "tabular-feature delete-vline-right"\r
+               OptItem "Copy as Reference|R" "copy-label-as-reference"
+               Separator
+               Item "Split Cell|C" "cell-split"
+               Separator
+               Submenu "Insert|n" "insert_math_context"
+               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|D" "tabular-feature delete-hline-above"
+               OptItem "Delete Line Below|e" "tabular-feature delete-hline-below"
+               Separator
+               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 "Toggle Math Toolbar" "toolbar-toggle math toggle"
                Item "Toggle Math-Panels Toolbar" "toolbar-toggle math_panels toggle"
@@ -80,11 +81,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" "next-inset-toggle"
-       End
-
-       Menu "edit_reftype"
-               
+               Item "Settings...|S" "inset-settings"
        End
 
 #
@@ -92,23 +89,47 @@ Menuset
 #
        Menu "context-label"
                Item "Next Cross-Reference|N" "reference-next"
-               Item "Go back to Reference|G" "bookmark-goto 0"
+               Item "Go back|G" "bookmark-goto 0"
                Separator
-               Item "Settings...|S" "next-inset-toggle"
+               Item "Copy as Reference|C" "copy-label-as-reference"
+               Separator
+               Item "Settings...|S" "inset-settings"
        End
 
+
+#
+# InsetCitation context menu
+#
+       Menu "context-citation"
+               CiteStyles
+               Separator
+               Item "Settings...|S" "inset-settings"
+       End
+
+
+#
+# InsetBibtex context menu
+#
+       Menu "context-bibtex"
+               Item "Settings...|S" "inset-settings"
+               Separator
+               Item "Edit Database(s) externally...|x" "inset-edit"
+       End
+
+
 #
 # InsetCollapsable context menu
 #
        Menu "context-collapsable"
-               OptItem "Open Inset|O" "next-inset-toggle open"
-               OptItem "Close Inset|C" "next-inset-toggle close"
+               OptItem "Open Inset|O" "inset-toggle open"
+               OptItem "Close Inset|C" "inset-toggle close"
                Separator
+               Item "Dissolve Inset|D" "inset-dissolve"
                OptItem "Settings...|S" "inset-settings"
        End
 
        Menu "context-conglomerate"
-               Item "Toggle Label|L" "next-inset-toggle"
+               Item "Toggle Label|L" "inset-toggle"
                Item "Dissolve Inset|D" "inset-dissolve charstyle"
                Separator
                OptItem "Settings...|S" "inset-settings"
@@ -122,12 +143,16 @@ Menuset
                Item "Frameless|l" "next-inset-modify changetype Frameless"
                Item "Simple frame|f" "next-inset-modify changetype Boxed"
                Item "Simple frame, page breaks|p" "next-inset-modify changetype Framed"
-               Item "Oval, thin|O" "next-inset-modify changetype ovalbox"
+               Item "Oval, thin|a" "next-inset-modify changetype ovalbox"
                Item "Oval, thick|v" "next-inset-modify changetype Ovalbox"
                Item "Drop Shadow|w" "next-inset-modify changetype Shadowbox"
                Item "Shaded background|b" "next-inset-modify changetype Shaded"
-               Item "Double frame|D" "next-inset-modify changetype Doublebox"
+               Item "Double frame|u" "next-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
 
@@ -137,10 +162,26 @@ Menuset
 
        Menu "context-note"
                Item "LyX Note|N" "next-inset-modify note Note Note"
-               Item "Comment|C" "next-inset-modify note Note Comment"
+               Item "Comment|m" "next-inset-modify note Note Comment"
                Item "Greyed Out|G" "next-inset-modify note Note Greyedout"
+               Separator
+               OptItem "Open Inset|O" "inset-toggle open"
+               OptItem "Close Inset|C" "inset-toggle close"
+               Separator
+               Item "Dissolve Inset|D" "inset-dissolve"
        End
 
+#
+# InsetPhantom context menu
+#
+
+       Menu "context-phantom"
+               Item "Phantom" "next-inset-modify phantom Phantom Phantom"
+               Item "Horiz. Phantom" "next-inset-modify phantom Phantom HPhantom"
+               Item "Vert. Phantom" "next-inset-modify phantom Phantom VPhantom"
+               Separator
+               Item "Dissolve Inset|D" "inset-dissolve"
+       End
 
 #
 # InsetSpace context menu
@@ -149,18 +190,40 @@ Menuset
                Item "Interword Space|w" "next-inset-modify space \space{}"
                Item "Protected Space|o" "next-inset-modify space ~"
                Item "Thin Space|T" "next-inset-modify space \thinspace{}"
-               Item "Quad Space|Q" "next-inset-modify space \quad{}"
-               Item "QQuad Space|u" "next-inset-modify space \qquad{}"
-               Item "Enspace|E" "next-inset-modify space \enspace{}"
-               Item "Enskip|k" "next-inset-modify space \enskip{}"
                Item "Negative Thin Space|N" "next-inset-modify space \negthinspace{}"
+               Item "Half Quad Space (Enskip)|k" "next-inset-modify space \enskip{}"
+               Item "Protected Half Quad Space (Enspace)|E" "next-inset-modify space \enspace{}"
+               Item "Quad Space|Q" "next-inset-modify space \quad{}"
+               Item "Double Quad Space|u" "next-inset-modify space \qquad{}"
                Item "Horizontal Fill|F" "next-inset-modify space \hfill{}"
                Item "Protected Horizontal Fill|i" "next-inset-modify space \hspace*{\fill}"
                Item "Horizontal Fill (Dots)|D" "next-inset-modify space \dotfill{}"
                Item "Horizontal Fill (Rule)|R" "next-inset-modify space \hrulefill{}"
-               Item "Custom Length|C" "command-sequence next-inset-modify space \hspace{} \length 1in; next-inset-toggle"
+               Item "Horizontal Fill (Left Arrow)|L" "next-inset-modify space \leftarrowfill{}"
+               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-settings"
+               Separator
+               Item "Settings...|S" "inset-settings"
+       End
+
+#
+# InsetMathSpace context menu
+#
+       Menu "context-mathspace"
+               Item "Thin Space|T" "next-inset-modify mathspace \thinspace{}"
+               Item "Medium Space|M" "next-inset-modify mathspace \medspace{}"
+               Item "Thick Space|h" "next-inset-modify mathspace \thickspace{}"
+               Item "Negative Thin Space|N" "next-inset-modify mathspace \negthinspace{}"
+               Item "Negative Medium Space|u" "next-inset-modify mathspace \negmedspace{}"
+               Item "Negative Thick Space|i" "next-inset-modify mathspace \negthickspace{}"
+               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-settings"
                Separator
-               Item "Settings...|S" "next-inset-toggle"
+               Item "Settings...|S" "inset-settings"
        End
 
 #
@@ -172,13 +235,24 @@ 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; next-inset-toggle"
+               Item "Custom|C" "command-sequence next-inset-modify vspace 1in; inset-settings"
                Separator
-               Item "Settings...|S" "next-inset-toggle"
+               Item "Settings...|e" "inset-settings"
        End
 
-       Menu "edit_vspacetype"
-               
+#
+# InsetInclude context menu
+#
+       Menu "context-include"
+               Item "Include|c" "next-inset-modify changetype include"
+               Item "Input|p" "next-inset-modify changetype input"
+               Item "Verbatim|V" "next-inset-modify changetype verbatiminput"
+               Item "Verbatim (marked blanks)|b" "next-inset-modify changetype verbatiminput*"
+               Item "Listing|L" "next-inset-modify changetype lstinputlisting"
+               Separator
+               Item "Settings...|S" "inset-settings"
+               Separator
+               Item "Edit included file...|E" "inset-edit"
        End
 
 #
@@ -206,14 +280,24 @@ Menuset
                Item "Cut" "cut"
                Item "Copy" "copy"
                Item "Paste" "paste"
+               spellingsuggestions
                Submenu "Paste Recent|e" "edit_pasterecent"
                Separator
-               Item "Jump to Saved Bookmark|B" "bookmark-goto 0"
+               Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
                Separator
                Item "Move Paragraph Up|o" "paragraph-move-up"
                Item "Move Paragraph Down|v" "paragraph-move-down"
                Separator
-               Item "Apply Last Text Style|A" "font-free-apply"
+               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" "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"
                Separator
@@ -225,17 +309,17 @@ Menuset
 #
 
        Menu "context-math-macro-definition"
-               Item "Append Parameter" "math-macro-add-param"
-               Item "Remove Last Parameter" "math-macro-remove-param"
+               Item "Append Argument" "math-macro-add-param"
+               Item "Remove Last Argument" "math-macro-remove-param"
                 Separator
-               Item "Make First Non-Optional into Optional Parameter" "math-macro-make-optional"
-               Item "Make Last Optional into Non-Optional Parameter" "math-macro-make-nonoptional"
-                Item "Insert Optional Parameter" "math-macro-add-optional-param"
-                Item "Remove Optional Parameter" "math-macro-remove-optional-param"
+               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 "Insert Optional Argument" "math-macro-add-optional-param"
+                Item "Remove Optional Argument" "math-macro-remove-optional-param"
                Separator
-               Item "Append Parameter Eating From The Right" "math-macro-append-greedy-param"
-                Item "Append Optional Parameter Eating From The Right" "math-macro-add-greedy-optional-param"
-               Item "Remove Last Parameter Spitting Out To The Right" "math-macro-remove-greedy-param"
+               Item "Append Argument Eating From The Right" "math-macro-append-greedy-param"
+                Item "Append Optional Argument Eating From The Right" "math-macro-add-greedy-optional-param"
+               Item "Remove Last Argument Spitting Out To The Right" "math-macro-remove-greedy-param"
        End
 
 #
@@ -248,6 +332,10 @@ Menuset
                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
 
@@ -256,9 +344,21 @@ Menuset
 #
 
        Menu "context-graphics"
-               Item "Settings...|S" "next-inset-toggle"
+               Item "Settings...|S" "inset-settings"
+               Separator
+               Item "Edit externally...|x" "inset-edit"
                Separator
-               Item "Edit externally...|x" "graphics-edit"
+               GraphicsGroups
+       End
+
+#
+# InsetExternal context menu
+#
+
+       Menu "context-external"
+               Item "Settings...|S" "inset-settings"
+               Separator
+               Item "Edit externally...|x" "inset-edit"
        End
 
 #
@@ -266,32 +366,194 @@ Menuset
 #
 
        Menu "context-tabular"
-               Item "Multicolumn|M" "tabular-feature multicolumn"\r
-               Separator\r
-               Item "Top Line|T" "tabular-feature toggle-line-top"\r
-               Item "Bottom Line|B" "tabular-feature toggle-line-bottom"\r
-               Item "Left Line|L" "tabular-feature toggle-line-left"\r
-               Item "Right Line|R" "tabular-feature toggle-line-right"\r
-               Separator\r
-               Item "Left|L" "tabular-feature align-left"\r
-               Item "Center|C" "tabular-feature align-center"\r
-               Item "Right|R" "tabular-feature align-right"\r
-               Separator\r
-               Item "Top|T" "tabular-feature valign-top"\r
-               Item "Middle|M" "tabular-feature valign-middle"\r
-               Item "Bottom|B" "tabular-feature valign-bottom"\r
-               Separator\r
-               Item "Add Row|A" "tabular-feature append-row"\r
-               Item "Delete Row|D" "tabular-feature delete-row"\r
-               Item "Copy Row|o" "tabular-feature copy-row"\r
-               # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken\r
-               Separator\r
-               Item "Add Column|u" "tabular-feature append-column"\r
-               Item "Delete Column|e" "tabular-feature delete-column"\r
-               Item "Copy Column|p" "tabular-feature copy-column"\r
-               # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken\r
+               Item "Multicolumn|M" "tabular-feature multicolumn"
+               Separator
+               Item "Top Line|T" "tabular-feature toggle-line-top"
+               Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
+               Item "Left Line|L" "tabular-feature toggle-line-left"
+               Item "Right Line|R" "tabular-feature toggle-line-right"
+               Separator
+               Item "Left|L" "tabular-feature align-left"
+               Item "Center|C" "tabular-feature align-center"
+               Item "Right|R" "tabular-feature align-right"
+               Separator
+               Item "Top|T" "tabular-feature valign-top"
+               Item "Middle|M" "tabular-feature valign-middle"
+               Item "Bottom|B" "tabular-feature valign-bottom"
+               Separator
+               Item "Add Row|A" "tabular-feature append-row"
+               Item "Delete Row|D" "tabular-feature delete-row"
+               Item "Copy Row|o" "tabular-feature copy-row"
+               # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken
+               Separator
+               Item "Add Column|u" "tabular-feature append-column"
+               Item "Delete Column|e" "tabular-feature delete-column"
+               Item "Copy Column|p" "tabular-feature copy-column"
+               # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken
                Separator
                Item "Settings...|S" "inset-settings tabular"
        End
 
+
+#
+# InsetInfo context menu
+#
+
+       Menu "context-info"
+               Item "Settings...|S" "inset-settings info"
+       End
+
+#
+# InsetBranch context menu
+#
+
+       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"
+       End
+
+#
+# Toc Labels and References context menu
+#
+
+       Menu "context-toc-label"
+               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