]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdtoolbars.inc
Maybe this is more meaningful.
[lyx.git] / lib / ui / stdtoolbars.inc
index b487fd3fb8bd0ddfd515bef5ab983e9b2190c92a..cc6fa6982aaebd89993e7fd79293fb467bf4096b 100644 (file)
 # The interface is designed (partially) following the KDE Human Interface
 # Guidelines (http://usability.kde.org/hig/)
 
+# Casing rules "The tooltip":
+# Capitalize the first letter of the first word, and any other words normally
+# capitalized in sentences, such as application names.
+#
+# Casing Rules for the "GUI Name":
+# 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 ...
+#
+# (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en)
+
 # A Toolbar starts like :
 #
 # Toolbar "name" "GUI Name"
 #
 #   Minibuffer adds the command buffer (Qt only, only one may exist)
 #
-#   TableInsert adds a special widget for quick insertion of tables
+#   TableInsert "The tooltip" adds a special widget for quick insertion of tables
 #
-#   PopupMenu "name" "GUI Name"
+#   PopupMenu "name" "The tooltip"
 #
 #   ... inserts a button with a popup menu derived from Toolbar "name"
 #
-#   IconPalette "name" "GUI Name"
+#   IconPalette "name" "The tooltip"
 #
 #   ... inserts a button with a popup iconpalette derived from Toolbar "name"
 #
 #
 # The icons are found in the lib/images/ direcory under the name
-# action.xpm or action_parameter.xpm, except for math-insert, which
-# is e.g. lib/image/math/sum.xpm. Note that some characters are
+# action.png or action_parameter.png, except for math-insert, which
+# is e.g. lib/image/math/sum.png. Note that some characters are
 # replaced (e.g. ')' -> rbracket).
 #
 #  All other lyx commands will get a "unknown" icon.
@@ -67,16 +79,33 @@ ToolbarSet
                Item "Copy" "copy"
                Item "Paste" "paste"
                Item "Find and replace" "dialog-show findreplace"
+               Item "Find and replace (advanced)" "dialog-toggle findreplaceadv"
+               Item "Navigate back" "bookmark-goto 0"
                Separator
                Item "Toggle emphasis" "font-emph"
                Item "Toggle noun" "font-noun"
-               Item "Apply last" "font-free-apply"
+               Item "Apply last" "textstyle-apply"
                Separator
                Item "Insert math" "math-mode"
                Item "Insert graphics" "dialog-show-new-inset graphics"
-               TableInsert
+               TableInsert "Insert table"
+               Separator
+               Item "Toggle outline" "dialog-toggle toc"
+               Item "Toggle math toolbar" "toolbar-toggle math"
+               Item "Toggle table toolbar" "toolbar-toggle table"
        End
-       
+
+       Toolbar "view/update" "View/Update"
+               Item "View" "buffer-view"
+               Item "Update" "buffer-update"
+               Item "View master document" "master-buffer-view"
+               Item "Update master document" "master-buffer-update"
+               Item "Enable Forward/Reverse Search" "buffer-toggle-output-sync"
+               Separator
+               StickyPopupMenu "view-others" "View other formats"
+               StickyPopupMenu "update-others" "Update other formats"
+       End
+
        Toolbar "extra" "Extra"
                Item "Default" "layout"
                Item "Numbered list" "layout Enumerate"
@@ -92,45 +121,48 @@ ToolbarSet
                Item "Insert cross-reference" "dialog-show-new-inset ref"
                Item "Insert citation" "dialog-show-new-inset citation"
                Item "Insert index entry" "index-insert"
-               Item "Insert glossary entry" "nomencl-insert"
+               Item "Insert nomenclature entry" "nomencl-insert"
                Separator
                Item "Insert footnote" "footnote-insert"
                Item "Insert margin note" "marginalnote-insert"
                Item "Insert note" "note-insert"
-               Item "Insert URL" "url-insert"
+               Item "Insert box" "box-insert Frameless"
+               Item "Insert hyperlink" "href-insert"
                Item "Insert TeX code" "ert-insert"
+               Item "Insert math macro" "math-macro newmacroname newcommand"
                Item "Include file" "dialog-show-new-inset include"
                Separator
                Item "Text style" "dialog-show character"
                Item "Paragraph settings" "layout-paragraph"
