]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdcontext.inc
stdcontext.inc:
[lyx.git] / lib / ui / stdcontext.inc
index 8bd28189a8e7848c83dc1db6b2ff424babf5e345..97e495b5620b091bea9fea771a8a34e36ade96fd 100644 (file)
 # The interface is designed (partially) following the KDE Human Interface
 # Guidelines (http://usability.kde.org/hig/)
 
+# Casing Rules:
+# Capitalize all words in the element, with the following exceptions: 
+# * Articles: a, an, the. 
+# * Conjunctions: and, but, for, not, so, yet ...  
+# * Prepositions of three or fewer letters: at, for, by, in, to ...
+#   (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)
+
 Menuset
 
 #
@@ -36,21 +44,21 @@ Menuset
                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"
                Item "Displayed Formula|D" "math-mutate equation"
                Item "Eqnarray Environment|E" "math-mutate eqnarray"
                Submenu "AMS Environment|A" "ams_environment"
-               Separator               
-               OptItem "Number whole Formula|N" "math-number-toggle"
-               OptItem "Number this Line|u" "math-number-line-toggle"
+               Separator
+               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"
                Separator
                Item "Split Cell|C" "cell-split"
                Separator
-               Submenu "Insert|n" "insert_math_context"
+               Submenu "Insert|s" "insert_math_context"
                Separator
                OptItem "Add Line Above|o" "tabular-feature add-hline-above"
                OptItem "Add Line Below|B" "tabular-feature add-hline-below"
@@ -65,6 +73,8 @@ Menuset
                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"
+               Separator
+               Submenu "Use Computer Algebra System|m" "edit_math_extern"
        End
 
 
@@ -75,12 +85,12 @@ Menuset
                Item "Next Cross-Reference|N" "reference-next"
                Item "Go to Label|G" "label-goto"
                Separator
-               Item "<reference>|r" "next-inset-modify changetype ref"
-               Item "(<reference>)|e" "next-inset-modify changetype eqref"
-               Item "<page>|p" "next-inset-modify changetype pageref"
-               Item "on page <page>|o" "next-inset-modify changetype vpageref"
-               Item "<reference> on page <page>|f" "next-inset-modify changetype vref"
-               Item "Formatted reference|t" "next-inset-modify changetype prettyref"
+               Item "<Reference>|R" "inset-modify changetype ref"
+               Item "(<Reference>)|e" "inset-modify changetype eqref"
+               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"
                Separator
                Item "Settings...|S" "inset-settings"
        End
@@ -90,7 +100,7 @@ Menuset
 #
        Menu "context-label"
                Item "Next Cross-Reference|N" "reference-next"
-               Item "Go back|G" "bookmark-goto 0"
+               Item "Go Back|G" "bookmark-goto 0"
                Separator
                Item "Copy as Reference|C" "copy-label-as-reference"
                Separator
@@ -114,7 +124,7 @@ Menuset
        Menu "context-bibtex"
                Item "Settings...|S" "inset-settings"
                Separator
-               Item "Edit Database(s) externally...|x" "inset-edit"
+               Item "Edit Database(s) Externally...|x" "inset-edit"
        End
 
 
@@ -130,7 +140,7 @@ Menuset
        End
 
        Menu "context-conglomerate"
-               Item "Toggle Label|L" "inset-toggle"
+               Item "Show Label|L" "inset-toggle"
                Item "Dissolve Inset|D" "inset-dissolve charstyle"
                Separator
                OptItem "Settings...|S" "inset-settings"
@@ -141,14 +151,14 @@ Menuset
 #
 
        Menu "context-box"
-               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|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|u" "next-inset-modify changetype Doublebox"
+               Item "Frameless|l" "inset-modify changetype Frameless"
+               Item "Simple Frame|F" "inset-modify changetype Boxed"
+               Item "Simple Frame, Page Breaks|P" "inset-modify changetype Framed"
+               Item "Oval, Thin|a" "inset-modify changetype ovalbox"
+               Item "Oval, Thick|v" "inset-modify changetype Ovalbox"
+               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"
@@ -162,9 +172,9 @@ Menuset
 #
 
        Menu "context-note"
-               Item "LyX Note|N" "next-inset-modify note Note Note"
-               Item "Comment|m" "next-inset-modify note Note Comment"
-               Item "Greyed Out|G" "next-inset-modify note Note Greyedout"
+               Item "LyX Note|N" "inset-modify note Note Note"
+               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"
@@ -180,9 +190,9 @@ Menuset
 #
 
        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"
+               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"
        End
@@ -191,23 +201,23 @@ Menuset
 # InsetSpace context menu
 #
        Menu "context-space"
-               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 "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; inset-settings"
+               Item "Interword Space|w" "inset-modify space \space{}"
+               Item "Protected Space|o" "inset-modify space ~"
+               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{}"
+               Item "Protected Half Quad Space (Enspace)|E" "inset-modify space \enspace{}"
+               Item "Quad Space|Q" "inset-modify space \quad{}"
+               Item "Double Quad Space|u" "inset-modify space \qquad{}"
+               Item "Horizontal Fill|F" "inset-modify space \hfill{}"
+               Item "Protected Horizontal Fill|i" "inset-modify space \hspace*{\fill}"
+               Item "Horizontal Fill (Dots)|D" "inset-modify space \dotfill{}"
+               Item "Horizontal Fill (Rule)|R" "inset-modify space \hrulefill{}"
+               Item "Horizontal Fill (Left Arrow)|L" "inset-modify space \leftarrowfill{}"
+               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"
                Separator
                Item "Settings...|S" "inset-settings"
        End
@@ -216,16 +226,16 @@ Menuset
 # 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"
