mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
d59aaf992a
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1445 a592a061-630c-0410-9148-cb99ea01b6c8
357 lines
9.3 KiB
XML
357 lines
9.3 KiB
XML
# This is the default LyX user interface definition file. The syntax
|
|
# should be straightforward enough. The menubar "main_nobuffer" (if it
|
|
# exists) is used when there is no buffer open; otherwise, the menubar
|
|
# "main" is used.
|
|
|
|
Menuset
|
|
|
|
Menubar "main_nobuffer"
|
|
Submenu "File|F" "file_nobuffer"
|
|
Submenu "Edit|E" "edit_nobuffer"
|
|
Submenu "Help|H" "help"
|
|
End
|
|
|
|
Menubar "main"
|
|
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
|
|
|
|
#
|
|
# FILE MENU
|
|
#
|
|
Menu "file_nobuffer"
|
|
Item "New...|N" "buffer-new"
|
|
Item "New from Template...|T" "buffer-new-template"
|
|
Item "Open...|O" "buffer-open"
|
|
Separator
|
|
Submenu "Import|I" "file_import"
|
|
Separator
|
|
Item "Exit|x" "lyx-quit"
|
|
Separator
|
|
Lastfiles
|
|
End
|
|
|
|
Menu "file"
|
|
Item "New...|N" "buffer-new"
|
|
Item "New from Template...|T" "buffer-new-template"
|
|
Item "Open...|O" "buffer-open"
|
|
Separator
|
|
Item "Close|C" "buffer-close"
|
|
Item "Save|S" "buffer-write"
|
|
Item "Save As...|A" "buffer-write-as"
|
|
Item "Revert to Saved|d" "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
|
|
End
|
|
|
|
#
|
|
# EDIT MENU
|
|
#
|
|
Menu "edit_nobuffer"
|
|
Item "Preferences...|P" "dialog-preferences"
|
|
Item "Reconfigure|R" "reconfigure"
|
|
End
|
|
|
|
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 "Floats & Insets|I" "edit_floats"
|
|
Item "Math Panel|l" "math-panel"
|
|
Submenu "Math|M" "edit_math"
|
|
Separator
|
|
Item "Spellchecker...|S" "spellchecker"
|
|
Item "Check TeX|h" "buffer-chktex"
|
|
Item "Remove All Error Boxes|E" "error-remove-all"
|
|
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_floats"
|
|
Item "Open/Close|O" "open-stuff"
|
|
Item "Melt|M" "melt"
|
|
Item "Open All Figures/Tables|F" "floats-operate openfig"
|
|
Item "Close All Figures/Tables|T" "floats-operate closefig"
|
|
Item "Open All Footnotes/Marginal Notes|A" "floats-operate openfoot"
|
|
Item "Close All Footnotes/Marginal Notes|C" "floats-operate closefoot"
|
|
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 "Append Row|A" "tabular-feature append-row"
|
|
Item "Append Column|u" "tabular-feature append-column"
|
|
Separator
|
|
Item "Delete Row|w" "tabular-feature delete-row"
|
|
Item "Delete Column|D" "tabular-feature delete-column"
|
|
End
|
|
|
|
Menu "edit_math"
|
|
Item "Make eqnarray|e" "break-line e"
|
|
Item "Make multline|m" "break-line m"
|
|
Item "Make alignat 1 column|1" "break-line 1"
|
|
Item "Make alignat 2 columns|2" "break-line 2"
|
|
Item "Make alignat 3 columns|3" "break-line 3"
|
|
Separator
|
|
Item "Toggle numbering|n" "math-number"
|
|
Item "Toggle numbering of line|u" "math-nonumber"
|
|
Item "Toggle limits|l" "math-limits"
|
|
End
|
|
|
|
#
|
|
# INSERT MENU
|
|
#
|
|
Menu "insert"
|
|
Item "Math Formula|h" "math-mode"
|
|
Item "Display Formula|D" "math-display"
|
|
Separator
|
|
Submenu "Special Character|S" "insert_special"
|
|
Item "Citation Reference...|C" "citation-insert"
|
|
Item "Cross Reference...|R" "reference-insert"
|
|
Item "Label...|L" "label-insert"
|
|
Item "Footnote|F" "footnote-insert"
|
|
Item "Marginal Note|M" "marginpar-insert"
|
|
Item "Index Entry...|I" "index-insert"
|
|
Item "Index Entry of Preceeding Word|W" "index-insert-last"
|
|
Item "URL...|U" "url-insert"
|
|
Item "Note...|N" "note-insert"
|
|
Submenu "Lists & TOC|O" "insert_toc"
|
|
Separator
|
|
Item "Graphics...|G" "figure-insert"
|
|
Item "Tabular Material...|b" "dialog-tabular-insert"
|
|
Submenu "Floats|a" "insert_floats"
|
|
Separator
|
|
Item "Include File|e" "buffer-child-insert"
|
|
Submenu "Insert File|t" "insert_file"
|
|
Item "External Material...|x" "external-insert"
|
|
End
|
|
|
|
Menu "insert_special"
|
|
Item "Superscript|S" "command-sequence math-insert ^;math-mode;"
|
|
Item "Subscript|u" "command-sequence math-insert _;math-mode;"
|
|
Item "HFill|H" "hfill-insert"
|
|
Item "Hyphenation Point|P" "hyphenation-point-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" "quote-insert"
|
|
Item "Menu Separator|M" "menu-separator-insert"
|
|
End
|
|
|
|
Menu "insert_floats"
|
|
Item "Figure|F" "buffer-float-insert figure"
|
|
Item "Table|T" "buffer-float-insert table"
|
|
Item "Wide Figure|W" "buffer-float-insert wide-fig"
|
|
Item "Wide Table|d" "buffer-float-insert wide-tab"
|
|
Separator
|
|
Item "Algorithm|A" "buffer-float-insert algorithm"
|
|
End
|
|
|
|
Menu "insert_toc"
|
|
Item "Table of Contents|C" "toc-insert"
|
|
Item "List of Figures|F" "lof-insert"
|
|
Item "List of Tables|T" "lot-insert"
|
|
Item "List of Algorithms|A" "loa-insert"
|
|
Item "Index List|I" "index-print"
|
|
Item "BibTeX Reference...|B" "bibtex-insert"
|
|
End
|
|
|
|
Menu "insert_file"
|
|
Item "LyX Document...|X" "file-insert"
|
|
Item "Ascii as Lines...|L" "file-insert-ascii lines"
|
|
Item "Ascii as Paragraphs...|P" "file-insert-ascii paragraphs"
|
|
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 "Change Environment Depth|v" "depth-increment"
|
|
Item "LaTeX Preamble...|L" "layout-preamble"
|
|
Item "Toggle Appendix|A" "appendix"
|
|
Separator
|
|
Item "Save Layout as Default|S" "layout-save-default"
|
|
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"
|
|
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-next"
|
|
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
|
|
|
|
#
|
|
# 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 "Reference Manual|R" "help-open Reference"
|
|
Item "FAQ|F" "help-open FAQ"
|
|
Item "Table of Contents|a" "help-open TOC"
|
|
Item "Known Bugs|K" "help-open BUGS"
|
|
Item "LaTeX Configuration|L" "help-open LaTeXConfig"
|
|
Separator
|
|
Item "Copyright and Warranty...|o" "help-copyright"
|
|
Item "Credits...|d" "help-credits"
|
|
Item "Version...|V" "help-version"
|
|
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
|
|
#
|
|
# Layouts adds the layouts combo-box to the toolbar
|
|
#
|
|
# Separator adds some spacing to the toolbar
|
|
#
|
|
# 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
|
|
Layouts
|
|
Icon "buffer-open"
|
|
Icon "buffer-write"
|
|
Icon "buffer-print"
|
|
Separator
|
|
Icon "cut"
|
|
Icon "copy"
|
|
Icon "paste"
|
|
Separator
|
|
Icon "font-emph"
|
|
Icon "font-noun"
|
|
Icon "font-free"
|
|
Separator
|
|
Icon "tex-mode"
|
|
Icon "math-mode"
|
|
Separator
|
|
Icon "footnote-insert"
|
|
Icon "marginpar-insert"
|
|
Icon "depth-next"
|
|
Separator
|
|
Icon "figure-insert"
|
|
Icon "dialog-tabular-insert"
|
|
End
|