-               Item "Table of contents" "toc-view"
                Item "Thesaurus" "thesaurus-entry"
        End
        
        Toolbar "table" "Table"
-               Item "Add row" "tabular-feature append-row"
-               Item "Add column" "tabular-feature append-column"
-               Item "Delete row" "tabular-feature delete-row"
-               Item "Delete column" "tabular-feature delete-column"
+               Item "Add row" "inset-modify tabular append-row"
+               Item "Add column" "inset-modify tabular append-column"
+               Item "Delete row" "inset-modify tabular delete-row"
+               Item "Delete column" "inset-modify tabular delete-column"
                Separator
-               Item "Set top line" "tabular-feature toggle-line-top"
-               Item "Set bottom line" "tabular-feature toggle-line-bottom"
-               Item "Set left line" "tabular-feature toggle-line-left"
-               Item "Set right line" "tabular-feature toggle-line-right"
-               Item "Set all lines" "tabular-feature set-all-lines"
-               Item "Unset all lines" "tabular-feature unset-all-lines"
+               Item "Set top line" "inset-modify tabular toggle-line-top"
+               Item "Set bottom line" "inset-modify tabular toggle-line-bottom"
+               Item "Set left line" "inset-modify tabular toggle-line-left"
+               Item "Set right line" "inset-modify tabular toggle-line-right"
+               Item "Set border lines" "inset-modify tabular set-border-lines"
+               Item "Set all lines" "inset-modify tabular set-all-lines"
+               Item "Unset all lines" "inset-modify tabular unset-all-lines"
                Separator
-               Item "Align left" "tabular-feature align-left"
-               Item "Align center" "tabular-feature align-center"
-               Item "Align right" "tabular-feature align-right"
+               Item "Align left" "command-alternatives inset-modify tabular m-align-left;inset-modify tabular align-left"
+               Item "Align center" "command-alternatives inset-modify tabular m-align-center;inset-modify tabular align-center"
+               Item "Align right" "command-alternatives inset-modify tabular m-align-right;inset-modify tabular align-right"
                Separator
-               Item "Align top" "tabular-feature valign-top"
-               Item "Align middle" "tabular-feature valign-middle"
-               Item "Align bottom" "tabular-feature valign-bottom"
+               Item "Align top" "command-alternatives inset-modify tabular m-valign-top;inset-modify tabular valign-top"
+               Item "Align middle" "command-alternatives inset-modify tabular m-valign-middle;inset-modify tabular valign-middle"
+               Item "Align bottom" "command-alternatives inset-modify tabular m-valign-bottom;inset-modify tabular valign-bottom"
                Separator
-               Item "Rotate cell" "tabular-feature set-rotate-cell"
-               Item "Rotate table" "tabular-feature set-rotate-tabular"
-               Item "Set multi-column" "tabular-feature multicolumn"
+               Item "Rotate cell" "inset-modify tabular toggle-rotate-cell"
+               Item "Rotate table" "inset-modify tabular toggle-rotate-tabular"
+               Item "Set multi-column" "inset-modify tabular multicolumn"
+               Item "Set multi-row" "inset-modify tabular multirow"
        End
        
        Toolbar "math" "Math"
@@ -152,23 +184,40 @@ ToolbarSet
                Separator
                Item "Insert matrix" "dialog-show mathmatrix"
                Item "Insert cases environment" "math-insert \cases"
-               Item "Add row" "tabular-feature append-row"
-               Item "Add column" "tabular-feature append-column"
-               Item "Delete row" "tabular-feature delete-row"
-               Item "Delete column" "tabular-feature delete-column"
+               Item "Add row" "inset-modify tabular append-row"
+               Item "Add column" "inset-modify tabular append-column"
+               Item "Delete row" "inset-modify tabular delete-row"
+               Item "Delete column" "inset-modify tabular delete-column"
+               Separator
+               Item "Toggle math panels" "toolbar-toggle math_panels"
        End
