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"
354 Item "Small-sized Icons" "icon-size small"
355 Item "Normal-sized Icons" "icon-size normal"
356 Item "Big-sized Icons" "icon-size big"
357 Item "Huge-sized Icons" "icon-size huge"
358 Item "Giant-sized Icons" "icon-size giant"
364 # Try and group things a little better, and percolate the most
365 # commonly used to good positions (exception being mathed, but
366 # most people using mathed learn key shortcuts quite quickly anyway)
367 Submenu "Math|h" "insert_math"
368 Submenu "Special Character|p" "insert_special"
369 Submenu "Formatting|o" "insert_formatting"
370 Submenu "List / TOC|i" "insert_toc"
371 Submenu "Float|a" "insert_float"
372 Submenu "Note|N" "insert_note"
373 Submenu "Branch|B" "insert_branches"
374 Submenu "Custom Insets" "insert_custom"
375 Submenu "File|e" "insert_file"
376 Submenu "Box[[Menu]]|x" "insert_box"
377 OptSubmenu "Insert Regular Expression" "context-edit-regexp"
379 Item "Citation...|C" "dialog-show-new-inset citation"
380 Item "Cross-Reference...|R" "dialog-show-new-inset ref"
381 Item "Label...|L" "label-insert"
384 Item "Nomenclature Entry...|y" "nomencl-insert"
386 Item "Table...|T" "tabular-insert"
387 Item "Graphics...|G" "dialog-show-new-inset graphics"
388 Item "URL|U" "flex-insert URL"
389 Item "Hyperlink...|k" "href-insert"
390 Item "Footnote|F" "footnote-insert"
391 Item "Marginal Note|M" "marginalnote-insert"
393 Item "TeX Code" "ert-insert"
394 Item "Program Listing[[Menu]]" "listing-insert"
395 Item "Date" "date-insert"
396 Item "Preview|w" "preview-insert"
399 Menu "insert_special"
400 Item "Symbols...|b" "dialog-show symbols"
401 Item "Ellipsis|i" "specialchar-insert dots"
402 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
403 Item "Plain Quotation Mark|Q" "quote-insert outer auto plain"
404 Item "Inner Quotation Mark|n" "quote-insert inner"
405 Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
406 Item "Breakable Slash|a" "specialchar-insert slash"
407 Item "Visible Space|V" "space-insert visible"
408 Item "Menu Separator|M" "specialchar-insert menu-separator"
409 Item "Phonetic Symbols|P" "ipa-insert"
410 Submenu "Logos|L" "insert_logos"
414 Item "LyX Logo|L" "specialchar-insert lyx"
415 Item "TeX Logo|T" "specialchar-insert tex"
416 Item "LaTeX Logo|a" "specialchar-insert latex"
417 Item "LaTeX2e Logo|e" "specialchar-insert latex2e"
420 Menu "insert_formatting"
421 Item "Superscript|S" "script-insert superscript"
422 Item "Subscript|u" "script-insert subscript"
424 Item "Protected Space|P" "space-insert protected"
425 Item "Interword Space|w" "space-insert normal"
426 Item "Thin Space|T" "space-insert thin"
427 Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
428 Item "Horizontal Line...|L" "dialog-show-new-inset line"
429 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
430 Submenu "Phantom|m" "insert_phantom"
432 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
433 Item "Ligature Break|k" "specialchar-insert ligature-break"
434 Item "Ragged Line Break|R" "newline-insert newline"
435 Item "Justified Line Break|J" "newline-insert linebreak"
437 Item "New Page|N" "newpage-insert newpage"
438 Item "Page Break|a" "newpage-insert pagebreak"
439 Item "Clear Page|C" "newpage-insert clearpage"
440 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
444 # Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
445 Item "Inline Formula|I" "math-mode on"
446 Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
447 Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
448 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
449 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
450 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
451 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
452 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
453 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
455 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
456 Item "Array Environment|y" "math-matrix 2 2"
457 Item "Cases Environment|C" "math-insert \cases"
458 Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column"
459 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
460 Item "Gathered Environment|h" "math-insert \gathered"
461 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
463 Item "Delimiters...|r" "dialog-show mathdelimiter"
464 Item "Matrix...|x" "dialog-show mathmatrix"
465 Item "Macro|o" "math-macro newmacroname newcommand"
470 # This has got to be better than "Wrap", anyway
471 Item "Figure Wrap Float|F" "wrap-insert figure"
472 Item "Table Wrap Float|T" "wrap-insert table"
476 Item "Table of Contents|C" "inset-insert toc"
479 Item "List of Listings|L" "inset-insert toc CommandInset toc LatexCommand lstlistoflistings \end_inset"
480 Item "Nomenclature|N" "nomencl-print"
481 Item "Bib(la)TeX Bibliography...|B" "dialog-show-new-inset bibtex"
485 Item "LyX Document...|X" "file-insert"
486 Item "Plain Text...|T" "file-insert-plaintext"
487 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
489 Item "External Material...|M" "dialog-show-new-inset external"
490 Item "Child Document...|d" "dialog-show-new-inset include"
494 Item "Frameless|l" "box-insert Frameless"
495 Item "Simple Frame|F" "box-insert Boxed"
496 Item "Oval, Thin|a" "box-insert ovalbox"
497 Item "Oval, Thick|v" "box-insert Ovalbox"
498 Item "Drop Shadow|w" "box-insert Shadowbox"
499 Item "Shaded Background|B" "box-insert Shaded"
500 Item "Double Frame|u" "box-insert Doublebox"
504 Item "LyX Note|N" "note-insert Note"
505 Item "Comment|C" "note-insert Comment"
506 Item "Greyed Out|G" "note-insert Greyedout"
509 Menu "insert_branches"
512 Item "Insert New Branch...|I" "branch-add-insert"
515 Menu "insert_phantom"
516 Item "Phantom|P" "phantom-insert Phantom"
517 Item "Horizontal Phantom|H" "phantom-insert HPhantom"
518 Item "Vertical Phantom|V" "phantom-insert VPhantom"
530 Submenu "Change Tracking|C" "document_change"
531 OptItem "Build Program|B" "build-program"
532 Item "LaTeX Log|L" "dialog-show latexlog"
533 Item "Start Appendix Here|x" "appendix"
537 OptItem "View Master Document|M" "master-buffer-view"
538 OptItem "Update Master Document|a" "master-buffer-update"
540 Item "Compressed|o" "buffer-toggle-compression"
541 Item "Disable Editing|E" "buffer-toggle-read-only"
542 Item "Settings...|S" "dialog-show document"
545 Menu "document_change"
546 Item "Track Changes|T" "changes-track"
547 Item "Merge Changes...|M" "changes-merge"
548 Item "Accept Change|A" "change-accept"
549 Item "Reject Change|R" "change-reject"
550 Item "Accept All Changes|c" "all-changes-accept"
551 Item "Reject All Changes|e" "all-changes-reject"
552 Item "Show Changes in Output|S" "changes-output"
559 Submenu "Bookmarks|B" "navigate_bookmarks"
560 Item "Next Note|N" "note-next"
561 Item "Next Change|C" "change-next"
562 Item "Next Cross-Reference|R" "reference-next"
563 OptItem "Go to Label|L" "label-goto"
564 Item "Forward Search|F" "forward-search"
569 Menu "navigate_bookmarks"
570 Item "Save Bookmark 1|S" "bookmark-save 1"
571 Item "Save Bookmark 2" "bookmark-save 2"
572 Item "Save Bookmark 3" "bookmark-save 3"
573 Item "Save Bookmark 4" "bookmark-save 4"
574 Item "Save Bookmark 5" "bookmark-save 5"
575 Item "Clear Bookmarks|C" "bookmark-clear"
577 Item "Navigate Back|B" "bookmark-goto 0"
586 Item "Spellchecker...|S" "dialog-show spellchecker"
587 OptItem "Thesaurus...|T" "thesaurus-entry"
588 Item "Statistics...|a" "statistics"
589 OptItem "Check TeX|h" "buffer-chktex"
590 Item "TeX Information|I" "dialog-show texinfo"
591 Item "Compare...|C" "dialog-show compare"
593 # A LOT of applications have Tools->Prefs. Remember this
594 # should be rarely used - Edit menu is not a good place to
596 Item "Reconfigure|R" "reconfigure"
597 Item "Preferences...|P" "dialog-show prefs"
604 Item "Introduction|I" "help-open Intro"
605 Item "Tutorial|T" "help-open Tutorial"
606 Item "User's Guide|U" "help-open UserGuide"
607 Item "Additional Features|F" "help-open Additional"
608 Item "Embedded Objects|O" "help-open EmbeddedObjects"
609 Item "Math|M" "help-open Math"
610 Item "Customization|C" "help-open Customization"
611 Item "Shortcuts|S" "help-open Shortcuts"
612 Item "LyX Functions|y" "help-open LFUNs"
613 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
614 Submenu "Specific Manuals|p" "examples"
616 Item "About LyX|X" "dialog-show aboutlyx"
620 Item "Beamer Presentations|B" "help-open beamer"
621 Item "Braille|a" "help-open Braille"
622 Item "Colored boxes|r" "help-open colored-boxes"
623 Item "Feynman-diagram|F" "help-open FeynmanDiagrams"
624 Item "Knitr|K" "help-open knitr"
625 Item "LilyPond|P" "help-open lilypond"
626 Item "Linguistics|L" "help-open linguistics"
627 Item "Multilingual Captions|C" "help-open MultilingualCaptions"
628 Item "Paralist|t" "help-open paralist"
629 Item "PDF comments|D" "help-open PDF-comment"
630 Item "PDF forms|o" "help-open PDF-form"
631 Item "Hazard and Precautionary Statements|H" "help-open H-P-statements"
632 Item "Sweave|S" "help-open sweave"
633 Item "XY-pic|X" "help-open xypic"