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 OptItem "Fax...|F" "buffer-export fax"
62 Item "New Window|W" "window-new"
63 Item "Close Window|d" "window-close"
65 Item "Exit|x" "lyx-quit"
73 OptItem "Register...|R" "vc-register"
74 OptItem "Check In Changes...|I" "vc-check-in"
75 OptItem "Check Out for Edit|O" "vc-check-out"
76 OptItem "Copy|p" "vc-copy"
77 OptItem "Rename|R" "vc-rename"
78 OptItem "Update Local Directory From Repository|d" "vc-repo-update"
79 OptItem "Revert to Repository Version|v" "vc-revert"
80 OptItem "Undo Last Check In|U" "vc-undo-last"
81 OptItem "Compare with Older Revision...|C" "vc-compare"
82 OptItem "Show History...|H" "dialog-show vclog"
83 OptItem "Use Locking Property|L" "vc-locking-toggle"
91 Item "Export As...|s" "buffer-export-as"
93 Item "More Formats & Options...|r" "buffer-export custom"
107 Submenu "Paste Recent|e" "edit_pasterecent"
108 Submenu "Paste Special" "edit_paste"
110 Item "Select Whole Inset" "inset-select-all"
111 Item "Select All" "command-sequence buffer-begin ; buffer-end-select"
113 Item "Find & Replace (Quick)...|F" "dialog-show findreplace"
114 Item "Find & Replace (Advanced)..." "dialog-show findreplaceadv"
116 Item "Move Paragraph Up|o" "paragraph-move-up"
117 Item "Move Paragraph Down|v" "paragraph-move-down"
119 Submenu "Text Style|S" "edit_textstyles"
121 Item "Paragraph Settings...|P" "layout-paragraph"
123 # Mathed b0rkage means these don't work properly
124 OptSubmenu "Table|T" "edit_tabular"
125 OptSubmenu "Math|M" "edit_math"
126 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
128 # This is where the context-specific stuff is supposed to go.
129 # The idea is that everything on here can disappear and should
130 # only appear when relevant (getStatus). Only stuff that needs
131 # a right-click to bring up the dialog should appear here (it is not
132 # obvious what the context is for the others)
133 OptItem "Increase List Depth|I" "depth-increment"
134 OptItem "Decrease List Depth|D" "depth-decrement"
135 EnvironmentSeparators
136 OptItem "Dissolve Inset" "inset-dissolve"
137 OptItem "TeX Code Settings...|C" "inset-settings ert"
138 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
139 OptItem "Float Settings...|a" "inset-settings float"
140 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
141 OptItem "Note Settings...|N" "inset-settings note"
142 OptItem "Phantom Settings...|h" "inset-settings phantom"
143 OptItem "Branch Settings...|B" "inset-settings branch"
144 OptItem "Box Settings...|x" "inset-settings box"
145 OptItem "Index Entry Settings...|y" "inset-settings index"
146 OptItem "Index Settings...|x" "inset-settings index_print"
147 OptItem "Info Settings...|n" "inset-settings info"
148 OptItem "Listings Settings...|g" "inset-settings listings"
149 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
150 # This is in the Table submenu instead for now.
151 # OptItem "Table Settings...|a" "inset-settings tabular"
152 OptItem "Table Settings...|a" "layout-tabular"
156 OptItem "Paste from HTML|H" "paste html"
157 OptItem "Paste from LaTeX|L" "paste latex"
158 OptItem "Paste as LinkBack PDF" "paste linkback"
159 OptItem "Paste as PDF" "paste pdf"
160 OptItem "Paste as PNG" "paste png"
161 OptItem "Paste as JPEG" "paste jpeg"
162 OptItem "Paste as EMF" "paste emf"
164 Item "Plain Text|T" "clipboard-paste"
165 Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
167 Item "Selection|S" "primary-selection-paste"
168 Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
169 # clipboard-paste-simple is commented because it is irritating (bug 8749)
170 # until somebody can explain why it is needed in addition to clipboard-paste
172 # Item "Unformatted Text|U" "clipboard-paste-simple"
173 # Item "Unformatted, Join Lines|o" "clipboard-paste-simple paragraph"
176 Menu "edit_pasterecent"
180 Menu "edit_textstyles"
181 Item "Dissolve Text Style" "inset-dissolve charstyle"
185 Item "Customized...|C" "dialog-show character"
187 Item "Capitalize|a" "word-capitalize"
188 Item "Uppercase|U" "word-upcase"
189 Item "Lowercase|L" "word-lowcase"
192 # not much we can do to help here
194 Item "Multi-page Table|g" "tabular-feature toggle-longtabular"
195 Item "Formal Style|F" "tabular-feature toggle-booktabs"
197 Item "Multicolumn|M" "tabular-feature multicolumn"
198 Item "Multirow|u" "tabular-feature multirow"
200 Item "Top Line|T" "tabular-feature toggle-line-top"
201 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
202 Item "Left Line|L" "tabular-feature toggle-line-left"
203 Item "Right Line|R" "tabular-feature toggle-line-right"
205 Item "Top|p" "tabular-feature tabular-valign-top"
206 Item "Middle|i" "tabular-feature tabular-valign-middle"
207 Item "Bottom|o" "tabular-feature tabular-valign-bottom"
210 Menu "edit_tabular_features"
211 Item "Left|L" "tabular-feature align-left"
212 Item "Center|C" "tabular-feature align-center"
213 Item "Right|R" "tabular-feature align-right"
215 Item "Top|T" "tabular-feature valign-top"
216 Item "Middle|M" "tabular-feature valign-middle"
217 Item "Bottom|B" "tabular-feature valign-bottom"
219 Item "Add Row|A" "tabular-feature append-row"
220 Item "Delete Row|D" "tabular-feature delete-row"
221 Item "Copy Row|o" "tabular-feature copy-row"
222 Item "Move Row Up" "tabular-feature move-row-up"
223 Item "Move Row Down" "tabular-feature move-row-down"
224 # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken
226 Item "Add Column|u" "tabular-feature append-column"
227 Item "Delete Column|e" "tabular-feature delete-column"
228 Item "Copy Column|p" "tabular-feature copy-column"
229 Item "Move Column Right|v" "tabular-feature move-column-right"
230 Item "Move Column Left" "tabular-feature move-column-left"
231 # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken
235 Item "Number Whole Formula|N" "math-number-toggle"
236 Item "Number This Line|u" "math-number-line-toggle"
237 Submenu "Change Limits Type|L" "edit_math_limits"
238 Submenu "Macro Definition" "edit_math_macro_definition"
240 Submenu "Change Formula Type|F" "edit_math_mutate"
242 Submenu "Text Style|T" "edit_math_fontstyles"
244 Submenu "Use Computer Algebra System|S" "edit_math_extern"
246 Item "Split Cell|C" "cell-split"
248 Item "Add Line Above|A" "tabular-feature add-hline-above"
249 Item "Add Line Below|B" "tabular-feature add-hline-below"
250 Item "Delete Line Above|D" "tabular-feature delete-hline-above"
251 Item "Delete Line Below|e" "tabular-feature delete-hline-below"
253 Item "Add Line to Left" "tabular-feature add-vline-left"
254 Item "Add Line to Right" "tabular-feature add-vline-right"
255 Item "Delete Line to Left" "tabular-feature delete-vline-left"
256 Item "Delete Line to Right" "tabular-feature delete-vline-right"
259 Menu "edit_math_macro_definition"
260 Item "Append Argument" "math-macro-add-param"
261 Item "Remove Last Argument" "math-macro-remove-param"
263 Item "Transform First Non-Optional to Optional Argument" "math-macro-make-optional"
264 Item "Transform Last Optional to Non-Optional Argument" "math-macro-make-nonoptional"
265 Item "Insert Optional Argument" "math-macro-add-optional-param"
266 Item "Remove Optional Argument" "math-macro-remove-optional-param"
268 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
269 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
270 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
273 Menu "edit_math_limits"
274 Item "Default|t" "math-limits empty"
275 Item "Display|D" "math-limits limits"
276 Item "Inline|I" "math-limits nolimits"
279 Menu "edit_math_fontstyles"
280 Item "Math Normal Font|N" "math-font-style mathnormal"
282 Item "Math Calligraphic Family|C" "math-font-style mathcal"
283 Item "Math Formal Script Family|o" "math-font-style mathscr"
284 Item "Math Fraktur Family|F" "math-font-style mathfrak"
285 Item "Math Roman Family|R" "math-font-style mathrm"
286 Item "Math Sans Serif Family|S" "math-font-style mathsf"
288 Item "Math Bold Series|B" "math-font-style mathbf"
290 Item "Text Normal Font|T" "math-font-style textnormal"
292 Item "Text Roman Family" "math-font-style textrm"
293 Item "Text Sans Serif Family" "math-font-style textsf"
294 Item "Text Typewriter Family" "math-font-style texttt"
296 Item "Text Bold Series" "math-font-style textbf"
297 Item "Text Medium Series" "math-font-style textmd"
299 Item "Text Italic Shape" "math-font-style textit"
300 Item "Text Small Caps Shape" "math-font-style textsc"
301 Item "Text Slanted Shape" "math-font-style textsl"
302 Item "Text Upright Shape" "math-font-style textup"
305 Menu "edit_math_extern"
306 Item "Octave|O" "math-extern octave"
307 Item "Maxima|M" "math-extern maxima"
308 Item "Mathematica|a" "math-extern mathematica"
310 Item "Maple, Simplify|S" "math-extern maple simplify"
311 Item "Maple, Factor|F" "math-extern maple factor"
312 Item "Maple, Evalm|E" "math-extern maple evalm"
313 Item "Maple, Evalf|v" "math-extern maple evalf"
316 Menu "edit_math_mutate"
317 Item "Inline Formula|I" "math-mutate simple"
318 Item "Displayed Formula|D" "math-mutate equation"
319 Item "Eqnarray Environment|E" "math-mutate eqnarray"
320 Item "AMS align Environment|a" "math-mutate align"
321 Item "AMS alignat Environment|t" "math-mutate alignat"
322 Item "AMS flalign Environment|f" "math-mutate flalign"
323 Item "AMS gather Environment|g" "math-mutate gather"
324 Item "AMS multline Environment|m" "math-mutate multline"
332 Item "Open All Insets|O" "inset-forall * inset-toggle open"
333 Item "Close All Insets|C" "inset-forall * inset-toggle close"
335 Item "Unfold Math Macro|n" "math-macro-unfold"
336 Item "Fold Math Macro|d" "math-macro-fold"
338 Item "Outline Pane|u" "dialog-toggle toc"
339 Item "Code Preview Pane|P" "dialog-toggle view-source"
340 Item "Messages Pane|g" "dialog-toggle progress"
341 Submenu "Toolbars|b" "toolbars"
343 Item "Split View Into Left and Right Half|i" "view-split horizontal"
344 Item "Split View Into Upper and Lower Half|e" "view-split vertical"
345 OptItem "Close Current View|w" "tab-group-close"
346 Item "Fullscreen|l" "ui-toggle fullscreen"
358 # Try and group things a little better, and percolate the most
359 # commonly used to good positions (exception being mathed, but
360 # most people using mathed learn key shortcuts quite quickly anyway)
361 Submenu "Math|h" "insert_math"
362 Submenu "Special Character|p" "insert_special"
363 Submenu "Formatting|o" "insert_formatting"
364 Submenu "List / TOC|i" "insert_toc"
365 Submenu "Float|a" "insert_float"
366 Submenu "Note|N" "insert_note"
367 Submenu "Branch|B" "insert_branches"
368 Submenu "Custom Insets" "insert_custom"
369 Submenu "File|e" "insert_file"
370 Submenu "Box[[Menu]]|x" "insert_box"
371 OptSubmenu "Insert Regular Expression" "context-edit-regexp"
373 Item "Citation...|C" "dialog-show-new-inset citation"
374 Item "Cross-Reference...|R" "dialog-show-new-inset ref"
375 Item "Label...|L" "label-insert"
378 Item "Nomenclature Entry...|y" "nomencl-insert"
380 Item "Table...|T" "tabular-insert"
381 Item "Graphics...|G" "dialog-show-new-inset graphics"
382 Item "URL|U" "flex-insert URL"
383 Item "Hyperlink...|k" "href-insert"
384 Item "Footnote|F" "footnote-insert"
385 Item "Marginal Note|M" "marginalnote-insert"
387 Item "TeX Code" "ert-insert"
388 Item "Program Listing[[Menu]]" "listing-insert"
389 Item "Date" "date-insert"
390 Item "Preview|w" "preview-insert"
393 Menu "insert_special"
394 Item "Symbols...|b" "dialog-show symbols"
395 Item "Ellipsis|i" "specialchar-insert dots"
396 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
397 Item "Ordinary Quote|Q" "self-insert \""
398 Item "Single Quote|S" "quote-insert single"
399 Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
400 Item "Breakable Slash|a" "specialchar-insert slash"
401 Item "Visible Space|V" "space-insert visible"
402 Item "Menu Separator|M" "specialchar-insert menu-separator"
403 Item "Phonetic Symbols|P" "ipa-insert"
404 Submenu "Logos|L" "insert_logos"
408 Item "LyX Logo|L" "specialchar-insert lyx"
409 Item "TeX Logo|T" "specialchar-insert tex"
410 Item "LaTeX Logo|a" "specialchar-insert latex"
411 Item "LaTeX2e Logo|e" "specialchar-insert latex2e"
414 Menu "insert_formatting"
415 Item "Superscript|S" "script-insert superscript"
416 Item "Subscript|u" "script-insert subscript"
418 Item "Protected Space|P" "space-insert protected"
419 Item "Interword Space|w" "space-insert normal"
420 Item "Thin Space|T" "space-insert thin"
421 Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
422 Item "Horizontal Line...|L" "dialog-show-new-inset line"
423 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
424 Submenu "Phantom|m" "insert_phantom"
426 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
427 Item "Ligature Break|k" "specialchar-insert ligature-break"
428 Item "Ragged Line Break|R" "newline-insert newline"
429 Item "Justified Line Break|J" "newline-insert linebreak"
431 Item "New Page|N" "newpage-insert newpage"
432 Item "Page Break|a" "newpage-insert pagebreak"
433 Item "Clear Page|C" "newpage-insert clearpage"
434 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
438 # Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
439 Item "Inline Formula|I" "math-mode on"
440 Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
441 Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
442 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
443 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
444 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
445 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
446 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
447 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
449 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
450 Item "Array Environment|y" "math-matrix 2 2"
451 Item "Cases Environment|C" "math-insert \cases"
452 Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column"
453 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
454 Item "Gathered Environment|h" "math-insert \gathered"
455 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
457 Item "Delimiters...|r" "dialog-show mathdelimiter"
458 Item "Matrix...|x" "dialog-show mathmatrix"
459 Item "Macro|o" "math-macro newmacroname newcommand"
464 # This has got to be better than "Wrap", anyway
465 Item "Figure Wrap Float|F" "wrap-insert figure"
466 Item "Table Wrap Float|T" "wrap-insert table"
470 Item "Table of Contents|C" "inset-insert toc"
473 Item "List of Listings|L" "inset-insert toc CommandInset toc LatexCommand lstlistoflistings \end_inset"
474 Item "Nomenclature|N" "nomencl-print"
475 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
479 Item "LyX Document...|X" "file-insert"
480 Item "Plain Text...|T" "file-insert-plaintext"
481 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
483 Item "External Material...|M" "dialog-show-new-inset external"
484 Item "Child Document...|d" "dialog-show-new-inset include"
488 Item "Frameless|l" "box-insert Frameless"
489 Item "Simple Frame|F" "box-insert Boxed"
490 Item "Oval, Thin|a" "box-insert ovalbox"
491 Item "Oval, Thick|v" "box-insert Ovalbox"
492 Item "Drop Shadow|w" "box-insert Shadowbox"
493 Item "Shaded Background|B" "box-insert Shaded"
494 Item "Double Frame|u" "box-insert Doublebox"
498 Item "LyX Note|N" "note-insert Note"
499 Item "Comment|C" "note-insert Comment"
500 Item "Greyed Out|G" "note-insert Greyedout"
503 Menu "insert_branches"
506 Item "Insert New Branch...|I" "branch-add-insert"
509 Menu "insert_phantom"
510 Item "Phantom|P" "phantom-insert Phantom"
511 Item "Horizontal Phantom|H" "phantom-insert HPhantom"
512 Item "Vertical Phantom|V" "phantom-insert VPhantom"
524 Submenu "Change Tracking|C" "document_change"
525 OptItem "Build Program|B" "build-program"
526 Item "LaTeX Log|L" "dialog-show latexlog"
527 Item "Start Appendix Here|x" "appendix"
531 OptItem "View Master Document|M" "master-buffer-view"
532 OptItem "Update Master Document|a" "master-buffer-update"
534 Item "Compressed|o" "buffer-toggle-compression"
535 Item "Disable Editing|E" "buffer-toggle-read-only"
536 Item "Settings...|S" "dialog-show document"
539 Menu "document_change"
540 Item "Track Changes|T" "changes-track"
541 Item "Merge Changes...|M" "changes-merge"
542 Item "Accept Change|A" "change-accept"
543 Item "Reject Change|R" "change-reject"
544 Item "Accept All Changes|c" "all-changes-accept"
545 Item "Reject All Changes|e" "all-changes-reject"
546 Item "Show Changes in Output|S" "changes-output"
553 Submenu "Bookmarks|B" "navigate_bookmarks"
554 Item "Next Note|N" "note-next"
555 Item "Next Change|C" "change-next"
556 Item "Next Cross-Reference|R" "reference-next"
557 OptItem "Go to Label|L" "label-goto"
558 Item "Forward Search|F" "forward-search"
563 Menu "navigate_bookmarks"
564 Item "Save Bookmark 1|S" "bookmark-save 1"
565 Item "Save Bookmark 2" "bookmark-save 2"
566 Item "Save Bookmark 3" "bookmark-save 3"
567 Item "Save Bookmark 4" "bookmark-save 4"
568 Item "Save Bookmark 5" "bookmark-save 5"
569 Item "Clear Bookmarks|C" "bookmark-clear"
571 Item "Navigate Back|B" "bookmark-goto 0"
580 Item "Spellchecker...|S" "dialog-show spellchecker"
581 OptItem "Thesaurus...|T" "thesaurus-entry"
582 Item "Statistics...|a" "statistics"
583 OptItem "Check TeX|h" "buffer-chktex"
584 Item "TeX Information|I" "dialog-show texinfo"
585 Item "Compare...|C" "dialog-show compare"
587 # A LOT of applications have Tools->Prefs. Remember this
588 # should be rarely used - Edit menu is not a good place to
590 Item "Reconfigure|R" "reconfigure"
591 Item "Preferences...|P" "dialog-show prefs"
598 Item "Introduction|I" "help-open Intro"
599 Item "Tutorial|T" "help-open Tutorial"
600 Item "User's Guide|U" "help-open UserGuide"
601 Item "Additional Features|F" "help-open Additional"
602 Item "Embedded Objects|O" "help-open EmbeddedObjects"
603 Item "Math|M" "help-open Math"
604 Item "Customization|C" "help-open Customization"
605 Item "Shortcuts|S" "help-open Shortcuts"
606 Item "LyX Functions|y" "help-open LFUNs"
607 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
608 Submenu "Specific Manuals|p" "examples"
610 Item "About LyX|X" "dialog-show aboutlyx"
614 Item "Beamer Presentations|B" "help-open beamer"
615 Item "Braille|a" "help-open Braille"
616 Item "Colored boxes|r" "help-open colored-boxes"
617 Item "Feynman-diagram|F" "help-open FeynmanDiagrams"
618 Item "Knitr|K" "help-open knitr"
619 Item "LilyPond|P" "help-open lilypond"
620 Item "Linguistics|L" "help-open linguistics"
621 Item "Multilingual Captions|C" "help-open MultilingualCaptions"
622 Item "Paralist|t" "help-open paralist"
623 Item "PDF comments|D" "help-open PDF-comment"
624 Item "PDF forms|o" "help-open PDF-form"
625 Item "Hazard and Precautionary Statements|H" "help-open H-P-statements"
626 Item "Sweave|S" "help-open sweave"
627 Item "XY-pic|X" "help-open xypic"