]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdmenus.inc
Rename List/TOC menu item
[lyx.git] / lib / ui / stdmenus.inc
index 1bc9fbdee93e51fa35859b08fb3d8062103ca091..9cf3bcf32b7d90741ef1fe31810667ab1b9ac5e0 100644 (file)
 # Guidelines (http://techbase.kde.org/Projects/Usability/HIG)
 
 # Casing Rules:
-# Capitalize all words in the element, with the following exceptions: 
-# * Articles: a, an, the. 
-# * Conjunctions: and, but, for, not, so, yet ...  
+# 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)
 
-Format 1
+Format 5
 
 Menuset
 
@@ -43,21 +43,22 @@ Menuset
 
        Menu "file"
                Item "New|N" "buffer-new"
-               Item "New from Template...|m" "buffer-new-template"
+               Item "New from Template...|m" "dialog-show lyxfiles templates"
                Item "Open...|O" "file-open"
                Submenu "Open Recent|t" "file_lastfiles"
+               Item "Open Example...|p" "dialog-show lyxfiles examples"
                Separator
                Item "Close|C" "buffer-close"
                Item "Close All" "buffer-close-all"
                Item "Save|S" "buffer-write"
                Item "Save As...|A" "buffer-write-as"
+               Item "Save As Template..." "buffer-write-as-template"
                Item "Save All|l" "buffer-write-all"
                Item "Revert to Saved|R" "buffer-reload"
                Submenu "Version Control|V" "file_vc"
                Separator
                Submenu "Import|I" "file_import"
                Submenu "Export|E" "file_export"
-               Item "Print...|P" "dialog-show print"
                OptItem "Fax...|F" "buffer-export fax"
                Separator
                Item "New Window|W" "window-new"
@@ -74,6 +75,8 @@ Menuset
                OptItem "Register...|R" "vc-register"
                OptItem "Check In Changes...|I" "vc-check-in"
                OptItem "Check Out for Edit|O" "vc-check-out"
+               OptItem "Copy|p" "vc-copy"
+               OptItem "Rename|R" "vc-rename"
                OptItem "Update Local Directory From Repository|d" "vc-repo-update"
                OptItem "Revert to Repository Version|v" "vc-revert"
                OptItem "Undo Last Check In|U" "vc-undo-last"
@@ -87,9 +90,11 @@ Menuset
        End
 
        Menu "file_export"
+               ExportFormat
                Item "Export As...|s" "buffer-export-as"
+               Separator
                ExportFormats
-               Item "More Formats & Options...|O" "buffer-export custom"
+               Item "More Formats & Options...|r" "buffer-export custom"
        End
 
 #
@@ -115,9 +120,10 @@ Menuset
                Item "Move Paragraph Up|o" "paragraph-move-up"
                Item "Move Paragraph Down|v" "paragraph-move-down"
                Separator
-               Submenu "Text Style|S" "edit_textstyles"
-               LanguageSelector
                Item "Paragraph Settings...|P" "layout-paragraph"
+               Submenu "Text Properties|x" "edit_textprops"
+               OptSubmenu "Custom Text Styles|S" "edit_textstyles"
+               LanguageSelector
                Separator
 # Mathed b0rkage means these don't work properly
                OptSubmenu "Table|T" "edit_tabular"
@@ -139,9 +145,9 @@ Menuset
                OptItem "Note Settings...|N" "inset-settings note"
                OptItem "Phantom Settings...|h" "inset-settings phantom"
                OptItem "Branch Settings...|B" "inset-settings branch"
-               OptItem "Box Settings...|x" "inset-settings box"
+               OptItem "Box Settings...|S" "inset-settings box"
                OptItem "Index Entry Settings...|y" "inset-settings index"
-               OptItem "Index Settings...|x" "inset-settings index_print"
+               OptItem "Index Settings...|S" "inset-settings index_print"
                OptItem "Info Settings...|n" "inset-settings info"
                OptItem "Listings Settings...|g" "inset-settings listings"
 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
@@ -151,70 +157,85 @@ Menuset
        End
 
        Menu "edit_paste"
+               OptItem "Paste from HTML|H" "paste html"
+               OptItem "Paste from LaTeX|L" "paste latex"
+               OptItem "Paste as LinkBack PDF" "paste linkback"
+               OptItem "Paste as PDF" "paste pdf"
+               OptItem "Paste as PNG" "paste png"
+               OptItem "Paste as JPEG" "paste jpeg"
+               OptItem "Paste as EMF" "paste emf"
+               Separator
                Item "Plain Text|T" "clipboard-paste"
                Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
                Separator
                Item "Selection|S" "primary-selection-paste"
                Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
