2003-08-22 10:37:26 +00:00
|
|
|
# -*- text -*-
|
|
|
|
|
2007-01-06 13:42:15 +00:00
|
|
|
# file stdtoolbars.inc
|
2003-08-22 10:37:26 +00:00
|
|
|
# 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.
|
|
|
|
|
2005-05-22 23:01:21 +00:00
|
|
|
# The interface is designed (partially) following the KDE Human Interface
|
|
|
|
# Guidelines (http://usability.kde.org/hig/)
|
|
|
|
|
2003-04-15 02:30:53 +00:00
|
|
|
# A Toolbar starts like :
|
|
|
|
#
|
2004-04-21 00:19:27 +00:00
|
|
|
# Toolbar "name" "GUI Name"
|
2003-04-15 02:30:53 +00:00
|
|
|
#
|
2007-04-10 20:57:59 +00:00
|
|
|
# Only four commands are allowed inside the Toolbar and End
|
2003-10-13 09:50:10 +00:00
|
|
|
# directives:
|
2003-04-15 02:30:53 +00:00
|
|
|
# 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)
|
|
|
|
#
|
2007-04-10 20:57:59 +00:00
|
|
|
# The icons are found in the lib/images/ direcory under the name
|
2003-04-15 02:30:53 +00:00
|
|
|
# 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:
|
|
|
|
|
2004-04-21 00:19:27 +00:00
|
|
|
Toolbar "standard" "Standard"
|
2003-05-16 12:53:20 +00:00
|
|
|
Layouts
|
|
|
|
Item "New document" "buffer-new"
|
|
|
|
Item "Open document" "file-open"
|
|
|
|
Item "Save document" "buffer-write"
|
2003-06-19 16:49:45 +00:00
|
|
|
Item "Print document" "dialog-show print"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
|
|
|
Item "Undo" "undo"
|
|
|
|
Item "Redo" "redo"
|
|
|
|
Item "Cut" "cut"
|
|
|
|
Item "Copy" "copy"
|
|
|
|
Item "Paste" "paste"
|
2003-06-19 16:49:45 +00:00
|
|
|
Item "Find and replace" "dialog-show findreplace"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
2005-04-18 18:09:57 +00:00
|
|
|
Item "Toggle emphasis" "font-emph"
|
|
|
|
Item "Toggle noun" "font-noun"
|
|
|
|
Item "Apply last" "font-free-apply"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
|
|
|
Item "Insert math" "math-mode"
|
|
|
|
Item "Insert graphics" "dialog-show-new-inset graphics"
|
2005-04-21 06:21:25 +00:00
|
|
|
Item "Insert table" "tabular-insert"
|
2003-04-15 02:30:53 +00:00
|
|
|
End
|
|
|
|
|
2004-04-21 00:19:27 +00:00
|
|
|
Toolbar "extra" "Extra"
|
2006-11-16 08:17:48 +00:00
|
|
|
Item "Default" "layout"
|
2003-05-16 12:53:20 +00:00
|
|
|
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"
|
2006-11-07 21:45:30 +00:00
|
|
|
Item "Insert glossary entry" "nomencl-insert"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
|
|
|
Item "Insert footnote" "footnote-insert"
|
|
|
|
Item "Insert margin note" "marginalnote-insert"
|
2006-10-20 13:32:27 +00:00
|
|
|
Item "Insert note" "note-insert"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Insert URL" "url-insert"
|
2006-11-07 21:45:30 +00:00
|
|
|
Item "Insert TeX code" "ert-insert"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Include file" "dialog-show-new-inset include"
|
|
|
|
Separator
|
2003-08-14 15:45:09 +00:00
|
|
|
Item "Text style" "dialog-show character"
|
|
|
|
Item "Paragraph settings" "layout-paragraph"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Table of contents" "toc-view"
|
2003-06-19 16:49:45 +00:00
|
|
|
Item "Check spelling" "dialog-show spellchecker"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Thesaurus" "thesaurus-entry"
|
2003-04-15 02:30:53 +00:00
|
|
|
End
|
|
|
|
|
2004-04-21 00:19:27 +00:00
|
|
|
Toolbar "table" "Table"
|
2003-05-16 12:53:20 +00:00
|
|
|
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
|
2003-08-14 15:45:09 +00:00
|
|
|
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"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
|
|
|
Item "Rotate cell" "tabular-feature set-rotate-cell"
|
|
|
|
Item "Rotate table" "tabular-feature set-rotate-tabular"
|
|
|
|
Item "Set multi-column" "tabular-feature multicolumn"
|
2003-04-15 02:30:53 +00:00
|
|
|
End
|
|
|
|
|
2004-04-21 00:19:27 +00:00
|
|
|
Toolbar "math" "Math"
|
2003-06-19 16:49:45 +00:00
|
|
|
Item "Show math panel" "dialog-show mathpanel"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Set display mode" "math-display"
|
2007-04-10 20:57:59 +00:00
|
|
|
Separator
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Subscript" "math-subscript"
|
|
|
|
Item "Superscript" "math-superscript"
|
2003-10-10 14:04:28 +00:00
|
|
|
Item "Insert square root" "math-insert \sqrt"
|
2007-04-10 20:57:59 +00:00
|
|
|
Item "Insert root" "math-insert \root"
|
2007-04-14 16:29:01 +00:00
|
|
|
Item "Insert standard fraction" "math-insert \frac"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Insert sum" "math-insert \sum"
|
|
|
|
Item "Insert integral" "math-insert \int"
|
|
|
|
Item "Insert product" "math-insert \prod"
|
|
|
|
Separator
|
|
|
|
Item "Insert ( )" "math-delim ( )"
|
|
|
|
Item "Insert [ ]" "math-delim [ ]"
|
|
|
|
Item "Insert { }" "math-delim { }"
|
2007-04-14 16:29:01 +00:00
|
|
|
Item "Insert delimiters" "dialog-show mathdelimiter"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
2007-04-11 19:14:47 +00:00
|
|
|
Item "Insert matrix" "dialog-show mathmatrix"
|
2006-04-01 13:23:24 +00:00
|
|
|
Item "Insert cases environment" "math-insert \cases"
|
2003-05-16 12:53:20 +00:00
|
|
|
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"
|
2003-04-15 02:30:53 +00:00
|
|
|
End
|
|
|
|
|
2004-04-21 00:19:27 +00:00
|
|
|
Toolbar "minibuffer" "Command Buffer"
|
2003-05-16 12:53:20 +00:00
|
|
|
Minibuffer
|
2003-04-15 02:30:53 +00:00
|
|
|
End
|
2006-10-20 12:26:27 +00:00
|
|
|
|
|
|
|
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
|
2007-01-21 00:05:33 +00:00
|
|
|
|
2007-01-21 11:48:21 +00:00
|
|
|
Toolbar "view/update" "View/Update"
|
2007-01-21 10:20:39 +00:00
|
|
|
Item "View DVI" "buffer-view dvi"
|
|
|
|
Item "Update DVI" "buffer-update dvi"
|
2007-01-21 00:05:33 +00:00
|
|
|
Item "View PDF (pdflatex)" "buffer-view pdf2"
|
|
|
|
Item "Update PDF (pdflatex)" "buffer-update pdf2"
|
|
|
|
Item "View PostScript" "buffer-view ps"
|
|
|
|
Item "Update PostScript" "buffer-update ps"
|
|
|
|
End
|