]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/default.ui
Fix sideset keyboard short cuts
[lyx.git] / lib / ui / default.ui
index c89eb07fb6701ad8ed335373dbc91b0ff254e769..cc75e9cbf1b4a13ef313b1565641739dd150a5a8 100644 (file)
-# This is the default LyX user interface definition file.         -*- text -*-
-# The syntax should be straightforward enough. 
+# -*- text -*-
 
-Menuset
+# file default.ui
+# This file is part of LyX, the document processor.
+# Licence details can be found in the file COPYING.
 
-    Menubar
-       Submenu "File|F" "file"
-       Submenu "Edit|E" "edit"
-       Submenu "Insert|I" "insert"
-       Submenu "Layout|L" "layout"
-       Submenu "View|V" "view"
-       Submenu "Navigate|N" "navigate"
-       Submenu "Documents|D" "documents"
-       Submenu "Help|H" "help"
-    End
+# author John Levon
 
-#
-# FILE MENU
-#
-
-    Menu "file"
-       Item "New|N" "buffer-new"
-       Item "New from Template...|T" "buffer-new-template"
-       Item "Open...|O" "file-open"
-       Separator
-       Item "Close|C" "buffer-close"
-       Item "Save|S" "buffer-write"
-       Item "Save As...|A" "buffer-write-as"
-       Item "Revert|R" "buffer-reload"
-       Submenu "Version Control|V" "file_vc"
-       Separator
-       Submenu "Import|I" "file_import"
-       Submenu "Export|E" "file_export"
-       Item "Print...|P" "buffer-print"
-       OptItem "Fax...|F" "buffer-export fax"
-       Separator
-       Item "Exit|x" "lyx-quit"
-       Separator
-       Lastfiles
-    End
-
-    Menu "file_vc"
-       OptItem "Register...|R" "vc-register"
-       OptItem "Check In Changes...|I" "vc-check-in"
-       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"
-    End
-
-    Menu "file_import"
-       ImportFormats
-    End
-
-    Menu "file_export"
-       ExportFormats
-       Item "Custom...|C" "buffer-export custom"
-    End
-
-#
-# EDIT MENU
-#
-
-    Menu "edit"
-       Item "Undo|U" "undo"
-       Item "Redo|d" "redo"
-       Separator
-       Item "Cut|C" "cut"
-       Item "Copy|o" "copy"
-       Item "Paste|a" "paste"
-       Submenu "Paste External Selection|x" "edit_paste"
-       Separator
-       Item "Find & Replace...|F" "find-replace"
-       Submenu "Tabular|T" "edit_tabular"
-       Submenu "Math|M" "edit_math"
-       Separator
-       #Item "Read Only" "buffer-toggle-read-only"
-       Item "Spellchecker...|S" "spellchecker"
-       Item "Thesaurus..." "thesaurus-entry"
-       Item "Check TeX|h" "buffer-chktex"
-       Item "Remove All Error Boxes|E" "error-remove-all"
-       Item "Open/Close float|l" "inset-toggle"
-       Submenu "Change tracking|h" "edit_change"
-       Separator
-       Item "Preferences...|P" "dialog-preferences"
-       Item "Reconfigure|R" "reconfigure"
-    End
-
-    Menu "edit_paste"
-       Item "as Lines|L" "primary-selection-paste"
-       Item "as Paragraphs|P" "primary-selection-paste paragraph"
-    End
-
-    Menu "edit_tabular"
-       Item "Multicolumn|M" "tabular-feature multicolumn"
-       Separator
-       Item "Line Top|T" "tabular-feature toggle-line-top"
-       Item "Line Bottom|B" "tabular-feature toggle-line-bottom"
-       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"
-       Separator
-       Item "Add Row|A" "tabular-feature append-row"
-       Item "Delete Row|w" "tabular-feature delete-row"
-       Item "Copy Row" "tabular-feature copy-row"
-       Item "Swap Rows" "tabular-feature swap-row"
-       Separator
-       Item "Add Column|u" "tabular-feature append-column"
-       Item "Delete Column|D" "tabular-feature delete-column"
-       Item "Copy Column" "tabular-feature copy-column"
-       Item "Swap Columns" "tabular-feature swap-column"
-    End
-
-    Menu "edit_math"
-#      Item "Make eqnarray|e" "break-line e"
-#      Item "Make multline|m" "break-line m"
-#      Item "Make align 1 column|1"  "break-line 1"
-#      Item "Make align 2 columns|2"  "break-line 2"
-#      Item "Make align 3 columns|3"  "break-line 3"
-#      Item "Make alignat 2 columns|2"  "break-line B"
-#      Item "Make alignat 3 columns|3"  "break-line C"
-#      Separator
-       Item "Toggle Numbering|N" "math-number"
-       Item "Toggle Numbering of Line|u" "math-nonumber"
-#      Item "Toggle limits|l" "math-limits"
-       Submenu "Change Limits Type|L" "edit_math_limits"
-       Separator
-       Submenu "Change Formula Type|F" "edit_math_mutate"
-       Separator
-       Submenu "Use Computer Algebra System|S" "edit_math_extern"
-       Separator
-       Submenu "Alignment|A" "edit_math_align"
-       Separator
-       Item "Add Row|R" "tabular-feature append-row"
-       Item "Delete Row|D" "tabular-feature delete-row"
-       Item "Copy Row" "tabular-feature copy-row"
-       Item "Swap Rows" "tabular-feature swap-row"
-       Separator
-       Item "Add Column|C" "tabular-feature append-column"
-       Item "Delete Column|e" "tabular-feature delete-column"
-       Item "Copy Column" "tabular-feature copy-column"
-       Item "Swap Columns" "tabular-feature swap-column"
-    End
-
-    Menu "edit_math_limits"
-        Item "Default|t"  "math-limits empty"
-        Item "Display|D"  "math-limits limits"
-        Item "Inline|I"  "math-limits nolimits"
-    End
-
-    Menu "edit_math_extern"
-       Item "Octave" "math-extern octave"
-       Item "Maxima" "math-extern maxima"
-       Item "Mathematica" "math-extern mathematica"
-       Separator
-       Item "Maple, simplify" "math-extern maple simplify"
-       Item "Maple, factor" "math-extern maple factor"
-       Item "Maple, evalm" "math-extern maple evalm"
-       Item "Maple, evalf" "math-extern maple evalf"
-    End
-
-    Menu "edit_math_mutate"
-       Item "Inline Formula|I" "math-mutate simple"
-       Item "Displayed Formula|D" "math-mutate equation"
-       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 "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
-#
-    Menu "insert"
-        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 "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 "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 "Graphics...|G" "dialog-show-new-inset graphics"
-       Item "Tabular Material...|b" "tabular-insert"
-       Submenu "Floats|a" "insert_floats"
-       Separator
-       Item "Include File...|d" "dialog-show-new-inset include"
-       Submenu "Insert File|e" "insert_file"
-       Item "External Material...|x" "dialog-show-new-inset external"
-    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 "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 "Ellipsis|i" "dots-insert"
-       Item "End of Sentence|E" "end-of-sentence-period-insert"
-       Item "Ordinary Quote|Q" "self-insert \""
-       Item "Menu Separator|M" "menu-separator-insert"
-    End
+# Full author contact details are available in file CREDITS.
 