-               Separator
-               Item "Unformatted Text|U" "clipboard-paste-simple"
-               Item "Unformatted, Join Lines|o" "clipboard-paste-simple paragraph"
-               Separator
-               Item "Paste as LinkBack PDF" "paste linkback"
-               Item "Paste as PDF" "paste pdf"
-               Item "Paste as PNG" "paste png"
-               Item "Paste as JPEG" "paste jpeg"
+# clipboard-paste-simple is commented because it is irritating (bug 8749)
+# until somebody can explain why it is needed in addition to clipboard-paste
+#              Separator
+#              Item "Unformatted Text|U" "clipboard-paste-simple"
+#              Item "Unformatted, Join Lines|o" "clipboard-paste-simple paragraph"
        End
 
        Menu "edit_pasterecent"
                PasteRecent
        End
 
-       Menu "edit_textstyles"
-               Item "Dissolve Text Style" "inset-dissolve charstyle"
-               CharStyles
-               Elements
+       Menu "edit_textprops"
+               Item "Customize...|C" "dialog-show character"
+               Item "Apply Last Settings|A" "textstyle-apply"
                Separator
-               Item "Customized...|C" "dialog-show character"
-               Separator
-               Item "Capitalize|a" "word-capitalize"
+               Item "Capitalize|p" "word-capitalize"
                Item "Uppercase|U" "word-upcase"
                Item "Lowercase|L" "word-lowcase"
        End
 
+       Menu "edit_textstyles"
+               OptItem "Dissolve Text Style" "inset-dissolve charstyle"
+               CharStyles
+               Elements
+       End
+
 # not much we can do to help here
        Menu "edit_tabular"
-               Item "Multicolumn|M" "inset-modify tabular multicolumn"
-               Item "Multirow|u" "inset-modify tabular multirow"
+               Item "Multi-page Table|g" "tabular-feature toggle-longtabular"
+               Item "Formal Style|F" "tabular-feature toggle-booktabs"
+               Separator
+               Item "Multicolumn|M" "tabular-feature multicolumn"
+               Item "Multirow|u" "tabular-feature multirow"
                Separator
-               Item "Top Line|T" "inset-modify tabular toggle-line-top"
-               Item "Bottom Line|B" "inset-modify tabular toggle-line-bottom"
-               Item "Left Line|L" "inset-modify tabular toggle-line-left"
-               Item "Right Line|R" "inset-modify tabular toggle-line-right"
+               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 "Top|p" "inset-modify tabular tabular-valign-top"
-               Item "Middle|i" "inset-modify tabular tabular-valign-middle"
-               Item "Bottom|o" "inset-modify tabular tabular-valign-bottom"
+               Item "Top|p" "tabular-feature tabular-valign-top"
+               Item "Middle|i" "tabular-feature tabular-valign-middle"
+               Item "Bottom|o" "tabular-feature tabular-valign-bottom"
        End
 
        Menu "edit_tabular_features"
-               Item "Left|L" "inset-modify tabular align-left"
-               Item "Center|C" "inset-modify tabular align-center"
-               Item "Right|R" "inset-modify tabular align-right"
+               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" "inset-modify tabular valign-top"
-               Item "Middle|M" "inset-modify tabular valign-middle"
-               Item "Bottom|B" "inset-modify tabular valign-bottom"
+               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" "inset-modify tabular append-row"
-               Item "Delete Row|D" "inset-modify tabular delete-row"
-               Item "Copy Row|o" "inset-modify tabular copy-row"
-               # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
+               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 "Move Row Up" "tabular-feature move-row-up"
+               Item "Move Row Down" "tabular-feature move-row-down"
+               # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken
                Separator
-               Item "Add Column|u" "inset-modify tabular append-column"
-               Item "Delete Column|e" "inset-modify tabular delete-column"
-               Item "Copy Column|p" "inset-modify tabular copy-column"
-               # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
+               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 "Move Column Right|v" "tabular-feature move-column-right"
+               Item "Move Column Left" "tabular-feature move-column-left"
+               # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken
        End
 
        Menu "edit_math"
