#
# Toolbar "name" "GUI Name"
#
-# Only seven commands are allowed inside the Toolbar and End
+# Only eight commands are allowed inside the Toolbar and End
# directives:
# Item "The tooltip" "<action> [<parameter>]" adds an icon to the toolbar performing
# "<action> <parameter>"
# Item Emphasized set-emph
#
# BidiItem is like Item, but an alternative icon (with name ending
-# with "+rtl") will be used <hen the paragraph has a right-to-left
-# layout. If this alternative icon does not exist, the LtR icon will
-# be mirrored instead.
+# with "+rtl") will be used <hen the paragraph has a right-to-left
+# layout. If this alternative icon does not exist, the LtR icon will
+# be mirrored instead.
#
# Layouts adds the layouts combo-box to the toolbar
#
# Minibuffer adds the command buffer (only one may exist)
#
# TableInsert "The tooltip" adds a special widget for quick
-# insertion of tables
+# insertion of tables
#
# PopupMenu "name" "The tooltip"
#
-# ... inserts a button with a popup menu derived from Toolbar "name"
+# ... inserts a button with a popup menu derived from Toolbar "name"
#
# IconPalette "name" "The tooltip"
#
-# ... inserts a button with a popup iconpalette derived from Toolbar "name"
+# ... inserts a button with a popup icon palette derived from Toolbar "name"
#
#
-# The icons are found in the lib/images/ direcory under the name
+# The icons are found in the lib/images/ directory under the name
# action.png or action_parameter.png, except for math-insert, which
# is e.g. lib/image/math/sum.png. Note that some characters are
# replaced (e.g. ')' -> rbracket).
#
-# All other lyx commands will get a "unknown" icon.
+# Note that the lib/images/icon.aliases file can be used to specify
+# fallback icons for some functions.
+#
+# All other LyX commands will get a "unknown" icon.
#
# This is the default toolbar:
Item "Cut" "cut"
Item "Copy" "copy"
DynamicMenu "paste" "Paste"
- Item "Find and replace" "dialog-show findreplace"
+ Item "Find and replace" "dialog-toggle findreplace"
Item "Find and replace (advanced)" "dialog-toggle findreplaceadv"
Item "Navigate back" "bookmark-goto 0"
Separator
DynamicMenu "dynamic-custom-insets" "Custom insets"
Separator
Item "Toggle outline" "dialog-toggle toc"
- Item "Toggle math toolbar" "toolbar-toggle math"
- Item "Toggle table toolbar" "toolbar-toggle table"
- Item "Toggle review toolbar" "toolbar-toggle review"
+ PopupMenu "toolbar-toggle_math" "Show math toolbar"
+ PopupMenu "toolbar-toggle_table" "Show table toolbar"
+ PopupMenu "toolbar-toggle_review" "Show review toolbar"
End
Toolbar "view/update" "View/Update"
Item "Toggle bottom line" "tabular-feature toggle-line-bottom"
Item "Toggle left line" "tabular-feature toggle-line-left"
Item "Toggle right line" "tabular-feature toggle-line-right"
- Item "Set border lines" "tabular-feature set-border-lines"
- Item "Set all lines" "tabular-feature set-all-lines"
- Item "Set inner lines" "tabular-feature set-inner-lines"
+ Item "Toggle border lines" "tabular-feature toggle-border-lines"
+ Item "Toggle inner lines" "tabular-feature toggle-inner-lines"
+ Item "Toggle all lines" "tabular-feature toggle-all-lines"
Item "Unset all lines" "tabular-feature unset-all-lines"
Item "Reset formal default lines" "tabular-feature reset-formal-default"
Separator
Item "Delete row" "tabular-feature delete-row"
Item "Delete column" "tabular-feature delete-column"
Separator
- Item "Toggle math panels" "toolbar-toggle math_panels"
+ PopupMenu "toolbar-toggle_math_panels" "Show math panels"
End
Toolbar "math_panels" "Math Panels"
UpdateFormats
End
+ Toolbar "toolbar-toggle_math" "Show math toolbar"
+ Item "[[Toolbar]]On" "toolbar-set math on"
+ Item "[[Toolbar]]Off" "toolbar-set math off"
+ Item "[[Toolbar]]Automatic" "toolbar-set math auto"
+ End
+
+ Toolbar "toolbar-toggle_math_panels" "Show math panels"
+ Item "[[Toolbar]]On" "toolbar-set math_panels on"
+ Item "[[Toolbar]]Off" "toolbar-set math_panels off"
+ Item "[[Toolbar]]Automatic" "toolbar-set math_panels auto"
+ End
+
+ Toolbar "toolbar-toggle_table" "Show table toolbar"
+ Item "[[Toolbar]]On" "toolbar-set table on"
+ Item "[[Toolbar]]Off" "toolbar-set table off"
+ Item "[[Toolbar]]Automatic" "toolbar-set table auto"
+ End
+
+ Toolbar "toolbar-toggle_review" "Show review toolbar"
+ Item "[[Toolbar]]On" "toolbar-set review on"
+ Item "[[Toolbar]]Off" "toolbar-set review off"
+ Item "[[Toolbar]]Automatic" "toolbar-set review auto"
+ End
+
# The following three toolbars are disabled because of missing icons.
# Toolbar "import/export" "Import/Export"
# Item "Import" "buffer-import"