4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
7 # author Jean-Marc Lasgouttes
11 # Full author contact details are available in file CREDITS.
13 # The interface is designed (partially) following the KDE Human Interface
14 # Guidelines (http://techbase.kde.org/Projects/Usability/HIG)
17 # Capitalize all words in the element, with the following exceptions:
18 # * Articles: a, an, the.
19 # * Conjunctions: and, but, for, not, so, yet ...
20 # * Prepositions of three or fewer letters: at, for, by, in, to ...
21 # (except when the preposition is part of a verb phrase, such as "Check In")
22 # (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en)
29 # Make the first 4 menus be as much as expected as possible
30 Submenu "File|F" "file"
31 Submenu "Edit|E" "edit"
32 Submenu "View|V" "view"
33 Submenu "Insert|I" "insert"
34 Submenu "Navigate|N" "navigate"
35 Submenu "Document|D" "document"
36 Submenu "Tools|T" "tools"
37 Submenu "Help|H" "help"
45 Item "New|N" "buffer-new"
46 Item "New from Template...|m" "buffer-new-template"
47 Item "Open...|O" "file-open"
48 Submenu "Open Recent|t" "file_lastfiles"
50 Item "Close|C" "buffer-close"
51 Item "Close All" "buffer-close-all"
52 Item "Save|S" "buffer-write"
53 Item "Save As...|A" "buffer-write-as"
54 Item "Save All|l" "buffer-write-all"
55 Item "Revert to Saved|R" "buffer-reload"
56 Submenu "Version Control|V" "file_vc"
58 Submenu "Import|I" "file_import"
59 Submenu "Export|E" "file_export"
60 Item "Print...|P" "dialog-show print"
61 OptItem "Fax...|F" "buffer-export fax"
63 Item "New Window|W" "window-new"
64 Item "Close Window|d" "window-close"
66 Item "Exit|x" "lyx-quit"
74 OptItem "Register...|R" "vc-register"
75 OptItem "Check In Changes...|I" "vc-check-in"
76 OptItem "Check Out for Edit|O" "vc-check-out"
77 OptItem "Copy|p" "vc-copy"
78 OptItem "Rename|R" "vc-rename"
79 OptItem "Update Local Directory From Repository|d" "vc-repo-update"
80 OptItem "Revert to Repository Version|v" "vc-revert"
81 OptItem "Undo Last Check In|U" "vc-undo-last"
82 OptItem "Compare with Older Revision...|C" "vc-compare"
83 OptItem "Show History...|H" "dialog-show vclog"
84 OptItem "Use Locking Property|L" "vc-locking-toggle"
92 Item "Export As...|s" "buffer-export-as"
94 Item "More Formats & Options...|O" "buffer-export custom"
108 Submenu "Paste Recent|e" "edit_pasterecent"
109 Submenu "Paste Special" "edit_paste"
111 Item "Select Whole Inset" "inset-select-all"
112 Item "Select All" "command-sequence buffer-begin ; buffer-end-select"
114 Item "Find & Replace (Quick)...|F" "dialog-show findreplace"
115 Item "Find & Replace (Advanced)..." "dialog-show findreplaceadv"
117 Item "Move Paragraph Up|o" "paragraph-move-up"
118 Item "Move Paragraph Down|v" "paragraph-move-down"
120 Submenu "Text Style|S" "edit_textstyles"
122 Item "Paragraph Settings...|P" "layout-paragraph"
124 # Mathed b0rkage means these don't work properly
125 OptSubmenu "Table|T" "edit_tabular"
126 OptSubmenu "Math|M" "edit_math"
127 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
129 # This is where the context-specific stuff is supposed to go.
130 # The idea is that everything on here can disappear and should
131 # only appear when relevant (getStatus). Only stuff that needs
132 # a right-click to bring up the dialog should appear here (it is not
133 # obvious what the context is for the others)
134 OptItem "Increase List Depth|I" "depth-increment"
135 OptItem "Decrease List Depth|D" "depth-decrement"
136 EnvironmentSeparators
137 OptItem "Dissolve Inset" "inset-dissolve"
138 OptItem "TeX Code Settings...|C" "inset-settings ert"
139 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
140 OptItem "Float Settings...|a" "inset-settings float"
141 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
142 OptItem "Note Settings...|N" "inset-settings note"
143 OptItem "Phantom Settings...|h" "inset-settings phantom"
144 OptItem "Branch Settings...|B" "inset-settings branch"
145 OptItem "Box Settings...|x" "inset-settings box"
146 OptItem "Index Entry Settings...|y" "inset-settings index"
147 OptItem "Index Settings...|x" "inset-settings index_print"
148 OptItem "Info Settings...|n" "inset-settings info"
149 OptItem "Listings Settings...|g" "inset-settings listings"
150 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
151 # This is in the Table submenu instead for now.
152 # OptItem "Table Settings...|a" "inset-settings tabular"
153 OptItem "Table Settings...|a" "layout-tabular"
157 OptItem "Paste from HTML|H" "paste html"
158 OptItem "Paste from LaTeX|L" "paste latex"
159 OptItem "Paste as LinkBack PDF" "paste linkback"
160 OptItem "Paste as PDF" "paste pdf"
161 OptItem "Paste as PNG" "paste png"
162 OptItem "Paste as JPEG" "paste jpeg"
163 OptItem "Paste as EMF" "paste emf"
165 Item "Plain Text|T" "clipboard-paste"
166 Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
168 Item "Selection|S" "primary-selection-paste"
169 Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
170 # clipboard-paste-simple is commented because it is irritating (bug 8749)
171 # until somebody can explain why it is needed in addition to clipboard-paste
173 # Item "Unformatted Text|U" "clipboard-paste-simple"
174 # Item "Unformatted, Join Lines|o" "clipboard-paste-simple paragraph"
177 Menu "edit_pasterecent"
181 Menu "edit_textstyles"
182 Item "Dissolve Text Style" "inset-dissolve charstyle"
186 Item "Customized...|C" "dialog-show character"
188 Item "Capitalize|a" "word-capitalize"
189 Item "Uppercase|U" "word-upcase"
190 Item "Lowercase|L" "word-lowcase"
193 # not much we can do to help here
195 Item "Multicolumn|M" "inset-modify tabular multicolumn"
196 Item "Multirow|u" "inset-modify tabular multirow"
198 Item "Top Line|T" "inset-modify tabular toggle-line-top"
199 Item "Bottom Line|B" "inset-modify tabular toggle-line-bottom"
200 Item "Left Line|L" "inset-modify tabular toggle-line-left"
201 Item "Right Line|R" "inset-modify tabular toggle-line-right"
203 Item "Top|p" "inset-modify tabular tabular-valign-top"
204 Item "Middle|i" "inset-modify tabular tabular-valign-middle"
205 Item "Bottom|o" "inset-modify tabular tabular-valign-bottom"
208 Menu "edit_tabular_features"
209 Item "Left|L" "inset-modify tabular align-left"
210 Item "Center|C" "inset-modify tabular align-center"
211 Item "Right|R" "inset-modify tabular align-right"
213 Item "Top|T" "inset-modify tabular valign-top"
214 Item "Middle|M" "inset-modify tabular valign-middle"
215 Item "Bottom|B" "inset-modify tabular valign-bottom"
217 Item "Add Row|A" "inset-modify tabular append-row"
218 Item "Delete Row|D" "inset-modify tabular delete-row"
219 Item "Copy Row|o" "inset-modify tabular copy-row"
220 Item "Move Row Up" "inset-modify tabular move-row-up"
221 Item "Move Row Down" "inset-modify tabular move-row-down"
222 # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
224 Item "Add Column|u" "inset-modify tabular append-column"
225 Item "Delete Column|e" "inset-modify tabular delete-column"
226 Item "Copy Column|p" "inset-modify tabular copy-column"
227 Item "Move Column Right|v" "inset-modify tabular move-column-right"
228 Item "Move Column Left" "inset-modify tabular move-column-left"
229 # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
233 Item "Number Whole Formula|N" "math-number-toggle"
234 Item "Number This Line|u" "math-number-line-toggle"
235 Submenu "Change Limits Type|L" "edit_math_limits"
236 Submenu "Macro Definition" "edit_math_macro_definition"
238 Submenu "Change Formula Type|F" "edit_math_mutate"
240 Submenu "Text Style|T" "edit_math_fontstyles"
242 Submenu "Use Computer Algebra System|S" "edit_math_extern"
244 Item "Split Cell|C" "cell-split"
246 Item "Add Line Above|A" "inset-modify tabular add-hline-above"
247 Item "Add Line Below|B" "inset-modify tabular add-hline-below"
248 Item "Delete Line Above|D" "inset-modify tabular delete-hline-above"
249 Item "Delete Line Below|e" "inset-modify tabular delete-hline-below"
251 Item "Add Line to Left" "inset-modify tabular add-vline-left"
252 Item "Add Line to Right" "inset-modify tabular add-vline-right"
253 Item "Delete Line to Left" "inset-modify tabular delete-vline-left"
254 Item "Delete Line to Right" "inset-modify tabular delete-vline-right"
257 Menu "edit_math_macro_definition"
258 Item "Append Argument" "math-macro-add-param"
259 Item "Remove Last Argument" "math-macro-remove-param"
261 Item "Transform First Non-Optional to Optional Argument" "math-macro-make-optional"
262 Item "Transform Last Optional to Non-Optional Argument" "math-macro-make-nonoptional"
263 Item "Insert Optional Argument" "math-macro-add-optional-param"
264 Item "Remove Optional Argument" "math-macro-remove-optional-param"
266 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
267 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
268 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
271 Menu "edit_math_limits"
272 Item "Default|t" "math-limits empty"
273 Item "Display|D" "math-limits limits"
274 Item "Inline|I" "math-limits nolimits"
277 Menu "edit_math_fontstyles"
278 Item "Math Normal Font|N" "math-font-style mathnormal"
280 Item "Math Calligraphic Family|C" "math-font-style mathcal"
281 Item "Math Formal Script Family|o" "math-font-style mathscr"
282 Item "Math Fraktur Family|F" "math-font-style mathfrak"
283 Item "Math Roman Family|R" "math-font-style mathrm"
284 Item "Math Sans Serif Family|S" "math-font-style mathsf"
286 Item "Math Bold Series|B" "math-font-style mathbf"
288 Item "Text Normal Font|T" "math-font-style textnormal"
290 Item "Text Roman Family" "math-font-style textrm"
291 Item "Text Sans Serif Family" "math-font-style textsf"
292 Item "Text Typewriter Family" "math-font-style texttt"
294 Item "Text Bold Series" "math-font-style textbf"
295 Item "Text Medium Series" "math-font-style textmd"
297 Item "Text Italic Shape" "math-font-style textit"
298 Item "Text Small Caps Shape" "math-font-style textsc"
299 Item "Text Slanted Shape" "math-font-style textsl"
300 Item "Text Upright Shape" "math-font-style textup"
303 Menu "edit_math_extern"
304 Item "Octave|O" "math-extern octave"
305 Item "Maxima|M" "math-extern maxima"
306 Item "Mathematica|a" "math-extern mathematica"
308 Item "Maple, Simplify|S" "math-extern maple simplify"
309 Item "Maple, Factor|F" "math-extern maple factor"
310 Item "Maple, Evalm|E" "math-extern maple evalm"
311 Item "Maple, Evalf|v" "math-extern maple evalf"
314 Menu "edit_math_mutate"
315 Item "Inline Formula|I" "math-mutate simple"
316 Item "Displayed Formula|D" "math-mutate equation"
317 Item "Eqnarray Environment|E" "math-mutate eqnarray"
318 Item "AMS align Environment|a" "math-mutate align"
319 Item "AMS alignat Environment|t" "math-mutate alignat"
320 Item "AMS flalign Environment|f" "math-mutate flalign"
321 Item "AMS gather Environment|g" "math-mutate gather"
322 Item "AMS multline Environment|m" "math-mutate multline"
330 Item "Open All Insets|O" "inset-forall * inset-toggle open"
331 Item "Close All Insets|C" "inset-forall * inset-toggle close"
333 Item "Unfold Math Macro|n" "math-macro-unfold"
334 Item "Fold Math Macro|d" "math-macro-fold"
336 Item "Outline Pane|u" "dialog-toggle toc"
337 Item "Source Pane|S" "dialog-toggle view-source"
338 Item "Messages Pane|g" "dialog-toggle progress"
339 Submenu "Toolbars|b" "toolbars"
341 Item "Split View Into Left and Right Half|i" "view-split horizontal"
342 Item "Split View Into Upper and Lower Half|e" "view-split vertical"
343 OptItem "Close Current View|w" "tab-group-close"
344 Item "Fullscreen|l" "ui-toggle fullscreen"
356 # Try and group things a little better, and percolate the most
357 # commonly used to good positions (exception being mathed, but
358 # most people using mathed learn key shortcuts quite quickly anyway)
359 Submenu "Math|h" "insert_math"
360 Submenu "Special Character|p" "insert_special"
361 Submenu "Formatting|o" "insert_formatting"
362 Submenu "List / TOC|i" "insert_toc"
363 Submenu "Float|a" "insert_float"
364 Submenu "Note|N" "insert_note"
365 Submenu "Branch|B" "insert_branches"
366 Submenu "Custom Insets" "insert_custom"
367 Submenu "File|e" "insert_file"
368 Submenu "Box[[Menu]]" "insert_box"
369 OptSubmenu "Insert Regular Expression" "context-edit-regexp"
371 Item "Citation...|C" "dialog-show-new-inset citation"
372 Item "Cross-Reference...|R" "dialog-show-new-inset ref"
373 Item "Label...|L" "label-insert"
376 Item "Nomenclature Entry...|y" "nomencl-insert"
378 Item "Table...|T" "tabular-insert"
379 Item "Graphics...|G" "dialog-show-new-inset graphics"
380 Item "URL|U" "flex-insert URL"
381 Item "Hyperlink...|k" "href-insert"
382 Item "Footnote|F" "footnote-insert"
383 Item "Marginal Note|M" "marginalnote-insert"
385 Item "TeX Code|X" "ert-insert"
386 Item "Program Listing[[Menu]]" "listing-insert"
387 Item "Date" "date-insert"
388 Item "Preview|w" "preview-insert"
391 Menu "insert_special"
392 Item "Symbols...|b" "dialog-show symbols"
393 Item "Ellipsis|i" "specialchar-insert dots"
394 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
395 Item "Ordinary Quote|Q" "self-insert \""
396 Item "Single Quote|S" "quote-insert single"
397 Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
398 Item "Breakable Slash|a" "specialchar-insert slash"
399 Item "Visible Space|V" "space-insert visible"
400 Item "Menu Separator|M" "specialchar-insert menu-separator"
401 Item "Phonetic Symbols|P" "ipa-insert"
404 Menu "insert_formatting"
405 Item "Superscript|S" "script-insert superscript"
406 Item "Subscript|u" "script-insert subscript"
408 Item "Protected Space|P" "space-insert protected"
409 Item "Interword Space|w" "space-insert normal"
410 Item "Thin Space|T" "space-insert thin"
411 Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
412 Item "Horizontal Line...|L" "dialog-show-new-inset line"
413 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
414 Submenu "Phantom|m" "insert_phantom"
416 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
417 Item "Ligature Break|k" "specialchar-insert ligature-break"
418 Item "Ragged Line Break|R" "newline-insert newline"
419 Item "Justified Line Break|J" "newline-insert linebreak"
421 Item "New Page|N" "newpage-insert newpage"
422 Item "Page Break|a" "newpage-insert pagebreak"
423 Item "Clear Page|C" "newpage-insert clearpage"
424 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
428 # Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
429 Item "Inline Formula|I" "math-mode on"
430 Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
431 Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
432 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
433 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
434 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
435 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
436 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
437 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
439 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
440 Item "Array Environment|y" "math-matrix 2 2"
441 Item "Cases Environment|C" "math-insert \cases"
442 Item "Aligned Environment|l" "command-sequence math-insert \aligned; inset-modify tabular append-column"
443 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; inset-modify tabular append-column"
444 Item "Gathered Environment|h" "math-insert \gathered"
445 Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular append-column"
447 Item "Delimiters...|r" "dialog-show mathdelimiter"
448 Item "Matrix...|x" "dialog-show mathmatrix"
449 Item "Macro|o" "math-macro newmacroname newcommand"
454 # This has got to be better than "Wrap", anyway
455 Item "Figure Wrap Float|F" "wrap-insert figure"
456 Item "Table Wrap Float|T" "wrap-insert table"
460 Item "Table of Contents|C" "inset-insert toc"
463 Item "List of Listings|L" "inset-insert toc CommandInset toc LatexCommand lstlistoflistings \end_inset"
464 Item "Nomenclature|N" "nomencl-print"
465 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
469 Item "LyX Document...|X" "file-insert"
470 Item "Plain Text...|T" "file-insert-plaintext"
471 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
473 Item "External Material...|M" "dialog-show-new-inset external"
474 Item "Child Document...|d" "dialog-show-new-inset include"
478 Item "Frameless|l" "box-insert Frameless"
479 Item "Simple Frame|F" "box-insert Boxed"
480 Item "Oval, Thin|a" "box-insert ovalbox"
481 Item "Oval, Thick|v" "box-insert Ovalbox"
482 Item "Drop Shadow|w" "box-insert Shadowbox"
483 Item "Shaded Background|B" "box-insert Shaded"
484 Item "Double Frame|u" "box-insert Doublebox"
488 Item "LyX Note|N" "note-insert Note"
489 Item "Comment|C" "note-insert Comment"
490 Item "Greyed Out|G" "note-insert Greyedout"
493 Menu "insert_branches"
496 Item "Insert New Branch...|I" "branch-add-insert"
499 Menu "insert_phantom"
500 Item "Phantom|P" "phantom-insert Phantom"
501 Item "Horizontal Phantom|H" "phantom-insert HPhantom"
502 Item "Vertical Phantom|V" "phantom-insert VPhantom"
514 Submenu "Change Tracking|C" "document_change"
515 OptItem "Build Program|B" "build-program"
516 Item "LaTeX Log|L" "dialog-show latexlog"
517 Item "Start Appendix Here|A" "appendix"
521 OptItem "View Master Document|M" "master-buffer-view"
522 OptItem "Update Master Document|a" "master-buffer-update"
524 Item "Compressed|m" "buffer-toggle-compression"
525 Item "Settings...|S" "dialog-show document"
528 Menu "document_change"
529 Item "Track Changes|T" "changes-track"
530 Item "Merge Changes...|M" "changes-merge"
531 Item "Accept Change|A" "change-accept"
532 Item "Reject Change|R" "change-reject"
533 Item "Accept All Changes|c" "all-changes-accept"
534 Item "Reject All Changes|e" "all-changes-reject"
535 Item "Show Changes in Output|S" "changes-output"
542 Submenu "Bookmarks|B" "navigate_bookmarks"
543 Item "Next Note|N" "note-next"
544 Item "Next Change|C" "change-next"
545 Item "Next Cross-Reference|R" "reference-next"
546 OptItem "Go to Label|L" "label-goto"
547 Item "Forward Search|F" "forward-search"
552 Menu "navigate_bookmarks"
553 Item "Save Bookmark 1|S" "bookmark-save 1"
554 Item "Save Bookmark 2" "bookmark-save 2"
555 Item "Save Bookmark 3" "bookmark-save 3"
556 Item "Save Bookmark 4" "bookmark-save 4"
557 Item "Save Bookmark 5" "bookmark-save 5"
558 Item "Clear Bookmarks|C" "bookmark-clear"
560 Item "Navigate Back|B" "bookmark-goto 0"
569 Item "Spellchecker...|S" "dialog-show spellchecker"
570 OptItem "Thesaurus...|T" "thesaurus-entry"
571 Item "Statistics...|a" "statistics"
572 OptItem "Check TeX|h" "buffer-chktex"
573 Item "TeX Information|I" "dialog-show texinfo"
574 Item "Compare...|C" "dialog-show compare"
576 # A LOT of applications have Tools->Prefs. Remember this
577 # should be rarely used - Edit menu is not a good place to
579 Item "Reconfigure|R" "reconfigure"
580 Item "Preferences...|P" "dialog-show prefs"
587 Item "Introduction|I" "help-open Intro"
588 Item "Tutorial|T" "help-open Tutorial"
589 Item "User's Guide|U" "help-open UserGuide"
590 Item "Additional Features|F" "help-open Additional"
591 Item "Embedded Objects|O" "help-open EmbeddedObjects"
592 Item "Math|M" "help-open Math"
593 Item "Customization|C" "help-open Customization"
594 Item "Shortcuts|S" "help-open Shortcuts"
595 Item "LyX Functions|y" "help-open LFUNs"
596 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
597 Submenu "Specific Manuals|p" "examples"
599 Item "About LyX|X" "dialog-show aboutlyx"
603 Item "Beamer Presentations|B" "help-open beamer"
604 Item "Braille|a" "help-open Braille"
605 Item "Feynman-diagram|F" "help-open FeynmanDiagrams"
606 Item "Knitr|K" "help-open knitr"
607 Item "LilyPond|P" "help-open lilypond"
608 Item "Linguistics|L" "help-open linguistics"
609 Item "Multilingual Captions|C" "help-open MultilingualCaptions"
610 Item "Risk and Safety Statements|R" "help-open R-S-statements"
611 Item "Sweave|S" "help-open sweave"
612 Item "XY-pic|X" "help-open xypic"