-       
+
+       Toolbar "mathmacrotemplate" "Math Macros"
+               Item "Remove last argument" "math-macro-remove-param"
+               Item "Append argument" "math-macro-add-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 "Remove optional argument" "math-macro-remove-optional-param"
+               Item "Insert optional argument" "math-macro-add-optional-param"
+               Separator
+               Item "Remove last argument 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"
+       End
+
        Toolbar "minibuffer" "Command Buffer"
                Minibuffer
        End
        
-       Toolbar "review" "Review"
+       Toolbar "review" "Review[[Toolbar]]"
                Item "Track changes" "changes-track"
                Item "Show changes in output" "changes-output"
                Separator
                Item "Next change" "change-next"
-               Item "Accept change" "change-accept"
-               Item "Reject change" "change-reject"
+               Item "Accept change inside selection" "change-accept"
+               Item "Reject change inside selection" "change-reject"
                Separator
                Item "Merge changes" "changes-merge"
                Item "Accept all changes" "all-changes-accept"
@@ -178,35 +227,64 @@ ToolbarSet
                Item "Next note" "note-next"
        End
        
-       Toolbar "view/update" "View/Update"
-               Item "View DVI" "buffer-view dvi"
-               Item "Update DVI" "buffer-update dvi"
-               Item "View PDF (pdflatex)" "buffer-view pdf2"
-               Item "Update PDF (pdflatex)" "buffer-update pdf2"
-               Item "View PostScript" "buffer-view ps"
-               Item "Update PostScript" "buffer-update ps"
+       Toolbar "view-others" "View Other Formats"
+               ViewFormats
+       End
+       
+       Toolbar "update-others" "Update Other Formats"
+               UpdateFormats
+       End
+
+# The following three toolbars are disabled because of missing icons.
+#      Toolbar "import/export" "Import/Export"
+#              Item "Import" "buffer-import"
+#              Item "Export" "buffer-export"
+#              StickyPopupMenu "import-others" "Import other formats"
+#              StickyPopupMenu "export-others" "Export other formats"
+#      End
+
+#      Toolbar "import-others" "Import Other Formats"
+#              ImportFormats
+#      End
+
+#      Toolbar "export-others" "Export Other Formats"
+#              ExportFormats
+#      End
+
+       Toolbar "vcs" "Version Control"
+               Item "Register" "vc-register"
+               Item "Check-out for edit" "vc-check-out"
+               Item "Check-in changes" "vc-check-in"
+               Item "View revision log" "dialog-show vclog"
+               Item "Revert changes" "vc-revert"
+               Item "Compare with older revision" "vc-compare"
+               Item "Compare with last revision" "vc-compare 0"
+               Item "Insert Version Info" "info-insert buffer vcs-revision"
+               Separator
+               Item "Use SVN file locking property" "vc-locking-toggle"
+               Separator
+               Item "Update local directory from repository" "vc-repo-update"
        End
 
        Toolbar "math_panels" "Math Panels"
-               PopupMenu "space" "Math Spacing"
-               PopupMenu "sqrt-square" "Roots"
+               PopupMenu "space" "Math spacings"
                PopupMenu "style" "Styles"
                PopupMenu "frac-square" "Fractions"
                PopupMenu "font" "Fonts"
                PopupMenu "functions" "Functions"
-               IconPalette "latex_deco" "Frame Decorations"
-               IconPalette "latex_varsz" "Big Operators"
+               IconPalette "latex_deco" "Frame decorations"
+               IconPalette "latex_varsz" "Big operators"
                IconPalette "latex_misc" "Miscellaneous"
                IconPalette "latex_greek" "Greek"
                IconPalette "latex_arrow" "Arrows"
-               IconPalette "latex_ams_arrows" "AMS Arrows"
+               IconPalette "latex_ams_arrows" "AMS arrows"
                IconPalette "latex_bop" "Operators"
                IconPalette "latex_brel" "Relations"
-               IconPalette "latex_ams_rel" "AMS Relations"
-               IconPalette "latex_ams_nrel" "AMS Negative Relations"
+               IconPalette "latex_ams_rel" "AMS relations"
+               IconPalette "latex_ams_nrel" "AMS negative relations"
                IconPalette "latex_dots" "Dots"
