]> git.lyx.org Git - features.git/commitdiff
* lib/ui/stdmenus.inc:
authorMichael Schmitt <michael.schmitt@teststep.org>
Sat, 6 Jan 2007 13:42:15 +0000 (13:42 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Sat, 6 Jan 2007 13:42:15 +0000 (13:42 +0000)
* lib/ui/stdmenus.ui: rename file in order not to confuse users
* lib/ui/stdtoolbars.inc:
* lib/ui/stdtoolbars.ui: rename file in order not to confuse users

* development/scons/scons_manifest.py:
* lib/doc/de_Customization.lyx:
* lib/Makefile.am:
* lib/ui/classic.ui:
* lib/ui/default.ui: adjust

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16549 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/scons_manifest.py
lib/Makefile.am
lib/doc/de_Customization.lyx
lib/ui/classic.ui
lib/ui/default.ui
lib/ui/stdmenus.inc [new file with mode: 0644]
lib/ui/stdmenus.ui [deleted file]
lib/ui/stdtoolbars.inc [new file with mode: 0644]
lib/ui/stdtoolbars.ui [deleted file]

index 7663f90374ae06949c839abf54dc7ffd0abad13b..d51e08c3903b48228de1a39f41d9bf8b0004d790 100644 (file)
@@ -2248,8 +2248,8 @@ lib_tex_files = Split('''
 lib_ui_files = Split('''
     classic.ui
     default.ui
-    stdmenus.ui
-    stdtoolbars.ui
+    stdmenus.inc
+    stdtoolbars.inc
 ''')
 
 
index 94761e53be8f9c4c309e6880cb5f2d966dee15cd..d0dd27b2f81bf530ecbb62ccc3f2d01de67fe0a5 100644 (file)
@@ -972,8 +972,8 @@ uidir = $(pkgdatadir)/ui
 dist_ui_DATA = \
        ui/classic.ui \
        ui/default.ui \
-       ui/stdmenus.ui \
-       ui/stdtoolbars.ui
+       ui/stdmenus.inc \
+       ui/stdtoolbars.inc
 
 install-data-hook:
        $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure.py
index e10eb66f60f5021f092e6a9c0ade1b63c44bfd37..3001d2f5d0fc27b8615104744fe78e82d6131080 100644 (file)
@@ -2299,11 +2299,11 @@ classic.ui
  erzeugt das Aussehen der 1.3.x-Versionen von LyX.
  
 \family typewriter
-stdmenus.ui
+stdmenus.inc
 \family default
  beschreibt das Aussehen der Menüleisten und 
 \family typewriter
-stdtoolbars.ui
+stdtoolbars.inc
 \family default
  das Aussehen der Werkzeugleisten.
  Auch hier ist es derzeit noch nötig, LyX neu zu starten, um Änderungen
@@ -2394,11 +2394,11 @@ default.ui
 .
  Sie benutzt 
 \family typewriter
-stdtoolbars.ui
+stdtoolbars.inc
 \family default
  und 
 \family typewriter
-stdmenus.ui
+stdmenus.inc
 \family default
  und definiert folgende Werkzeugleisten:
 \end_layout
index 482bbfc9935632f0464dac7a31e49037372440db..badecdf2cd01af3c6cff01c4b1619477b5d13714 100644 (file)
@@ -430,7 +430,7 @@ End
 
 # Which toolbars to use.
 
-include "stdtoolbars.ui"
+include "stdtoolbars.inc"
 
 # The second parameter are the flags :
 #
index 05ab58ca206edcfbe116744ace810fb9651778f4..9ce1952f3498aefd54864c748d3e5859b97221d2 100644 (file)
@@ -14,9 +14,9 @@
 # The interface is designed (partially) following the KDE Human Interface
 # Guidelines (http://usability.kde.org/hig/)
 
-Include "stdmenus.ui"
+Include "stdmenus.inc"
 
-Include "stdtoolbars.ui"
+Include "stdtoolbars.inc"
 
 # Which toolbars to use.
 #
diff --git a/lib/ui/stdmenus.inc b/lib/ui/stdmenus.inc
new file mode 100644 (file)
index 0000000..300afaf
--- /dev/null
@@ -0,0 +1,475 @@
+# -*- text -*-
+
+# file stdmenus.inc
+# This file is part of LyX, the document processor.
+# Licence details can be found in the file COPYING.
+
+# author Jean-Marc Lasgouttes
+# author John Levon
+# author Michael Gerz
+
+# Full author contact details are available in file CREDITS.
+
+# The interface is designed (partially) following the KDE Human Interface
+# Guidelines (http://usability.kde.org/hig/)
+
+Menuset
+
+       Menubar
+# Make the first 4 menus be as much as expected as possible
+               Submenu "File|F" "file"
+               Submenu "Edit|E" "edit"
+               Submenu "View|V" "view"
+               Submenu "Insert|I" "insert"
+               Submenu "Navigate|N" "navigate"
+               Submenu "Document|D" "document"
+               Submenu "Tools|T" "tools"
+               Submenu "Help|H" "help"
+       End
+
+#
+# FILE MENU
+#
+
+       Menu "file"
+               Item "New|N" "buffer-new"
+               Item "New from Template...|m" "buffer-new-template"
+               Item "Open...|O" "file-open"
+               Submenu "Open Recent|t" "file_lastfiles"
+               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" "dialog-show print"
+               OptItem "Fax...|F" "buffer-export fax"
+               Separator
+               Item "New Window|W" "window-new"
+               Item "Close Window|d" "window-close"
+               Separator
+               Item "Exit|x" "lyx-quit"
+       End
+
+       Menu "file_lastfiles"
+               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" "dialog-show vclog"
+       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|R" "redo"
+               Separator
+               Item "Cut" "cut"
+               Item "Copy" "copy"
+               Item "Paste" "paste"
+               Submenu "Paste Recent|e" "edit_pasterecent"
+               Submenu "Paste Special" "edit_paste"
+               Separator
+               Item "Find & Replace...|F" "dialog-show findreplace"
+               Separator
+               Item "Move Paragraph Up|o" "paragraph-move-up"
+               Item "Move Paragraph Down|v" "paragraph-move-down"
+               Separator
+               Submenu "Text Style|S" "edit_textstyles"
+               Item "Paragraph Settings...|P" "layout-paragraph"
+               Separator
+# Mathed b0rkage means these don't work properly
+               OptSubmenu "Table|T" "edit_tabular"
+               OptSubmenu "Math|M" "edit_math"
+               OptSubmenu "Rows & Columns|C" "edit_tabular_features"
+               Separator
+# This is where the context-specific stuff is supposed to go.
+# The idea is that everything on here can disappear and should
+# only appear when relevant (getStatus). Only stuff that needs
+# a right-click to bring up the dialog should appear here (it is not
+# obvious what the context is for the others)
+               OptItem "Increase List Depth|I" "depth-increment"
+               OptItem "Decrease List Depth|D" "depth-decrement"
+               OptItem "Dissolve Inset|l" "inset-dissolve"
+               OptItem "TeX Code Settings...|C" "inset-settings ert"
+# 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
+               OptItem "Float Settings...|a" "inset-settings float"
+               OptItem "Text Wrap Settings...|W" "inset-settings wrap"
+               OptItem "Note Settings...|N" "inset-settings note"
+               OptItem "Branch Settings...|B" "inset-settings branch"
+               OptItem "Box Settings...|x" "inset-settings box"
+# Hey, guess what's broken ? Surprise surprise, it's tabular stuff
+# This is in the Table submenu instead for now.
+#      OptItem "Table Settings...|a" "inset-settings tabular"
+               OptItem "Table Settings...|a" "layout-tabular"
+       End
+
+       Menu "edit_paste"
+               Item "Clipboard as Lines|C" "clipboard-paste"
+               Item "Clipboard as Paragraphs|a" "clipboard-paste paragraph"
+               Item "Selection as Lines|L" "primary-selection-paste"
+               Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
+       End
+
+       Menu "edit_pasterecent"
+               PasteRecent
+       End
+
+       Menu "edit_textstyles"
+               CharStyles
+               Separator
+               Item "Customized...|C" "dialog-show character"
+               Separator
+               Item "Capitalize|a" "word-capitalize"
+               Item "Uppercase|U" "word-upcase"
+               Item "Lowercase|L" "word-lowcase"
+       End
+
+# not much we can do to help here
+       Menu "edit_tabular"
+               Item "Multicolumn|M" "tabular-feature multicolumn"
+               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
+       End
+
+       Menu "edit_tabular_features"
+               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"
+               Separator
+               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 "Swap Rows|S" "tabular-feature swap-row"
+               Separator
+               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 "Swap Columns|w" "tabular-feature swap-column"
+       End
+
+       Menu "edit_math"
+               Item "Toggle Numbering|N" "math-number"
+               Item "Toggle Numbering of Line|u" "math-nonumber"
+               Submenu "Change Limits Type|L" "edit_math_limits"
+               Separator
+               Submenu "Change Formula Type|F" "edit_math_mutate"
+               Separator
+               Submenu "Text Style|T" "edit_math_textstyles"
+               Separator
+               Submenu "Use Computer Algebra System|S" "edit_math_extern"
+               Separator
+               Item "Split Cell|C" "cell-split"
+               Separator
+               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" "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_limits"
+                Item "Default|t"  "math-limits empty"
+                Item "Display|D"  "math-limits limits"
+                Item "Inline|I"  "math-limits nolimits"
+       End
+
+       Menu "edit_math_textstyles"
+               Item "Math Normal Font|N" "math-insert \mathnormal"
+               Separator
+               Item "Math Calligraphic Family|C" "math-insert \mathcal"
+               Item "Math Fraktur Family|F" "math-insert \mathfrak"
+               Item "Math Roman Family|R" "math-insert \mathrm"
+               Item "Math Sans Serif Family|S" "math-insert \mathsf"
+               Separator
+               Item "Math Bold Series|B" "math-insert \mathbf"
+               Separator
+               Item "Text Normal Font|T" "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
+
+       Menu "edit_math_extern"
+               Item "Octave|O" "math-extern octave"
+               Item "Maxima|M" "math-extern maxima"
+               Item "Mathematica|a" "math-extern mathematica"
+               Separator
+               Item "Maple, simplify|s" "math-extern maple simplify"
+               Item "Maple, factor|f" "math-extern maple factor"
+               Item "Maple, evalm|e" "math-extern maple evalm"
+               Item "Maple, evalf|v" "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|E" "math-mutate eqnarray"
+               Item "AMS align Environment|a" "math-mutate align"
+               Item "AMS alignat Environment|t" "math-mutate alignat"
+               Item "AMS flalign Environment|f" "math-mutate flalign"
+               Item "AMS gather Environment|g" "math-mutate gather"
+               Item "AMS multline Environment|m" "math-mutate multline"
+       End
+
+#
+# VIEW MENU
+#
+
+       Menu "view"
+               Item "Open All Insets|O" "all-insets-toggle open"
+               Item "Close All Insets|C" "all-insets-toggle close"
+               Separator
+               Item "View Source|S" "dialog-show view-source"
+               Submenu "Update|U" "view_update"
+               ViewFormats
+               Separator
+               Submenu "Toolbars|b" "toolbars"
+               Separator
+           Documents
+       End
+
+       Menu "view_update"
+               UpdateFormats
+       End
+
+       Menu "toolbars"
+               Toolbars
+       End
+#
+# INSERT MENU
+#
+       Menu "insert"
+# Try and group things a little better, and percolate the most
+# commonly used to good positions (exception being mathed, but
+# most people using mathed learn key shortcuts quite quickly anyway)
+               Submenu "Math|h" "insert_math"
+               Submenu "Special Character|p" "insert_special"
+               Submenu "Formatting|o" "insert_formatting"
+               Submenu "List / TOC|i" "insert_toc"
+               Submenu "Float|a" "insert_float"
+               Submenu "Note|N" "insert_note"
+               OptSubmenu "Branch|B" "insert_branches"
+               Submenu "File|e" "insert_file"
+               Item "Box" "box-insert Frameless"
+               Separator
+               Item "Citation...|C" "dialog-show-new-inset citation"
+               Item "Cross-Reference...|R" "dialog-show-new-inset ref"
+               Item "Label...|L" "label-insert"
+               Item "Index Entry|d" "index-insert"
+               Item "Glossary Entry|y" "nomencl-insert"
+               Separator
+               Item "Table...|T" "tabular-insert"
+               Item "Graphics...|G" "dialog-show-new-inset graphics"
+               Item "URL...|U" "url-insert"
+               Item "Footnote|F" "footnote-insert"
+               Item "Marginal Note|M" "marginalnote-insert"
+               Item "Short Title|S" "optional-insert"
+               Item "TeX Code|X" "ert-insert"
+               Item "Date" "date-insert"
+       End
+
+       Menu "insert_special"
+               Item "Ellipsis|i" "dots-insert"
+               Item "End of Sentence|E" "end-of-sentence-period-insert"
+               Item "Ordinary Quote|Q" "self-insert \""
+               Item "Single Quote|S" "quote-insert single"
+               Item "Menu Separator|M" "menu-separator-insert"
+               Item "Phonetic Symbols|y" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
+       End
+
+       Menu "insert_formatting"
+               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;"
+               Separator
+               Item "Protected Space|P" "space-insert protected"
+               Item "Inter-word Space|w" "space-insert normal"
+               Item "Thin Space|T" "space-insert thin"
+               Item "Horizontal Fill|F" "hfill-insert"
+               Item "Horizontal Line|L" "line-insert"
+               Item "Vertical Space...|V" "dialog-show-new-inset vspace"
+               Separator
+               Item "Hyphenation Point|H" "hyphenation-point-insert"
+               Item "Ligature Break|k" "ligature-break-insert"
+               Item "Line Break|B" "break-line"
+               Separator
+               Item "Page Break|a" "pagebreak-insert"
+               Item "Clear Page|C" "clearpage-insert"
+               Item "Clear Double Page|D" "cleardoublepage-insert"
+       End
+
+       Menu "insert_math"
+               Item "Inline Formula|I" "math-mode on"
+               Item "Display Formula|D" "math-display"
+               Item "Numbered Formula|N" "command-sequence math-display; math-number;"
+               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 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" "command-sequence math-mode on; math-insert \cases"
+               Item "Aligned Environment|l" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"
+               Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"
+               Item "Gathered Environment|h" "command-sequence math-mode on; math-insert \gathered"
+               Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"
+               Separator
+               Item "Math Panel|P" "dialog-show mathpanel"
+       End
+
+       Menu "insert_float"
+               FloatInsert
+# This has got to be better than "Wrap", anyway
+               Item "Text Wrap Float|W" "wrap-insert figure"
+       End
+
+       Menu "insert_toc"
+               Item "Table of Contents|C" "toc-insert"
+               FloatListInsert
+               Item "Index List|I" "index-print"
+               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 "Plain Text as Lines...|L" "file-insert-ascii"
+               Item "Plain Text as Paragraphs...|P" "file-insert-ascii-para"
+               Separator
+               Item "External Material...|M" "dialog-show-new-inset external"
+               Item "Child Document...|d" "dialog-show-new-inset include"
+       End
+
+       Menu "insert_note"
+               Item "LyX Note|N" "note-insert Note"
+               Item "Comment|C" "note-insert Comment"
+               Item "Greyed Out|G" "note-insert Greyedout"
+       End
+
+       Menu "insert_branches"
+               Branches
+       End
+
+#
+# DOCUMENT MENU
+#
+
+       Menu "document"
+               Submenu "Change Tracking|C" "document_change"
+               OptItem "Build Program|B" "build-program"
+               Item "LaTeX Log|L" "dialog-show latexlog"
+               Item "Table of Contents|T" "toc-view"
+               Item "Start Appendix Here|A" "appendix"
+               Separator
+               Item "Compressed|o" "buffer-toggle-compression"
+               Item "Settings...|S" "dialog-show document"
+       End
+
+       Menu "document_change"
+               Item "Track Changes|T" "changes-track"
+               Item "Merge Changes...|M" "changes-merge"
+               Item "Accept Change|A" "change-accept"
+               Item "Reject Change|R" "change-reject"
+               Item "Accept All Changes|c" "all-changes-accept"
+               Item "Reject All Changes|e" "all-changes-reject"
+               Item "Show Changes in Output|S" "changes-output"
+       End
+
+#
+# NAVIGATE MENU
+#
+       Menu "navigate"
+               Submenu "Bookmarks|B" "navigate_bookmarks"
+               Item "Next Note|N" "note-next"
+               Item "Next Change|C" "change-next"
+               Item "Next Cross-Reference|R" "reference-next"
+               Item "Go to Label|L" "label-goto"
+               Separator
+               Toc
+       End
+
+       Menu "navigate_bookmarks"
+               Item "Save Bookmark|S" "bookmark-save 1"
+               Item "Clear Bookmarks|C" "bookmark-clear"
+               Separator
+               Bookmarks
+       End
+
+#
+# TOOLS MENU
+#
+
+       Menu "tools"
+               Item "Spellchecker...|S" "dialog-show spellchecker"
+               OptItem "Thesaurus...|T" "thesaurus-entry"
+               Item "Count Words|W" "words-count"
+               OptItem "Check TeX|h" "buffer-chktex"
+               Item "TeX Information|I" "dialog-show texinfo"
+               Separator
+# A LOT of applications have Tools->Prefs. Remember this
+# should be rarely used - Edit menu is not a good place to
+# have it.
+               Item "Reconfigure|R" "reconfigure"
+               Item "Preferences...|P" "dialog-show prefs"
+       End
+
+#
+# HELP MENU
+#
+       Menu "help"
+               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 "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" "dialog-show aboutlyx"
+       End
+
+End
diff --git a/lib/ui/stdmenus.ui b/lib/ui/stdmenus.ui
deleted file mode 100644 (file)
index f6d4e1f..0000000
+++ /dev/null
@@ -1,475 +0,0 @@
-# -*- text -*-
-
-# file stdmenus.ui
-# This file is part of LyX, the document processor.
-# Licence details can be found in the file COPYING.
-
-# author Jean-Marc Lasgouttes
-# author John Levon
-# author Michael Gerz
-
-# Full author contact details are available in file CREDITS.
-
-# The interface is designed (partially) following the KDE Human Interface
-# Guidelines (http://usability.kde.org/hig/)
-
-Menuset
-
-       Menubar
-# Make the first 4 menus be as much as expected as possible
-               Submenu "File|F" "file"
-               Submenu "Edit|E" "edit"
-               Submenu "View|V" "view"
-               Submenu "Insert|I" "insert"
-               Submenu "Navigate|N" "navigate"
-               Submenu "Document|D" "document"
-               Submenu "Tools|T" "tools"
-               Submenu "Help|H" "help"
-       End
-
-#
-# FILE MENU
-#
-
-       Menu "file"
-               Item "New|N" "buffer-new"
-               Item "New from Template...|m" "buffer-new-template"
-               Item "Open...|O" "file-open"
-               Submenu "Open Recent|t" "file_lastfiles"
-               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" "dialog-show print"
-               OptItem "Fax...|F" "buffer-export fax"
-               Separator
-               Item "New Window|W" "window-new"
-               Item "Close Window|d" "window-close"
-               Separator
-               Item "Exit|x" "lyx-quit"
-       End
-
-       Menu "file_lastfiles"
-               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" "dialog-show vclog"
-       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|R" "redo"
-               Separator
-               Item "Cut" "cut"
-               Item "Copy" "copy"
-               Item "Paste" "paste"
-               Submenu "Paste Recent|e" "edit_pasterecent"
-               Submenu "Paste Special" "edit_paste"
-               Separator
-               Item "Find & Replace...|F" "dialog-show findreplace"
-               Separator
-               Item "Move Paragraph Up|o" "paragraph-move-up"
-               Item "Move Paragraph Down|v" "paragraph-move-down"
-               Separator
-               Submenu "Text Style|S" "edit_textstyles"
-               Item "Paragraph Settings...|P" "layout-paragraph"
-               Separator
-# Mathed b0rkage means these don't work properly
-               OptSubmenu "Table|T" "edit_tabular"
-               OptSubmenu "Math|M" "edit_math"
-               OptSubmenu "Rows & Columns|C" "edit_tabular_features"
-               Separator
-# This is where the context-specific stuff is supposed to go.
-# The idea is that everything on here can disappear and should
-# only appear when relevant (getStatus). Only stuff that needs
-# a right-click to bring up the dialog should appear here (it is not
-# obvious what the context is for the others)
-               OptItem "Increase List Depth|I" "depth-increment"
-               OptItem "Decrease List Depth|D" "depth-decrement"
-               OptItem "Dissolve Inset|l" "inset-dissolve"
-               OptItem "TeX Code Settings...|C" "inset-settings ert"
-# 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
-               OptItem "Float Settings...|a" "inset-settings float"
-               OptItem "Text Wrap Settings...|W" "inset-settings wrap"
-               OptItem "Note Settings...|N" "inset-settings note"
-               OptItem "Branch Settings...|B" "inset-settings branch"
-               OptItem "Box Settings...|x" "inset-settings box"
-# Hey, guess what's broken ? Surprise surprise, it's tabular stuff
-# This is in the Table submenu instead for now.
-#      OptItem "Table Settings...|a" "inset-settings tabular"
-               OptItem "Table Settings...|a" "layout-tabular"
-       End
-
-       Menu "edit_paste"
-               Item "Clipboard as Lines|C" "clipboard-paste"
-               Item "Clipboard as Paragraphs|a" "clipboard-paste paragraph"
-               Item "Selection as Lines|L" "primary-selection-paste"
-               Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
-       End
-
-       Menu "edit_pasterecent"
-               PasteRecent
-       End
-
-       Menu "edit_textstyles"
-               CharStyles
-               Separator
-               Item "Customized...|C" "dialog-show character"
-               Separator
-               Item "Capitalize|a" "word-capitalize"
-               Item "Uppercase|U" "word-upcase"
-               Item "Lowercase|L" "word-lowcase"
-       End
-
-# not much we can do to help here
-       Menu "edit_tabular"
-               Item "Multicolumn|M" "tabular-feature multicolumn"
-               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
-       End
-
-       Menu "edit_tabular_features"
-               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"
-               Separator
-               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 "Swap Rows|S" "tabular-feature swap-row"
-               Separator
-               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 "Swap Columns|w" "tabular-feature swap-column"
-       End
-
-       Menu "edit_math"
-               Item "Toggle Numbering|N" "math-number"
-               Item "Toggle Numbering of Line|u" "math-nonumber"
-               Submenu "Change Limits Type|L" "edit_math_limits"
-               Separator
-               Submenu "Change Formula Type|F" "edit_math_mutate"
-               Separator
-               Submenu "Text Style|T" "edit_math_textstyles"
-               Separator
-               Submenu "Use Computer Algebra System|S" "edit_math_extern"
-               Separator
-               Item "Split Cell|C" "cell-split"
-               Separator
-               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" "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_limits"
-                Item "Default|t"  "math-limits empty"
-                Item "Display|D"  "math-limits limits"
-                Item "Inline|I"  "math-limits nolimits"
-       End
-
-       Menu "edit_math_textstyles"
-               Item "Math Normal Font|N" "math-insert \mathnormal"
-               Separator
-               Item "Math Calligraphic Family|C" "math-insert \mathcal"
-               Item "Math Fraktur Family|F" "math-insert \mathfrak"
-               Item "Math Roman Family|R" "math-insert \mathrm"
-               Item "Math Sans Serif Family|S" "math-insert \mathsf"
-               Separator
-               Item "Math Bold Series|B" "math-insert \mathbf"
-               Separator
-               Item "Text Normal Font|T" "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
-
-       Menu "edit_math_extern"
-               Item "Octave|O" "math-extern octave"
-               Item "Maxima|M" "math-extern maxima"
-               Item "Mathematica|a" "math-extern mathematica"
-               Separator
-               Item "Maple, simplify|s" "math-extern maple simplify"
-               Item "Maple, factor|f" "math-extern maple factor"
-               Item "Maple, evalm|e" "math-extern maple evalm"
-               Item "Maple, evalf|v" "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|E" "math-mutate eqnarray"
-               Item "AMS align Environment|a" "math-mutate align"
-               Item "AMS alignat Environment|t" "math-mutate alignat"
-               Item "AMS flalign Environment|f" "math-mutate flalign"
-               Item "AMS gather Environment|g" "math-mutate gather"
-               Item "AMS multline Environment|m" "math-mutate multline"
-       End
-
-#
-# VIEW MENU
-#
-
-       Menu "view"
-               Item "Open All Insets|O" "all-insets-toggle open"
-               Item "Close All Insets|C" "all-insets-toggle close"
-               Separator
-               Item "View Source|S" "dialog-show view-source"
-               Submenu "Update|U" "view_update"
-               ViewFormats
-               Separator
-               Submenu "Toolbars|b" "toolbars"
-               Separator
-           Documents
-       End
-
-       Menu "view_update"
-               UpdateFormats
-       End
-
-       Menu "toolbars"
-               Toolbars
-       End
-#
-# INSERT MENU
-#
-       Menu "insert"
-# Try and group things a little better, and percolate the most
-# commonly used to good positions (exception being mathed, but
-# most people using mathed learn key shortcuts quite quickly anyway)
-               Submenu "Math|h" "insert_math"
-               Submenu "Special Character|p" "insert_special"
-               Submenu "Formatting|o" "insert_formatting"
-               Submenu "List / TOC|i" "insert_toc"
-               Submenu "Float|a" "insert_float"
-               Submenu "Note|N" "insert_note"
-               OptSubmenu "Branch|B" "insert_branches"
-               Submenu "File|e" "insert_file"
-               Item "Box" "box-insert Frameless"
-               Separator
-               Item "Citation...|C" "dialog-show-new-inset citation"
-               Item "Cross-Reference...|R" "dialog-show-new-inset ref"
-               Item "Label...|L" "label-insert"
-               Item "Index Entry|d" "index-insert"
-               Item "Glossary Entry|y" "nomencl-insert"
-               Separator
-               Item "Table...|T" "tabular-insert"
-               Item "Graphics...|G" "dialog-show-new-inset graphics"
-               Item "URL...|U" "url-insert"
-               Item "Footnote|F" "footnote-insert"
-               Item "Marginal Note|M" "marginalnote-insert"
-               Item "Short Title|S" "optional-insert"
-               Item "TeX Code|X" "ert-insert"
-               Item "Date" "date-insert"
-       End
-
-       Menu "insert_special"
-               Item "Ellipsis|i" "dots-insert"
-               Item "End of Sentence|E" "end-of-sentence-period-insert"
-               Item "Ordinary Quote|Q" "self-insert \""
-               Item "Single Quote|S" "quote-insert single"
-               Item "Menu Separator|M" "menu-separator-insert"
-               Item "Phonetic Symbols|y" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
-       End
-
-       Menu "insert_formatting"
-               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;"
-               Separator
-               Item "Protected Space|P" "space-insert protected"
-               Item "Inter-word Space|w" "space-insert normal"
-               Item "Thin Space|T" "space-insert thin"
-               Item "Horizontal Fill|F" "hfill-insert"
-               Item "Horizontal Line|L" "line-insert"
-               Item "Vertical Space...|V" "dialog-show-new-inset vspace"
-               Separator
-               Item "Hyphenation Point|H" "hyphenation-point-insert"
-               Item "Ligature Break|k" "ligature-break-insert"
-               Item "Line Break|B" "break-line"
-               Separator
-               Item "Page Break|a" "pagebreak-insert"
-               Item "Clear Page|C" "clearpage-insert"
-               Item "Clear Double Page|D" "cleardoublepage-insert"
-       End
-
-       Menu "insert_math"
-               Item "Inline Formula|I" "math-mode on"
-               Item "Display Formula|D" "math-display"
-               Item "Numbered Formula|N" "command-sequence math-display; math-number;"
-               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 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" "command-sequence math-mode on; math-insert \cases"
-               Item "Aligned Environment|l" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"
-               Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"
-               Item "Gathered Environment|h" "command-sequence math-mode on; math-insert \gathered"
-               Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"
-               Separator
-               Item "Math Panel|P" "dialog-show mathpanel"
-       End
-
-       Menu "insert_float"
-               FloatInsert
-# This has got to be better than "Wrap", anyway
-               Item "Text Wrap Float|W" "wrap-insert figure"
-       End
-
-       Menu "insert_toc"
-               Item "Table of Contents|C" "toc-insert"
-               FloatListInsert
-               Item "Index List|I" "index-print"
-               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 "Plain Text as Lines...|L" "file-insert-ascii"
-               Item "Plain Text as Paragraphs...|P" "file-insert-ascii-para"
-               Separator
-               Item "External Material...|M" "dialog-show-new-inset external"
-               Item "Child Document...|d" "dialog-show-new-inset include"
-       End
-
-       Menu "insert_note"
-               Item "LyX Note|N" "note-insert Note"
-               Item "Comment|C" "note-insert Comment"
-               Item "Greyed Out|G" "note-insert Greyedout"
-       End
-
-       Menu "insert_branches"
-               Branches
-       End
-
-#
-# DOCUMENT MENU
-#
-
-       Menu "document"
-               Submenu "Change Tracking|C" "document_change"
-               OptItem "Build Program|B" "build-program"
-               Item "LaTeX Log|L" "dialog-show latexlog"
-               Item "Table of Contents|T" "toc-view"
-               Item "Start Appendix Here|A" "appendix"
-               Separator
-               Item "Compressed|o" "buffer-toggle-compression"
-               Item "Settings...|S" "dialog-show document"
-       End
-
-       Menu "document_change"
-               Item "Track Changes|T" "changes-track"
-               Item "Merge Changes...|M" "changes-merge"
-               Item "Accept Change|A" "change-accept"
-               Item "Reject Change|R" "change-reject"
-               Item "Accept All Changes|c" "all-changes-accept"
-               Item "Reject All Changes|e" "all-changes-reject"
-               Item "Show Changes in Output|S" "changes-output"
-       End
-
-#
-# NAVIGATE MENU
-#
-       Menu "navigate"
-               Submenu "Bookmarks|B" "navigate_bookmarks"
-               Item "Next Note|N" "note-next"
-               Item "Next Change|C" "change-next"
-               Item "Next Cross-Reference|R" "reference-next"
-               Item "Go to Label|L" "label-goto"
-               Separator
-               Toc
-       End
-
-       Menu "navigate_bookmarks"
-               Item "Save Bookmark|S" "bookmark-save 1"
-               Item "Clear Bookmarks|C" "bookmark-clear"
-               Separator
-               Bookmarks
-       End
-
-#
-# TOOLS MENU
-#
-
-       Menu "tools"
-               Item "Spellchecker...|S" "dialog-show spellchecker"
-               OptItem "Thesaurus...|T" "thesaurus-entry"
-               Item "Count Words|W" "words-count"
-               OptItem "Check TeX|h" "buffer-chktex"
-               Item "TeX Information|I" "dialog-show texinfo"
-               Separator
-# A LOT of applications have Tools->Prefs. Remember this
-# should be rarely used - Edit menu is not a good place to
-# have it.
-               Item "Reconfigure|R" "reconfigure"
-               Item "Preferences...|P" "dialog-show prefs"
-       End
-
-#
-# HELP MENU
-#
-       Menu "help"
-               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 "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" "dialog-show aboutlyx"
-       End
-
-End
diff --git a/lib/ui/stdtoolbars.inc b/lib/ui/stdtoolbars.inc
new file mode 100644 (file)
index 0000000..3eaeae0
--- /dev/null
@@ -0,0 +1,164 @@
+# -*- text -*-
+
+# file stdtoolbars.inc
+# This file is part of LyX, the document processor.
+# Licence details can be found in the file COPYING.
+
+# author Jean-Marc Lasgouttes
+# author John Levon
+
+# Full author contact details are available in file CREDITS.
+
+# The interface is designed (partially) following the KDE Human Interface
+# Guidelines (http://usability.kde.org/hig/)
+
+# A Toolbar starts like :
+#
+# Toolbar "name" "GUI Name"
+#
+# Only four commands are allowed inside the begin_toolbar and end_toolbar
+# directives:
+#   Item "The tooltip" "<action> [<parameter>]" adds an icon to the toolbar performing
+#          "<action> <parameter>"
+#      Examples:
+#      Item "Small font" "font-size small"
+#      Item Emphasized 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, except for math-insert, which
+# is e.g. lib/image/math/sum.xpm. Note that some characters are
+# replaced (e.g. ')' -> rbracket).
+#
+#  All other lyx commands will get a "unknown" icon.
+#
+# This is the default toolbar:
+
+Toolbar "standard" "Standard"
+       Layouts
+       Item "New document" "buffer-new"
+       Item "Open document" "file-open"
+       Item "Save document" "buffer-write"
+       Item "Print document" "dialog-show print"
+       Separator
+       Item "Undo" "undo"
+       Item "Redo" "redo"
+       Item "Cut" "cut"
+       Item "Copy" "copy"
+       Item "Paste" "paste"
+       Item "Find and replace" "dialog-show findreplace"
+       Separator
+       Item "Toggle emphasis" "font-emph"
+       Item "Toggle noun" "font-noun"
+       Item "Apply last" "font-free-apply"
+       Separator
+       Item "Insert math" "math-mode"
+       Item "Insert graphics" "dialog-show-new-inset graphics"
+       Item "Insert table" "tabular-insert"
+End
+
+Toolbar "extra" "Extra"
+       Item "Default" "layout"
+       Item "Numbered list" "layout Enumerate"
+       Item "Itemized list" "layout Itemize"
+       Item "List" "layout List"
+       Item "Description" "layout Description"
+       Item "Increase depth" "depth-increment"
+       Item "Decrease depth" "depth-decrement"
+       Separator
+       Item "Insert figure float" "float-insert figure"
+       Item "Insert table float" "float-insert table"
+       Item "Insert label" "label-insert"
+       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"
+       Separator
+       Item "Insert footnote" "footnote-insert"
+       Item "Insert margin note" "marginalnote-insert"
+       Item "Insert note" "note-insert"
+       Item "Insert URL" "url-insert"
+       Item "Insert TeX code" "ert-insert"
+       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 "Check spelling" "dialog-show spellchecker"
+       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"
+       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"
+       Separator
+       Item "Align left" "tabular-feature align-left"
+       Item "Align center" "tabular-feature align-center"
+       Item "Align right" "tabular-feature align-right"
+       Separator
+       Item "Align top" "tabular-feature valign-top"
+       Item "Align middle" "tabular-feature valign-middle"
+       Item "Align bottom" "tabular-feature 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"
+End
+
+Toolbar "math" "Math"
+       Item "Show math panel" "dialog-show mathpanel"
+       Item "Set display mode" "math-display"
+       Item "Subscript" "math-subscript"
+       Item "Superscript" "math-superscript"
+       Item "Insert root" "math-insert \root"
+       Item "Insert square root" "math-insert \sqrt"
+       Item "Insert sum" "math-insert \sum"
+       Item "Insert integral" "math-insert \int"
+       Item "Insert product" "math-insert \prod"
+       Separator
+       Item "Insert fraction" "math-insert \frac"
+       Item "Insert ( )" "math-delim ( )"
+       Item "Insert [ ]" "math-delim [ ]"
+       Item "Insert { }" "math-delim { }"
+       Separator
+       Item "Insert matrix" "math-matrix 2 2"
+       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"
+End
+
+Toolbar "minibuffer" "Command Buffer"
+       Minibuffer
+End
+
+Toolbar "review" "Review"
+       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"
+       Separator
+       Item "Merge changes" "changes-merge"
+       Item "Accept all changes" "all-changes-accept"
+       Item "Reject all changes" "all-changes-reject"
+       Separator
+       Item "Insert note" "note-insert"
+       Item "Next note" "note-next"
+End
diff --git a/lib/ui/stdtoolbars.ui b/lib/ui/stdtoolbars.ui
deleted file mode 100644 (file)
index 973e05f..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-# -*- text -*-
-
-# file stdtoolbars.ui
-# This file is part of LyX, the document processor.
-# Licence details can be found in the file COPYING.
-
-# author Jean-Marc Lasgouttes
-# author John Levon
-
-# Full author contact details are available in file CREDITS.
-
-# The interface is designed (partially) following the KDE Human Interface
-# Guidelines (http://usability.kde.org/hig/)
-
-# A Toolbar starts like :
-#
-# Toolbar "name" "GUI Name"
-#
-# Only four commands are allowed inside the begin_toolbar and end_toolbar
-# directives:
-#   Item "The tooltip" "<action> [<parameter>]" adds an icon to the toolbar performing
-#          "<action> <parameter>"
-#      Examples:
-#      Item "Small font" "font-size small"
-#      Item Emphasized 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, except for math-insert, which
-# is e.g. lib/image/math/sum.xpm. Note that some characters are
-# replaced (e.g. ')' -> rbracket).
-#
-#  All other lyx commands will get a "unknown" icon.
-#
-# This is the default toolbar:
-
-Toolbar "standard" "Standard"
-       Layouts
-       Item "New document" "buffer-new"
-       Item "Open document" "file-open"
-       Item "Save document" "buffer-write"
-       Item "Print document" "dialog-show print"
-       Separator
-       Item "Undo" "undo"
-       Item "Redo" "redo"
-       Item "Cut" "cut"
-       Item "Copy" "copy"
-       Item "Paste" "paste"
-       Item "Find and replace" "dialog-show findreplace"
-       Separator
-       Item "Toggle emphasis" "font-emph"
-       Item "Toggle noun" "font-noun"
-       Item "Apply last" "font-free-apply"
-       Separator
-       Item "Insert math" "math-mode"
-       Item "Insert graphics" "dialog-show-new-inset graphics"
-       Item "Insert table" "tabular-insert"
-End
-
-Toolbar "extra" "Extra"
-       Item "Default" "layout"
-       Item "Numbered list" "layout Enumerate"
-       Item "Itemized list" "layout Itemize"
-       Item "List" "layout List"
-       Item "Description" "layout Description"
-       Item "Increase depth" "depth-increment"
-       Item "Decrease depth" "depth-decrement"
-       Separator
-       Item "Insert figure float" "float-insert figure"
-       Item "Insert table float" "float-insert table"
-       Item "Insert label" "label-insert"
-       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"
-       Separator
-       Item "Insert footnote" "footnote-insert"
-       Item "Insert margin note" "marginalnote-insert"
-       Item "Insert note" "note-insert"
-       Item "Insert URL" "url-insert"
-       Item "Insert TeX code" "ert-insert"
-       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 "Check spelling" "dialog-show spellchecker"
-       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"
-       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"
-       Separator
-       Item "Align left" "tabular-feature align-left"
-       Item "Align center" "tabular-feature align-center"
-       Item "Align right" "tabular-feature align-right"
-       Separator
-       Item "Align top" "tabular-feature valign-top"
-       Item "Align middle" "tabular-feature valign-middle"
-       Item "Align bottom" "tabular-feature 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"
-End
-
-Toolbar "math" "Math"
-       Item "Show math panel" "dialog-show mathpanel"
-       Item "Set display mode" "math-display"
-       Item "Subscript" "math-subscript"
-       Item "Superscript" "math-superscript"
-       Item "Insert root" "math-insert \root"
-       Item "Insert square root" "math-insert \sqrt"
-       Item "Insert sum" "math-insert \sum"
-       Item "Insert integral" "math-insert \int"
-       Item "Insert product" "math-insert \prod"
-       Separator
-       Item "Insert fraction" "math-insert \frac"
-       Item "Insert ( )" "math-delim ( )"
-       Item "Insert [ ]" "math-delim [ ]"
-       Item "Insert { }" "math-delim { }"
-       Separator
-       Item "Insert matrix" "math-matrix 2 2"
-       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"
-End
-
-Toolbar "minibuffer" "Command Buffer"
-       Minibuffer
-End
-
-Toolbar "review" "Review"
-       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"
-       Separator
-       Item "Merge changes" "changes-merge"
-       Item "Accept all changes" "all-changes-accept"
-       Item "Reject all changes" "all-changes-reject"
-       Separator
-       Item "Insert note" "note-insert"
-       Item "Next note" "note-next"
-End