]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdcontext.inc
* stdmenus.inc:
[lyx.git] / lib / ui / stdcontext.inc
index e15d9bdae4cd5f8a4f5a3dec7d6e2b43499bfc3b..07bd546f1ee118d37e86c5f606167b2f41d42cbd 100644 (file)
@@ -16,9 +16,53 @@ Menuset
 #
 # InsetMath context menu
 #
+       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 "Equation Label|L" "label-insert"
-               Item "Toggle Labeling/Numbering|T" "math-number-toggle"
+               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
+               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"
+               Item "Toggle Table Toolbar" "toolbar-toggle table toggle"
        End
 
 
@@ -36,11 +80,7 @@ Menuset
                Item "<reference> on page <page>|f" "next-inset-modify changetype vref"
                Item "Formatted reference|t" "next-inset-modify changetype prettyref"
                Separator
-               Item "Properties...|P" "next-inset-toggle"
-       End
-
-       Menu "edit_reftype"
-               
+               Item "Settings...|S" "next-inset-toggle"
        End
 
 #
@@ -50,9 +90,30 @@ Menuset
                Item "Next Cross-Reference|N" "reference-next"
                Item "Go back to Reference|G" "bookmark-goto 0"
                Separator
-               Item "Properties...|P" "next-inset-toggle"
+               Item "Settings...|S" "next-inset-toggle"
+       End
+
+
+#
+# InsetCitation context menu
+#
+       Menu "context-citation"
+               CiteStyles
+               Separator
+               Item "Settings...|S" "next-inset-toggle"
        End
 
+
+#
+# InsetBibtex context menu
+#
+       Menu "context-bibtex"
+               Item "Settings...|S" "next-inset-toggle"
+               Separator
+               Item "Edit Database(s) externally...|x" "inset-edit"
+       End
+
+
 #
 # InsetCollapsable context menu
 #
@@ -60,14 +121,15 @@ Menuset
                OptItem "Open Inset|O" "next-inset-toggle open"
                OptItem "Close Inset|C" "next-inset-toggle close"
                Separator
-               OptItem "Properties...|P" "inset-settings"
+               Item "Dissolve Inset|D" "inset-dissolve"
+               OptItem "Settings...|S" "inset-settings"
        End
 
        Menu "context-conglomerate"
                Item "Toggle Label|L" "next-inset-toggle"
                Item "Dissolve Inset|D" "inset-dissolve charstyle"
                Separator
-               OptItem "Properties...|P" "inset-settings"
+               OptItem "Settings...|S" "inset-settings"
        End
 
 #
@@ -84,7 +146,8 @@ Menuset
                Item "Shaded background|b" "next-inset-modify changetype Shaded"
                Item "Double frame|D" "next-inset-modify changetype Doublebox"
                Separator
-               Item "Properties...|P" "inset-settings box"
+               Item "Dissolve Inset|D" "inset-dissolve"
+               Item "Settings...|S" "inset-settings box"
        End
 
 #
@@ -95,6 +158,8 @@ Menuset
                Item "LyX Note|N" "next-inset-modify note Note Note"
                Item "Comment|C" "next-inset-modify note Note Comment"
                Item "Greyed Out|G" "next-inset-modify note Note Greyedout"
+               Separator
+               Item "Dissolve Inset|D" "inset-dissolve"
        End
 
 
@@ -105,18 +170,22 @@ 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 "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; next-inset-toggle"
                Separator
-               Item "Properties...|P" "next-inset-toggle"
+               Item "Settings...|S" "next-inset-toggle"
        End
 
 #
@@ -130,11 +199,22 @@ Menuset
                Item "VFill|F" "next-inset-modify vspace vfill"
                Item "Custom|C" "command-sequence next-inset-modify vspace 1in; next-inset-toggle"
                Separator
-               Item "Properties...|P" "next-inset-toggle"
+               Item "Settings...|e" "next-inset-toggle"
        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" "next-inset-toggle"
+               Separator
+               Item "Edit included file...|E" "inset-edit"
        End
 
 #
@@ -147,6 +227,14 @@ Menuset
                Item "Clear Double Page|D" "next-inset-modify newpage cleardoublepage"
        End
 
+#
+# InsetNewline context menu
+#
+       Menu "context-newline"
+               Item "Ragged Line Break|R" "next-inset-modify newline newline"
+               Item "Justified Line Break|J" "next-inset-modify newline linebreak"
+       End
+
 #
 # Edit context menu
 #
@@ -161,7 +249,12 @@ Menuset
                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"
+               Separator
+               Item "Apply Last Text Style|A" "textstyle-apply"
                Submenu "Text Style|S" "edit_textstyles"
                Item "Paragraph Settings...|P" "layout-paragraph"
                Separator
@@ -196,7 +289,7 @@ Menuset
                Item "Paste" "paste"
                Submenu "Paste Recent|e" "edit_pasterecent"
                Separator
-               Item "Properties...|P" "inset-settings listings"
+               Item "Settings...|S" "inset-settings listings"
        End
 
 #
@@ -204,9 +297,63 @@ Menuset
 #
 
        Menu "context-graphics"
-               Item "Properties...|P" "next-inset-toggle"
+               Item "Settings...|S" "next-inset-toggle"
+               Separator
+               Item "Edit externally...|x" "inset-edit"
+               Separator
+               GraphicsGroups
+       End
+
+#
+# InsetExternal context menu
+#
+
+       Menu "context-external"
+               Item "Settings...|S" "next-inset-toggle"
+               Separator
+               Item "Edit externally...|x" "inset-edit"
+       End
+
+#
+# InsetTabular context menu
+#
+
+       Menu "context-tabular"
+               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 "Edit externally...|x" "graphics-edit"
+               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
 
-End
\ No newline at end of file
+End