-               IconPalette "latex_ams_ops" "AMS Operators"
-               IconPalette "latex_ams_misc" "AMS Miscellaneous"
+               IconPalette "latex_ams_ops" "AMS operators"
+               IconPalette "latex_ams_misc" "AMS miscellaneous"
        End
 
        Toolbar "functions" "Functions"
@@ -245,36 +323,47 @@ ToolbarSet
                Item "Pr" "math-insert \Pr"
        End
 
-       Toolbar "space" "Spacing"
+       Toolbar "space" "Spacings"
                Item "Thin space        \\," "math-insert \,"
                Item "Medium space      \\:" "math-insert \:"
                Item "Thick space       \\;" "math-insert \;"
                Item "Quadratin space   \\quad" "math-insert \quad"
                Item "Double quadratin space    \\qquad" "math-insert \qquad"
                Item "Negative space    \\!" "math-insert \!"
+               Item "Placeholder       \\phantom" "math-insert \phantom"
+               Item "Horizontal placeholder    \\hphantom" "math-insert \hphantom"
+               Item "Vertical placeholder      \\vphantom" "math-insert \vphantom"
        End
-       
+
        Toolbar "sqrt-square" "Roots"
                Item "Square root       \\sqrt" "math-insert \sqrt"
                Item "Other root        \\root" "math-insert \root"
        End
        
        Toolbar "style" "Styles"
-               Item "Display style     \\displaystyle" "math-insert \displaystyle"
-               Item "Normal text style \\textstyle" "math-insert \textstyle"
-               Item "Script (small) style      \\scriptstyle" "math-insert \scriptstyle"
-               Item "Scriptscript (smaller) style      \\scriptscriptstyle" "math-insert \scriptscriptstyle"
+               Item "Display style     \\displaystyle" "math-size \displaystyle"
+               Item "Normal text style \\textstyle" "math-size \textstyle"
+               Item "Script (small) style      \\scriptstyle" "math-size \scriptstyle"
+               Item "Scriptscript (smaller) style      \\scriptscriptstyle" "math-size \scriptscriptstyle"
        End
-       
+
        Toolbar "frac-square" "Fractions"
                Item "Standard  \\frac" "math-insert \frac"
-               Item "No hor. line      \\atop" "math-insert \atop"
-               Item "Nice      \\nicefrac" "math-insert \nicefrac"
-               Item "Text frac (amsmath)       \\tfrac" "math-insert \tfrac"
-               Item "Display frac (amsmath)    \\dfrac" "math-insert \dfrac"
-               Item "Binomial  \\choose"  "math-insert \choose"
+               Item "Nice fraction (3/4)       \\nicefrac" "math-insert \nicefrac"
+               Item "Unit (km) \\unit" "math-insert \unitone"
+               Item "Unit (864 m)      \\unit" "math-insert \unittwo"
+               Item "Unit fraction (km/h)      \\unitfrac" "math-insert \unitfrac"
+               Item "Unit fraction (20 km/h)   \\unitfrac" "math-insert \unitfracthree"
+               Item "Text fraction     \\tfrac" "math-insert \tfrac"
+               Item "Display fraction  \\dfrac" "math-insert \dfrac"
+               Item "Continued fraction        \\cfrac" "math-insert \cfrac"
+               Item "Continued fraction (left) \\cfrac" "math-insert \cfracleft"
+               Item "Continued fraction (right)        \\cfrac" "math-insert \cfracright"
+               Item "Binomial  \\binom" "math-insert \binom"
+               Item "Text binomial     \\tbinom" "math-insert \tbinom"
+               Item "Display binomial  \\dbinom" "math-insert \dbinom"
        End
-       
+
        Toolbar "font" "Fonts"
                Item "Roman     \\mathrm" "math-insert \mathrm"
                Item "Bold      \\mathbf" "math-insert \mathbf"
@@ -293,35 +382,39 @@ ToolbarSet
                Item "cdots" "math-insert \cdots"
                Item "vdots" "math-insert \vdots"
                Item "ddots" "math-insert \ddots"
+# Do not show it as long as it does not load mathdots automatically
+#              Item "iddots" "math-insert \iddots"
        End
-       
+
        Toolbar "latex_deco" "Frame Decorations"