-    Menu "insert_math"
-       Item "Inline Formula|I" "math-mode"
-       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;"
-  Separator
-       Item "Array Environment|y" "math-matrix 2 2"
-       Item "Cases Environment|C" "math-insert \cases"
-       Item "Split Environment|S" "math-insert \split"
-  Separator
-       Submenu "Font Change|f" "insert_math_font"
-       Item "Math Panel|l" "math-panel"
-    End
+# This is the default LyX user interface definition file.
+# The syntax should be straightforward enough.
 
-    Menu "insert_math_font"
-       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"
-       Separator
-       Item "Math bold series" "math-insert \mathbf"
-       Separator
-       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"
-       Separator
-       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
+# The interface is designed (partially) following the KDE Human Interface
+# Guidelines (http://techbase.kde.org/Projects/Usability/HIG)
 
-    Menu "insert_floats"
-       FloatInsert
-       Item "Floatflt Figure" "wrap-insert figure"
-    End
+Format 1
 
-    Menu "insert_toc"
-       Item "Table of Contents|C" "toc-insert"
-       FloatListInsert
-       Item "Index List|I" "index-print"
-       Item "BibTeX Reference...|B" "dialog-show-new-inset bibtex"
-    End
+Include "stdmenus.inc"
 
-    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"
-    End
+Include "stdcontext.inc"
 