@@ -225,29 +246,29 @@ Menuset
                Separator
                Submenu "Change Formula Type|F" "edit_math_mutate"
                Separator
-               Submenu "Text Style|T" "edit_math_fontstyles"
+               Submenu "Text Properties|T" "edit_math_fontstyles"
                Separator
                Submenu "Use Computer Algebra System|S" "edit_math_extern"
                Separator
                Item "Split Cell|C" "cell-split"
                Separator
-               Item "Add Line Above|A" "inset-modify tabular add-hline-above"
-               Item "Add Line Below|B" "inset-modify tabular add-hline-below"
-               Item "Delete Line Above|D" "inset-modify tabular delete-hline-above"
-               Item "Delete Line Below|e" "inset-modify tabular delete-hline-below"
+               Item "Add Line Above|A" "tabular-feature add-hline-above"
+               Item "Add Line Below|B" "tabular-feature add-hline-below"
+               Item "Delete Line Above|D" "tabular-feature delete-hline-above"
+               Item "Delete Line Below|e" "tabular-feature delete-hline-below"
                Separator
-               Item "Add Line to Left" "inset-modify tabular add-vline-left"
-               Item "Add Line to Right" "inset-modify tabular add-vline-right"
-               Item "Delete Line to Left" "inset-modify tabular delete-vline-left"
-               Item "Delete Line to Right" "inset-modify tabular delete-vline-right"
+               Item "Add Line to Left" "tabular-feature add-vline-left"
+               Item "Add Line to Right" "tabular-feature add-vline-right"
+               Item "Delete Line to Left" "tabular-feature delete-vline-left"
+               Item "Delete Line to Right" "tabular-feature delete-vline-right"
        End
 
        Menu "edit_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 "Transform First Non-Optional to Optional Argument" "math-macro-make-optional"
+               Item "Transform Last Optional to 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
@@ -315,27 +336,35 @@ Menuset
 #
 
        Menu "view"
-               Item "Open All Insets|O" "inset-forall * inset-toggle open"
-               Item "Close All Insets|C" "inset-forall * inset-toggle close"
-               Separator
-               Item "Unfold Math Macro|n" "math-macro-unfold"
-               Item "Fold Math Macro|d" "math-macro-fold"
-               Separator
-               Item "Outline Pane|u" "dialog-toggle toc"
-               Item "Source Pane|S" "dialog-toggle view-source"
+               Item "Outline Pane|O" "dialog-toggle toc"
+               Item "Code Preview Pane|P" "dialog-toggle view-source"
                Item "Messages Pane|g" "dialog-toggle progress"
+               Submenu "Toolbars|T" "toolbars"
+               Separator
+               OptItem "Unfold Math Macro|n" "math-macro-unfold"
+               OptItem "Fold Math Macro|d" "math-macro-fold"
                Separator
-               Item "Split View Into Left and Right Half|i" "view-split horizontal"
-               Item "Split View Into Upper and Lower Half|e" "view-split vertical"
+               Item "Split View Into Left and Right Half|L" "view-split horizontal"
+               Item "Split View Into Upper and Lower Half|U" "view-split vertical"
                OptItem "Close Current View|w" "tab-group-close"
-               Item "Fullscreen|l" "ui-toggle fullscreen"      
-               Submenu "Toolbars|b" "toolbars"
+               Item "Fullscreen|F" "ui-toggle fullscreen"
+               Separator
+               Item "Open All Insets|I" "inset-forall * inset-toggle open"
+               Item "Close All Insets|C" "inset-forall * inset-toggle close"
                Separator
                Documents
        End
 
        Menu "toolbars"
                Toolbars
+               Separator
+               Item "Lock Toolbars|L" "toolbar-movable *"
+               Separator
+               Item "Small-sized Icons" "icon-size small"
+               Item "Normal-sized Icons" "icon-size normal"
+               Item "Big-sized Icons" "icon-size big"
+               Item "Huge-sized Icons" "icon-size huge"
+               Item "Giant-sized Icons" "icon-size giant"
        End
 #
 # INSERT MENU
@@ -347,19 +376,20 @@ Menuset
                Submenu "Math|h" "insert_math"
                Submenu "Special Character|p" "insert_special"
                Submenu "Formatting|o" "insert_formatting"
-               Submenu "List / TOC|i" "insert_toc"
+               Submenu "Field|i" "insert_fields"
+               Submenu "List/Contents/References|/" "insert_toc"
                Submenu "Float|a" "insert_float"
                Submenu "Note|N" "insert_note"
                Submenu "Branch|B" "insert_branches"
                Submenu "Custom Insets" "insert_custom"
                Submenu "File|e" "insert_file"