+               Item "hat" "math-insert \hat"
+               Item "tilde" "math-insert \tilde"
+               Item "bar" "math-insert \bar"
+               Item "grave" "math-insert \grave"
+               Item "dot" "math-insert \dot"
+               Item "check" "math-insert \check"
                Item "widehat" "math-insert \widehat"
                Item "widetilde" "math-insert \widetilde"
+               Item "vec" "math-insert \vec"
+               Item "acute" "math-insert \acute"
+               Item "ddot" "math-insert \ddot"
+               Item "dddot" "math-insert \dddot"
+               Item "ddddot" "math-insert \ddddot"
+               Item "breve" "math-insert \breve"
+               Item "overline" "math-insert \overline"
                Item "overbrace" "math-insert \overbrace"
                Item "overleftarrow" "math-insert \overleftarrow"
                Item "overrightarrow" "math-insert \overrightarrow"
-               Item "overline" "math-insert \overline"
-               Item "underbrace" "math-insert \underbrace"
+               Item "overleftrightarrow" "math-insert \overleftrightarrow"
+               Item "overset" "math-insert \overset"
                Item "underline" "math-insert \underline"
+               Item "underbrace" "math-insert \underbrace"
                Item "underleftarrow" "math-insert \underleftarrow"
                Item "underrightarrow" "math-insert \underrightarrow"
                Item "underleftrightarrow" "math-insert \underleftrightarrow"
-               Item "overleftrightarrow" "math-insert \overleftrightarrow"
-               Item "hat" "math-insert \hat"
-               Item "acute" "math-insert \acute"
-               Item "bar" "math-insert \bar"
-               Item "dot" "math-insert \dot"
-               Item "check" "math-insert \check"
-               Item "grave" "math-insert \grave"
-               Item "vec" "math-insert \vec"
-               Item "ddot" "math-insert \ddot"
-               Item "breve" "math-insert \breve"
-               Item "tilde" "math-insert \tilde"
-               Item "overset" "math-insert \overset"
                Item "underset" "math-insert \underset"
        End
-       
+
        Toolbar "latex_arrow" "Arrows"
                Item "leftarrow" "math-insert \leftarrow"
                Item "rightarrow" "math-insert \rightarrow"
@@ -355,7 +448,7 @@ ToolbarSet
                Item "searrow" "math-insert \searrow"
                Item "rightleftharpoons" "math-insert \rightleftharpoons"
        End
-       
+
        Toolbar "latex_bop" "Operators"
                Item "pm" "math-insert \pm"
                Item "cap" "math-insert \cap"
@@ -389,7 +482,7 @@ ToolbarSet
                Item "wr" "math-insert \wr"
                Item "ddagger" "math-insert \ddagger"
        End
-       
+
        Toolbar "latex_brel" "Relations"
                Item "leq" "math-insert \leq"
                Item "geq" "math-insert \geq"
@@ -427,7 +520,7 @@ ToolbarSet
                Item "dashv" "math-insert \dashv"
                Item "bowtie" "math-insert \bowtie"
        End
-       
+
        Toolbar "latex_greek" "Greek"
                Item "alpha" "math-insert \alpha"
                Item "beta" "math-insert \beta"
@@ -448,6 +541,7 @@ ToolbarSet
                Item "pi" "math-insert \pi"
                Item "varpi" "math-insert \varpi"
                Item "rho" "math-insert \rho"
+               Item "varrho" "math-insert \varrho"
                Item "sigma" "math-insert \sigma"
                Item "varsigma" "math-insert \varsigma"
                Item "tau" "math-insert \tau"
@@ -469,7 +563,7 @@ ToolbarSet
                Item "Psi" "math-insert \Psi"
                Item "Omega" "math-insert \Omega"
        End
-       
+
        Toolbar "latex_misc" "Miscellaneous"
                Item "nabla" "math-insert \nabla"
                Item "partial" "math-insert \partial"
@@ -515,15 +609,11 @@ ToolbarSet
                Item "mathcal L" "math-insert \mathcal L"
                Item "mathcal H" "math-insert \mathcal H"
                Item "mathcal O" "math-insert \mathcal O"