-    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"
-    End
-#
-# LAYOUT MENU
-#
-    Menu "layout"
-       Item "Character...|C" "layout-character"
-       Item "Paragraph...|P" "layout-paragraph"
-       Item "Document...|D" "layout-document"
-       OptItem "Tabular...|T" "layout-tabular"
-       Separator
-       Item "Emphasize Style|E" "font-emph"
-       Item "Noun Style|N" "font-noun"
-       Item "Bold Style|B" "font-bold"
-#      Item "TeX Style|X" "tex-mode"
-       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
-
-
-#
-# VIEW MENU
-#
-    Menu "view"
-       ViewFormats
-       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"
-    End
-
-    Menu "update"
-       UpdateFormats
-    End
-
-#
-# NAVIGATE MENU
-#
-    Menu "navigate"
-       Toc
-       Separator
-       Item "Error|E" "error-next"
-       Item "Note|N" "note-next"
-       Item "Refs|R" "reference-goto"
-       Submenu "Bookmarks|B" "navigate_bookmarks"
-    End
-
-    Menu "navigate_bookmarks"
-       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"
-    End
-
-#
-# DOCUMENTS MENU
-#
-
-    Menu "documents"
-       Documents
-    End
+Include "stdtoolbars.inc"
 
+# Which toolbars to use.
 #
-# HELP MENU
+# The second parameter are the flags :
 #
-    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 "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"
-    End
-
-End
-
-# Setup your favorite Toolbar here:
-# Only three commands are allowed inside the begin_toolbar and end_toolbar
-# directives: 
-#   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
-#          "<action> <parameter>"
-#      Examples:
-#      Icon "font-size small"
-#      Icon set-emph
+# on: the toolbar is visible
+# off: the toolbar is not visible
+# auto: the toolbar is automatically shown and hidden depending on the
+#       next 3 flags.
 #
-#   Layouts adds the layouts combo-box to the toolbar
+# math: the toolbar is visible only when in math
+# mathmacrotemplate: the toolbar is visible only when in a macro definition
+# table: the toolbar is visible only when in a table
+# review: the toolbar is visible only when inside a tracked change
+# ipa: the toolbar is only visible when inside an ipa inset
 #
-#   Separator adds some spacing to the toolbar
+# top: the toolbar should be at the top of the window
+# bottom: the toolbar should be at the bottom of the window
+# left: the toolbar should be at the left of the window
+# right: the toolbar should be at the right of the window
 #
-# The icons are found in the lib/image direcory under the name
-# action.xpm or action_parameter.xpm.
+# samerow: do not create new line for this toolbar
+#        (note that order of toolbars is defined in stdtoolbars.inc)
 #
-#  All other lyx commands will get a "unknown" icon.
-#
-# This is the default toolbar:
-
-Toolbar
-    Layouts
-    Icon "file-open"
-    Icon "buffer-write"
-    Icon "buffer-print"
-    Separator
-    Icon "cut"
-    Icon "copy"
-    Icon "paste"
-    Separator
-    Icon "font-emph"
-    Icon "font-noun"
-    Icon "font-free-apply"
-    Separator
-    Icon "ert-insert"
-    Icon "math-mode"
-    #Icon "math-panel"
-    Separator
-    Icon "footnote-insert"
-    Icon "marginalnote-insert"
-    Icon "depth-increment"
-    Separator
-    Icon "dialog-show-new-inset graphics"
-    Icon "tabular-insert"
+Toolbars
+       "standard" "on,top"
+       "view/update" "on,top"
+       "extra" "on,top,samerow"
+       "review" "auto,review,top"
+       "vcs" "off,top"
+       "table" "auto,table,bottom"
+       "math_panels" "auto,math,bottom"
+       "math" "auto,math,bottom"
+       "mathmacrotemplate" "auto,mathmacrotemplate,bottom"
+       "ipa" "auto,ipa,bottom"
+       "minibuffer" "off,bottom"
 End