-               Submenu "Box[[Menu]]" "insert_box"
-               OptSubmenu "Insert Regular Expression" "context-edit-regexp"
+               Submenu "Box[[Menu]]|x" "insert_box"
+               OptSubmenu "Regular Expression" "context-edit-regexp"
                Separator
                Item "Citation...|C" "dialog-show-new-inset citation"
                Item "Cross-Reference...|R" "dialog-show-new-inset ref"
                Item "Label...|L" "label-insert"
-               Item "Caption" "caption-insert"
+               Captions
                Indices
                Item "Nomenclature Entry...|y" "nomencl-insert"
                Separator
@@ -369,10 +399,13 @@ Menuset
                Item "Hyperlink...|k" "href-insert"
                Item "Footnote|F" "footnote-insert"
                Item "Marginal Note|M" "marginalnote-insert"
-               Item "Short Title|S" "argument-insert"
-               Item "TeX Code|X" "ert-insert"
                Item "Program Listing[[Menu]]" "listing-insert"
-               Item "Date" "date-insert"
+               Separator
+               EnvironmentSeparators
+               Separator
+               Arguments
+               Separator
+               Item "TeX Code" "ert-insert"
                Item "Preview|w" "preview-insert"
        End
 
@@ -380,12 +413,38 @@ Menuset
                Item "Symbols...|b" "dialog-show symbols"
                Item "Ellipsis|i" "specialchar-insert dots"
                Item "End of Sentence|E" "specialchar-insert end-of-sentence"
-               Item "Ordinary Quote|Q" "self-insert \""
-               Item "Single Quote|S" "quote-insert single"
+               Item "Plain Quotation Mark|Q" "quote-insert outer auto plain"
+               Item "Inner Quotation Mark|n" "quote-insert inner"
                Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
                Item "Breakable Slash|a" "specialchar-insert slash"
+               Item "Visible Space|V" "space-insert visible"
                Item "Menu Separator|M" "specialchar-insert menu-separator"
                Item "Phonetic Symbols|P" "ipa-insert"
+               Submenu "Logos|L" "insert_logos"
+       End
+
+       Menu "insert_fields"
+               Item "Date (Current)|D" "info-insert date"
+               Item "Date (Last Modification)|L" "info-insert moddate"
+               Item "Date (Fix)|F" "info-insert fixdate"
+               Separator
+               Item "Time (Current)|T" "info-insert time"
+               Item "Time (Last Modification)|M" "info-insert modtime"
+               Item "Time (Fix)|x" "info-insert fixtime"
+               Separator
+               Item "File Name (Excl. Extension)|N" "info-insert buffer name-noext"
+               OptItem "Version Control Revision|V" "info-insert vcs revision"
+               Item "User Name|U" "info-insert lyxrc user_name"
+               Item "User Email|E" "info-insert lyxrc user_email"
+               Separator
+               Item "Other...|O" "info-insert"
+       End
+
+       Menu "insert_logos"
+               Item "LyX Logo|L" "specialchar-insert lyx"
+               Item "TeX Logo|T" "specialchar-insert tex"
+               Item "LaTeX Logo|a" "specialchar-insert latex"
+               Item "LaTeX2e Logo|e" "specialchar-insert latex2e"
        End
 
        Menu "insert_formatting"
@@ -394,7 +453,6 @@ Menuset
                Separator
                Item "Protected Space|P" "space-insert protected"
                Item "Interword Space|w" "space-insert normal"
-               Item "Visible Space|i" "space-insert visible"
                Item "Thin Space|T" "space-insert thin"
                Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
                Item "Horizontal Line...|L" "dialog-show-new-inset line"
@@ -403,6 +461,7 @@ Menuset
                Separator
                Item "Hyphenation Point|H" "specialchar-insert hyphenation"
                Item "Ligature Break|k" "specialchar-insert ligature-break"
+               Item "Optional Line Break|B" "specialchar-insert allowbreak"
                Item "Ragged Line Break|R" "newline-insert newline"
                Item "Justified Line Break|J" "newline-insert linebreak"
                Separator
@@ -427,10 +486,10 @@ Menuset
 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
                Item "Array Environment|y" "math-matrix 2 2"
                Item "Cases Environment|C" "math-insert \cases"