-               Item "phantom" "math-insert \phantom"
-               Item "vphantom" "math-insert \vphantom"
-               Item "hphantom" "math-insert \hphantom"
        End
-       
+
        Toolbar "latex_varsz" "Big Operators"
-               Item "sum" "math-insert \sum"
-               Item "int" "math-insert \int"
                Item "intop" "math-insert \intop"
+               Item "int" "math-insert \int"
                Item "iint" "math-insert \iint"
                Item "iintop" "math-insert \iintop"
                Item "iiint" "math-insert \iiint"
@@ -536,14 +626,21 @@ ToolbarSet
                Item "ointop" "math-insert \ointop"
                Item "oiint" "math-insert \oiint"
                Item "oiintop" "math-insert \oiintop"
-               Item "ointctrclockwise" "math-insert \ointctrclockwise"
                Item "ointctrclockwiseop" "math-insert \ointctrclockwiseop"
-               Item "ointclockwise" "math-insert \ointclockwise"
+               Item "ointctrclockwise" "math-insert \ointctrclockwise"
                Item "ointclockwiseop" "math-insert \ointclockwiseop"
+               Item "ointclockwise" "math-insert \ointclockwise"
                Item "sqint" "math-insert \sqint"
                Item "sqintop" "math-insert \sqintop"
                Item "sqiint" "math-insert \sqiint"
                Item "sqiintop" "math-insert \sqiintop"
+               Item "fint" "math-insert \fint"
+               Item "fintop" "math-insert \fintop"
+               Item "landupint" "math-insert \landupint"
+               Item "landupintop" "math-insert \landupintop"
+               Item "landdownint" "math-insert \landdownint"
+               Item "landdownintop" "math-insert \landdownintop"
+               Item "sum" "math-insert \sum"
                Item "prod" "math-insert \prod"
                Item "coprod" "math-insert \coprod"
                Item "bigsqcup" "math-insert \bigsqcup"
@@ -556,7 +653,7 @@ ToolbarSet
                Item "bigvee" "math-insert \bigvee"
                Item "bigwedge" "math-insert \bigwedge"
        End
-       
+
        Toolbar "latex_ams_misc" "AMS Miscellaneous"
                Item "digamma" "math-insert \digamma"
                Item "varkappa" "math-insert \varkappa"
@@ -583,6 +680,7 @@ ToolbarSet
                Item "Bbbk" "math-insert \Bbbk"
                Item "backprime" "math-insert \backprime"
                Item "varnothing" "math-insert \varnothing"
+               Item "Diamond" "math-insert \Diamond"
                Item "blacktriangle" "math-insert \blacktriangle"
                Item "blacktriangledown" "math-insert \blacktriangledown"
                Item "blacksquare" "math-insert \blacksquare"
@@ -594,7 +692,7 @@ ToolbarSet
                Item "diagup" "math-insert \diagup"
                Item "diagdown" "math-insert \diagdown"
        End
-       
+
        Toolbar "latex_ams_arrows" "AMS Arrows"
                Item "dashleftarrow" "math-insert \dashleftarrow"
                Item "dashrightarrow" "math-insert \dashrightarrow"
@@ -634,7 +732,7 @@ ToolbarSet
                Item "nLeftrightarrow" "math-insert \nLeftrightarrow"
                Item "multimap" "math-insert \multimap"
        End
-       
+
        Toolbar "latex_ams_rel" "AMS Relations"
                Item "leqq" "math-insert \leqq"
                Item "geqq" "math-insert \geqq"
@@ -703,7 +801,7 @@ ToolbarSet
                Item "between" "math-insert \between"
                Item "pitchfork" "math-insert \pitchfork"
        End
-       
+
        Toolbar "latex_ams_nrel" "AMS Negative Relations"
                Item "nless" "math-insert \nless"
                Item "ngtr" "math-insert \ngtr"
@@ -756,7 +854,7 @@ ToolbarSet
                Item "nparallel" "math-insert \nparallel"
                Item "nshortparallel" "math-insert \nshortparallel"
        End
-       
+
        Toolbar "latex_ams_ops" "AMS Operators"
                Item "dotplus" "math-insert \dotplus"
                Item "smallsetminus" "math-insert \smallsetminus"