+               Item "Thin Space|T" "inset-modify mathspace \thinspace{}"
+               Item "Medium Space|M" "inset-modify mathspace \medspace{}"
+               Item "Thick Space|h" "inset-modify mathspace \thickspace{}"
+               Item "Negative Thin Space|N" "inset-modify mathspace \negthinspace{}"
+               Item "Negative Medium Space|u" "inset-modify mathspace \negmedspace{}"
+               Item "Negative Thick Space|i" "inset-modify mathspace \negthickspace{}"
+               Item "Half Quad Space (Enskip)|k" "inset-modify mathspace \enskip{}"
+               Item "Quad Space|Q" "inset-modify mathspace \quad{}"
+               Item "Double Quad Space|u" "inset-modify mathspace \qquad{}"
+               Item "Custom Length|C" "command-sequence inset-modify mathspace \hspace{} \length 1in; inset-settings"
                Separator
                Item "Settings...|S" "inset-settings"
        End
@@ -234,12 +244,12 @@ Menuset
 # InsetVSpace context menu
 #
        Menu "context-vspace"
-               Item "DefSkip|D" "next-inset-modify vspace defskip"
-               Item "SmallSkip|S" "next-inset-modify vspace smallskip"
-               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-settings"
+               Item "DefSkip|D" "inset-modify vspace defskip"
+               Item "SmallSkip|S" "inset-modify vspace smallskip"
+               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"
                Separator
                Item "Settings...|e" "inset-settings"
        End
@@ -248,33 +258,33 @@ Menuset
 # 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"
+               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"
+               Item "Edit Included File...|E" "inset-edit"
        End
 
 #
 # InsetNewpage context menu
 #
        Menu "context-newpage"
-               Item "New Page|N" "next-inset-modify newpage newpage"
-               Item "Page Break|a" "next-inset-modify newpage pagebreak"
-               Item "Clear Page|C" "next-inset-modify newpage clearpage"
-               Item "Clear Double Page|D" "next-inset-modify newpage cleardoublepage"
+               Item "New Page|N" "inset-modify newpage newpage"
+               Item "Page Break|a" "inset-modify newpage pagebreak"
+               Item "Clear Page|C" "inset-modify newpage clearpage"
+               Item "Clear Double Page|D" "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"
+               Item "Ragged Line Break|R" "inset-modify newline newline"
+               Item "Justified Line Break|J" "inset-modify newline linebreak"
        End
 
 #
@@ -295,8 +305,8 @@ Menuset
                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 "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"
@@ -305,6 +315,7 @@ Menuset
                Item "Apply Last Text Style|A" "textstyle-apply"
                Submenu "Text Style|S" "edit_textstyles"
                Item "Paragraph Settings...|P" "layout-paragraph"
+               LanguageSelector
                Separator
                Item "Fullscreen Mode" "ui-toggle fullscreen"
        End
@@ -316,15 +327,15 @@ Menuset
        Menu "context-math-macro-definition"
                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 "Insert Optional Argument" "math-macro-add-optional-param"
-                Item "Remove Optional Argument" "math-macro-remove-optional-param"
                Separator
-               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"
+               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 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
 
 #
@@ -350,8 +361,9 @@ Menuset
 
        Menu "context-graphics"
                Item "Settings...|S" "inset-settings"
+               Item "Reload|R" "graphics-reload"
                Separator
-               Item "Edit externally...|x" "inset-edit"
+               Item "Edit Externally...|x" "inset-edit"
                Separator
                GraphicsGroups
        End
@@ -363,7 +375,7 @@ Menuset
        Menu "context-external"
                Item "Settings...|S" "inset-settings"
                Separator
-               Item "Edit externally...|x" "inset-edit"
+               Item "Edit Externally...|x" "inset-edit"
        End
 
 #
@@ -372,18 +384,19 @@ Menuset
 
        Menu "context-tabular"
                Item "Multicolumn|M" "tabular-feature multicolumn"
+               Item "Multirow|i" "tabular-feature multirow"
                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 "Left|f" "tabular-feature align-left"
                Item "Center|C" "tabular-feature align-center"
-               Item "Right|R" "tabular-feature align-right"
+               Item "Right|h" "tabular-feature align-right"
                Separator
                Item "Top|T" "tabular-feature valign-top"
-               Item "Middle|M" "tabular-feature valign-middle"
+               Item "Middle|d" "tabular-feature valign-middle"
                Item "Bottom|B" "tabular-feature valign-bottom"
                Separator
                Item "Add Row|A" "tabular-feature append-row"
@@ -396,7 +409,7 @@ Menuset
                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"
+               Item "Settings...|g" "inset-settings tabular"
        End
 
 
@@ -452,7 +465,7 @@ Menuset
        Menu "context-toc-graphics"
                Item "Settings...|S" "inset-settings"
                Separator
-               Item "Edit externally...|x" "inset-edit"
+               Item "Edit Externally...|x" "inset-edit"
        End
 
 #
@@ -499,7 +512,7 @@ Menuset
                Separator
                Item "Settings...|S" "inset-settings"
                Separator
-               Item "Edit included file...|E" "inset-edit"
+               Item "Edit Included File...|E" "inset-edit"
        End
 
 #
@@ -530,10 +543,10 @@ Menuset
 #
 
        Menu "context-indexprint"
-               Item "All Indexes|A" "next-inset-modify check-printindex*"
+               Item "All Indexes|A" "inset-modify check-printindex*"
                IndicesListsContext
                Separator
-               Item "Subindex|b" "next-inset-modify toggle-subindex"
+               Item "Subindex|b" "inset-modify toggle-subindex"
                Separator
                OptItem "Settings...|S" "inset-settings"
        End