X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fui%2Fclassic.ui;h=0465b4d65077ada3f321bc8d897c87eaa9077ebc;hb=4c4bb362a1c6918d3fb339ef6c74eb3de5f79c63;hp=4aa34e146c8d8ccae3185d3d0c125f426b16ea22;hpb=53503ca01c5b8ab38c2c0a575ad5f45b1f668b1b;p=lyx.git diff --git a/lib/ui/classic.ui b/lib/ui/classic.ui index 4aa34e146c..0465b4d650 100644 --- a/lib/ui/classic.ui +++ b/lib/ui/classic.ui @@ -1,5 +1,30 @@ -# This is the default LyX user interface definition file. -*- text -*- -# The syntax should be straightforward enough. +# -*- text -*- + +# file classic.ui +# This file is part of LyX, the document processor. +# Licence details can be found in the file COPYING. + +# author Lars Gullik Bjønnes +# author Jean-Marc Lasgouttes +# author Rob Lahaye +# author Angus Leeming +# author Edwin Leuven +# author John Levon +# author André Pönitz +# author Allan Rae +# author Jürgen Spitzmüller +# author Kayvan Sylvan +# author Dekel Tsur +# author Jürgen Vigna +# author Herbert Voss + +# Full author contact details are available in file CREDITS. + +# This is the default LyX user interface definition file. +# The syntax should be straightforward enough. + +# The interface is designed (partially) following the KDE Human Interface +# Guidelines (http://usability.kde.org/hig/) Menuset @@ -31,7 +56,7 @@ Menuset Separator Submenu "Import|I" "file_import" Submenu "Export|E" "file_export" - Item "Print...|P" "buffer-print" + Item "Print...|P" "dialog-show print" OptItem "Fax...|F" "buffer-export fax" Separator Item "Exit|x" "lyx-quit" @@ -45,7 +70,7 @@ Menuset OptItem "Check Out for Edit|O" "vc-check-out" OptItem "Revert to Last Version|L" "vc-revert" OptItem "Undo Last Check In|U" "vc-undo-last" - OptItem "Show History|H" "vc-history" + OptItem "Show History|H" "dialog-show vclog" End Menu "file_import" @@ -70,24 +95,25 @@ Menuset Item "Paste|a" "paste" Submenu "Paste External Selection|x" "edit_paste" Separator - Item "Find & Replace...|F" "find-replace" + Item "Find & Replace...|F" "dialog-show findreplace" + Separator Submenu "Tabular|T" "edit_tabular" Submenu "Math|M" "edit_math" Separator #Item "Read Only" "buffer-toggle-read-only" - Item "Spellchecker...|S" "spellchecker" + Item "Spellchecker...|S" "dialog-show spellchecker" Item "Thesaurus..." "thesaurus-entry" + Item "Count Words|W" "words-count" Item "Check TeX|h" "buffer-chktex" - Item "Open/Close float|l" "inset-toggle" - Submenu "Change tracking|g" "edit_change" + Submenu "Change Tracking|g" "edit_change" Separator - Item "Preferences...|P" "dialog-preferences" + Item "Preferences...|P" "dialog-show prefs" Item "Reconfigure|R" "reconfigure" End Menu "edit_paste" - Item "as Lines|L" "primary-selection-paste" - Item "as Paragraphs|P" "primary-selection-paste paragraph" + Item "Selection as Lines|L" "primary-selection-paste" + Item "Selection as Paragraphs|P" "primary-selection-paste paragraph" End Menu "edit_tabular" @@ -98,13 +124,7 @@ Menuset Item "Line Left|L" "tabular-feature toggle-line-left" Item "Line Right|R" "tabular-feature toggle-line-right" Separator - Item "Align Left|e" "tabular-feature align-left" - Item "Align Center|C" "tabular-feature align-center" - Item "Align Right|i" "tabular-feature align-right" - Separator - Item "V.Align Top|o" "tabular-feature valign-top" - Item "V.Align Center|n" "tabular-feature valign-center" - Item "V.Align Bottom|V" "tabular-feature valign-bottom" + Submenu "Alignment|i" "edit_align" Separator Item "Add Row|A" "tabular-feature append-row" Item "Delete Row|w" "tabular-feature delete-row" @@ -117,6 +137,16 @@ Menuset Item "Swap Columns" "tabular-feature swap-column" End + Menu "edit_align" + 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" + End + Menu "edit_math" # Item "Make eqnarray|e" "break-line e" # Item "Make multline|m" "break-line m" @@ -135,7 +165,7 @@ Menuset Separator Submenu "Use Computer Algebra System|S" "edit_math_extern" Separator - Submenu "Alignment|A" "edit_math_align" + Submenu "Alignment|A" "edit_align" Separator Item "Add Row|R" "tabular-feature append-row" Item "Delete Row|D" "tabular-feature delete-row" @@ -171,22 +201,12 @@ Menuset Item "Eqnarray Environment|q" "math-mutate eqnarray" Item "Align Environment|A" "math-mutate align" Item "AlignAt Environment" "math-mutate alignat" - Item "Flalign Environment|f" "math-mutate flalign" + Item "Flalign Environment|F" "math-mutate flalign" #Item "XAlignAt Environment" "math-mutate xalignat" #Item "XXAlignAt Environment" "math-mutate xxalignat" Item "Gather Environment" "math-mutate gather" Item "Multline Environment" "math-mutate multline" End - - Menu "edit_math_align" - Item "Align Left|L" "tabular-feature align-left" - Item "Align Center|C" "tabular-feature align-center" - Item "Align Right|R" "tabular-feature align-right" - Separator - Item "V.Align Top|T" "tabular-feature valign-top" - Item "V.Align Center|e" "tabular-feature valign-center" - Item "V.Align Bottom|B" "tabular-feature valign-bottom" - End # # INSERT MENU # @@ -194,20 +214,20 @@ Menuset Submenu "Math|h" "insert_math" Separator Submenu "Special Character|S" "insert_special" - Item "Citation Reference...|C" "dialog-show-new-inset citation" - Item "Cross Reference...|R" "dialog-show-new-inset ref" + Item "Citation...|C" "dialog-show-new-inset citation" + Item "Cross-reference...|r" "dialog-show-new-inset ref" Item "Label...|L" "label-insert" Item "Footnote|F" "footnote-insert" Item "Marginal Note|M" "marginalnote-insert" Item "Short Title" "optional-insert" - Item "Bibliography Key" "bibitem-insert" - Item "Index Entry...|I" "index-insert" + Item "Index Entry|I" "index-insert" + Item "Glossary Entry" "nomencl-insert" Item "URL...|U" "url-insert" Item "Note|N" "note-insert" Submenu "Lists & TOC|O" "insert_toc" Separator - Item "TeX|T" "ert-insert" - Item "Minipage|p" "minipage-insert" + Item "TeX Code|T" "ert-insert" + Item "Minipage|p" "box-insert Frameless" Item "Graphics...|G" "dialog-show-new-inset graphics" Item "Tabular Material...|b" "tabular-insert" Submenu "Floats|a" "insert_floats" @@ -218,63 +238,68 @@ Menuset End Menu "insert_special" - Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free-apply; " - Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free-apply; " - Item "HFill|H" "hfill-insert" + Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;" + Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;" + Item "Horizontal Fill|H" "hfill-insert" Item "Hyphenation Point|P" "hyphenation-point-insert" Item "Ligature Break|k" "ligature-break-insert" - Item "Protected Blank|B" "protected-space-insert" - Item "Linebreak|L" "break-line" + Item "Protected Space|r" "space-insert protected" + Item "Inter-word Space|w" "space-insert normal" + Item "Thin Space|T" "space-insert thin" + Item "Vertical Space..." "dialog-show-new-inset vspace" + Item "Line Break|L" "break-line" Item "Ellipsis|i" "dots-insert" Item "End of Sentence|E" "end-of-sentence-period-insert" - Item "Ordinary Quote|Q" "self-insert \"" + Item "Single Quote|Q" "quote-insert single" + Item "Ordinary Quote|O" "self-insert \"" Item "Menu Separator|M" "menu-separator-insert" + Item "Horizontal Line" "line-insert" + Item "Page Break" "pagebreak-insert" End Menu "insert_math" - Item "Inline Formula|I" "math-mode" + Item "Inline Formula|I" "math-mode on" Item "Display Formula|D" "math-display" - Item "Eqnarray Environment|E" "command-sequence math-mode; math-mutate eqnarray;" - Item "AMS align Environment|A" "command-sequence math-mode; math-mutate align;" - Item "AMS alignat Environment|t" "command-sequence math-mode; math-mutate alignat;" - Item "AMS flalign Environment|f" "command-sequence math-mode; math-mutate flalign;" - #Item "AMS xalignat Environment|x" "command-sequence math-mode; math-mutate xalignat;" - #Item "AMS xxalignat Environment" "command-sequence math-mode; math-mutate xxalignat;" - Item "AMS gather Environment" "command-sequence math-mode; math-mutate gather;" - Item "AMS multline Environment" "command-sequence math-mode; math-mutate multline;" + Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;" + Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;" + Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;" + Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;" + #Item "AMS xalignat Environment|x" "command-sequence math-mode on; math-mutate xalignat;" + #Item "AMS xxalignat Environment" "command-sequence math-mode on; math-mutate xxalignat;" + Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;" + Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;" Separator Item "Array Environment|y" "math-matrix 2 2" Item "Cases Environment|C" "math-insert \cases" - Item "Split Environment|S" "math-insert \split" + Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column" Separator - Submenu "Font Change|f" "insert_math_font" - Item "Math Panel|l" "math-panel" + Submenu "Font Change|o" "insert_math_font" End Menu "insert_math_font" - Item "Math normal font" "math-insert \mathnormal" + Item "Math Normal Font" "math-insert \mathnormal" Separator - Item "Math calligraphic family" "math-insert \mathcal" - Item "Math fraktur family" "math-insert \mathfrak" - Item "Math roman family" "math-insert \mathrm" - Item "Math sans serif family" "math-insert \mathsf" + Item "Math Calligraphic Family" "math-insert \mathcal" + Item "Math Fraktur Family" "math-insert \mathfrak" + Item "Math Roman Family" "math-insert \mathrm" + Item "Math Sans Serif Family" "math-insert \mathsf" Separator - Item "Math bold series" "math-insert \mathbf" + Item "Math Bold Series" "math-insert \mathbf" Separator - Item "Text normal font" "math-insert \textnormal" + Item "Text Normal Font" "math-insert \textnormal" Separator - Item "Text roman family" "math-insert \textrm" - Item "Text sans serif family" "math-insert \textsf" - Item "Text typewriter family" "math-insert \texttt" + Item "Text Roman Family" "math-insert \textrm" + Item "Text Sans Serif Family" "math-insert \textsf" + Item "Text Typewriter Family" "math-insert \texttt" Separator - Item "Text bold series" "math-insert \textbf" - Item "Text medium series" "math-insert \textmd" + Item "Text Bold Series" "math-insert \textbf" + Item "Text Medium Series" "math-insert \textmd" Separator - Item "Text italic shape" "math-insert \textit" - Item "Text small caps shape" "math-insert \textsc" - Item "Text slanted shape" "math-insert \textsl" - Item "Text upright shape" "math-insert \textup" - End + Item "Text Italic Shape" "math-insert \textit" + Item "Text Small Caps Shape" "math-insert \textsc" + Item "Text Slanted Shape" "math-insert \textsl" + Item "Text Upright Shape" "math-insert \textup" + End Menu "insert_floats" FloatInsert @@ -285,28 +310,31 @@ Menuset Item "Table of Contents|C" "toc-insert" FloatListInsert Item "Index List|I" "index-print" - Item "BibTeX Reference...|B" "dialog-show-new-inset bibtex" + Item "Glossary|G" "nomencl-print" + Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex" End Menu "insert_file" Item "LyX Document...|X" "file-insert" - Item "ASCII as Lines...|L" "file-insert-ascii" - Item "ASCII as Paragraphs...|P" "file-insert-ascii-para" + Item "Plain Text...|T" "file-insert-plaintext" + Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para" End Menu "edit_change" - Item "Track changes|T" "track-changes" - Item "Merge changes ...|M" "merge-changes" - Item "Accept all changes|A" "accept-all-changes" - Item "Reject all changes|R" "reject-all-changes" + Item "Track Changes|T" "changes-track" + Item "Merge Changes...|M" "changes-merge" + Item "Accept All Changes|A" "all-changes-accept" + Item "Reject All Changes|R" "all-changes-reject" + Item "Show Changes in Output|S" "changes-output" + End # # LAYOUT MENU # Menu "layout" - Item "Character...|C" "layout-character" + Item "Character...|C" "dialog-show character" Item "Paragraph...|P" "layout-paragraph" - Item "Document...|D" "layout-document" + Item "Document...|D" "dialog-show document" OptItem "Tabular...|T" "layout-tabular" Separator Item "Emphasize Style|E" "font-emph" @@ -316,7 +344,6 @@ Menuset Separator Item "Decrease Environment Depth|v" "depth-decrement" Item "Increase Environment Depth|i" "depth-increment" - Item "Preamble...|r" "layout-preamble" Item "Start Appendix Here|S" "appendix" End @@ -329,10 +356,9 @@ Menuset OptItem "Build Program|B" "build-program" Submenu "Update|U" "update" Separator - Item "LaTeX Logfile|L" "latex-view-log" - Item "Table of Contents|T" "toc-view" - Item "Child Processes|C" "show-forks" - Item "TeX Information|X" "help-Texinfo" + Item "LaTeX Log|L" "dialog-show latexlog" + Item "Table of Contents|C" "toc-view" + Item "TeX Information|X" "dialog-show texinfo" End Menu "update" @@ -345,8 +371,8 @@ Menuset Menu "navigate" Toc Separator - Item "Note|N" "note-next" - Item "Refs|R" "reference-goto" + Item "Next Note|N" "note-next" + Item "Go to Label|L" "label-goto" Submenu "Bookmarks|B" "navigate_bookmarks" End @@ -354,10 +380,14 @@ Menuset Item "Save Bookmark 1|S" "bookmark-save 1" Item "Save Bookmark 2" "bookmark-save 2" Item "Save Bookmark 3" "bookmark-save 3" - Separator - Item "Goto Bookmark 1|1" "bookmark-goto 1" - Item "Goto Bookmark 2|2" "bookmark-goto 2" - Item "Goto Bookmark 3|3" "bookmark-goto 3" + Item "Save Bookmark 4" "bookmark-save 4" + Item "Save Bookmark 5" "bookmark-save 5" + Separator + Item "Go to Bookmark 1|1" "bookmark-goto 1" + Item "Go to Bookmark 2|2" "bookmark-goto 2" + Item "Go to Bookmark 3|3" "bookmark-goto 3" + Item "Go to Bookmark 4|4" "bookmark-goto 4" + Item "Go to Bookmark 5|5" "bookmark-goto 5" End # @@ -372,27 +402,36 @@ Menuset # HELP MENU # Menu "help" - Item "Tooltips|o" "toggle-tooltips" - Separator Item "Introduction|I" "help-open Intro" Item "Tutorial|T" "help-open Tutorial" Item "User's Guide|U" "help-open UserGuide" Item "Extended Features|E" "help-open Extended" + Item "Embedded Objects|m" "help-open EmbeddedObjects" Item "Customization|C" "help-open Customization" # Item "Reference Manual|R" "help-open Reference" Item "FAQ|F" "help-open FAQ" Item "Table of Contents|a" "help-open TOC" Item "LaTeX Configuration|L" "help-open LaTeXConfig" Separator - Item "About LyX|X" "help-aboutlyx" + Item "About LyX|X" "dialog-show aboutlyx" End -End - -# A Toolbar starts like : # -# Toolbar "Name" "on" +# LYX MENU - this menu is only used by LyX/Mac # + + Menu "LyX" + Item "About LyX" "dialog-show aboutlyx" + Item "Preferences..." "dialog-show prefs" + Item "Quit LyX" "lyx-quit" + End + +End + +# Which toolbars to use. + +include "stdtoolbars.inc" + # The second parameter are the flags : # # on: the toolbar is visible @@ -404,53 +443,10 @@ End # left: the toolbar should be at the left of the window # right: the toolbar should be at the right of the window # -# Only four commands are allowed inside the begin_toolbar and end_toolbar -# directives: -# Item " []" adds an icon to the toolbar performing -# " " -# Examples: -# Item "font-size small" -# Item set-emph -# -# Layouts adds the layouts combo-box to the toolbar -# -# Separator adds some spacing to the toolbar -# -# Minibuffer adds the command buffer (Qt only, only one may exist) -# -# The icons are found in the lib/image direcory under the name -# action.xpm or action_parameter.xpm. -# -# All other lyx commands will get a "unknown" icon. -# -# This is the default toolbar: - -Toolbar "Standard" "on,top" - Layouts - Item "Open document" "file-open" - Item "Save document" "buffer-write" - Item "Print document" "buffer-print" - Separator - Item "Cut selection" "cut" - Item "Copy selection" "copy" - Item "Paste" "paste" - Separator - Item "Toggle emphasis style" "font-emph" - Item "Toggle noun style" "font-noun" - Item "Toggle free style" "font-free-apply" - Separator - Item "Insert TeX" "ert-insert" - Item "Insert math" "math-mode" - #Item "math-panel" - Separator - Item "Insert footnote" "footnote-insert" - Item "Insert margin note" "marginalnote-insert" - Item "Increase depth" "depth-increment" - Separator - Item "Insert graphics" "dialog-show-new-inset graphics" - Item "Insert table" "tabular-insert" -End - -Toolbar "Command Buffer" "on,bottom" - Minibuffer +Toolbars + "standard" "on,top" + "extra" "on,top" + "table" "off,bottom" + "math" "off,bottom" + "minibuffer" "off,bottom" End