-               Item "Aligned Environment|l" "command-sequence math-insert \aligned; inset-modify tabular append-column"
-               Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; inset-modify tabular append-column"
+               Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column"
+               Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
                Item "Gathered Environment|h" "math-insert \gathered"
-               Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular append-column"
+               Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
                Separator
                Item "Delimiters...|r" "dialog-show mathdelimiter"
                Item "Matrix...|x" "dialog-show mathmatrix"
@@ -450,7 +509,7 @@ Menuset
                IndicesLists
                Item "List of Listings|L" "inset-insert toc CommandInset toc LatexCommand lstlistoflistings \end_inset"
                Item "Nomenclature|N" "nomencl-print"
-               Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
+               Item "Bib(la)TeX Bibliography...|B" "dialog-show-new-inset bibtex"
        End
 
        Menu "insert_file"
@@ -483,7 +542,7 @@ Menuset
                Separator
                Item "Insert New Branch...|I" "branch-add-insert"
        End
-       
+
        Menu "insert_phantom"
                Item "Phantom|P" "phantom-insert Phantom"
                Item "Horizontal Phantom|H" "phantom-insert HPhantom"
@@ -499,17 +558,20 @@ Menuset
 #
 
        Menu "document"
+               OptItem "Cancel Background Process|P" "export-cancel"
+               Separator
                Submenu "Change Tracking|C" "document_change"
                OptItem "Build Program|B" "build-program"
                Item "LaTeX Log|L" "dialog-show latexlog"
-               Item "Start Appendix Here|A" "appendix"
+               Item "Start Appendix Here|x" "appendix"
                Separator
                ViewFormats
                UpdateFormats
                OptItem "View Master Document|M" "master-buffer-view"
                OptItem "Update Master Document|a" "master-buffer-update"
                Separator
-               Item "Compressed|m" "buffer-toggle-compression"
+               Item "Compressed|o" "buffer-toggle-compression"
+               Item "Disable Editing|E" "buffer-toggle-read-only"
                Item "Settings...|S" "dialog-show document"
        End
 
@@ -557,7 +619,7 @@ Menuset
                Item "Spellchecker...|S" "dialog-show spellchecker"
                OptItem "Thesaurus...|T" "thesaurus-entry"
                Item "Statistics...|a" "statistics"
-               OptItem "Check TeX|h" "buffer-chktex"
+               Item "Check TeX|h" "buffer-chktex"
                Item "TeX Information|I" "dialog-show texinfo"
                Item "Compare...|C" "dialog-show compare"
                Separator
@@ -588,15 +650,20 @@ Menuset
        End
 
        Menu "examples"
-               Item "Braille|B" "help-open Braille"
-               Item "Feynman-diagram|F" "help-open FeynmanDiagrams"
-               Item "Knitr|K" "help-open knitr"
-               Item "LilyPond|P" "help-open lilypond"
-               Item "Linguistics|L" "help-open linguistics"
-               Item "Multilingual Captions|C" "help-open MultilingualCaptions"
-               Item "Risk and Safety Statements|R" "help-open R-S-statements"
-               Item "Sweave|S" "help-open sweave"
-               Item "XY-pic|X" "help-open xypic"
+               Item "Beamer Presentations|B" "help-open Presentations/Beamer"
+               Item "Braille|a" "help-open Modules/Braille"
+               Item "Colored boxes|r" "help-open Modules/Fancy_Colored_Boxes"
+               Item "Feynman-diagram|F" "help-open Graphics_and_Insets/Feynman_Diagrams"
+               Item "Knitr|K" "help-open Modules/Rnw_%28knitr%29"
+               Item "LilyPond|P" "help-open Modules/LilyPond_Book"
+               Item "Linguistics|L" "help-open Modules/Linguistics"
+               Item "Multilingual Captions|C" "help-open Modules/Multilingual_Captions"
+               Item "Paralist|t" "help-open Modules/Paragraph_Lists_%28paralist%29"
+               Item "PDF comments|D" "help-open Modules/PDF_Comments"
+               Item "PDF forms|o" "help-open Modules/PDF_Form"
+               Item "Hazard and Precautionary Statements|H" "help-open Modules/Hazard_and_Precautionary_Statements"
+               Item "Sweave|S" "help-open Modules/Sweave"
+               Item "XY-pic|X" "help-open Graphics_and_Insets/XY-Pic"
        End