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 "Update Local Directory From Repository|d" "vc-repo-update"
78 OptItem "Revert to Repository Version|v" "vc-revert"
79 OptItem "Undo Last Check In|U" "vc-undo-last"
80 OptItem "Compare with Older Revision...|C" "vc-compare"
81 OptItem "Show History...|H" "dialog-show vclog"
82 OptItem "Use Locking Property|L" "vc-locking-toggle"
91 Item "More Formats & Options...|O" "buffer-export custom"
105 Submenu "Paste Recent|e" "edit_pasterecent"
106 Submenu "Paste Special" "edit_paste"
108 Item "Select Whole Inset" "inset-select-all"
109 Item "Select All" "command-sequence buffer-begin ; buffer-end-select"
111 Item "Find & Replace (Quick)...|F" "dialog-show findreplace"
112 Item "Find & Replace (Advanced)..." "dialog-show findreplaceadv"
114 Item "Move Paragraph Up|o" "paragraph-move-up"
115 Item "Move Paragraph Down|v" "paragraph-move-down"
117 Submenu "Text Style|S" "edit_textstyles"
119 Item "Paragraph Settings...|P" "layout-paragraph"
121 # Mathed b0rkage means these don't work properly
122 OptSubmenu "Table|T" "edit_tabular"
123 OptSubmenu "Math|M" "edit_math"
124 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
126 # This is where the context-specific stuff is supposed to go.
127 # The idea is that everything on here can disappear and should
128 # only appear when relevant (getStatus). Only stuff that needs
129 # a right-click to bring up the dialog should appear here (it is not
130 # obvious what the context is for the others)
131 OptItem "Increase List Depth|I" "depth-increment"
132 OptItem "Decrease List Depth|D" "depth-decrement"
133 OptItem "Dissolve Inset" "inset-dissolve"
134 OptItem "TeX Code Settings...|C" "inset-settings ert"
135 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
136 OptItem "Float Settings...|a" "inset-settings float"
137 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
138 OptItem "Note Settings...|N" "inset-settings note"
139 OptItem "Phantom Settings...|h" "inset-settings phantom"
140 OptItem "Branch Settings...|B" "inset-settings branch"
141 OptItem "Box Settings...|x" "inset-settings box"
142 OptItem "Index Entry Settings...|y" "inset-settings index"
143 OptItem "Index Settings...|x" "inset-settings index_print"
144 OptItem "Info Settings...|n" "inset-settings info"
145 OptItem "Listings Settings...|g" "inset-settings listings"
146 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
147 # This is in the Table submenu instead for now.
148 # OptItem "Table Settings...|a" "inset-settings tabular"
149 OptItem "Table Settings...|a" "layout-tabular"
153 Item "Plain Text|T" "clipboard-paste"
154 Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
156 Item "Selection|S" "primary-selection-paste"
157 Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
159 Item "Paste as LinkBack PDF" "paste linkback"
160 Item "Paste as PDF" "paste pdf"
161 Item "Paste as PNG" "paste png"
162 Item "Paste as JPEG" "paste jpeg"
165 Menu "edit_pasterecent"
169 Menu "edit_textstyles"
170 Item "Dissolve Text Style" "inset-dissolve charstyle"
174 Item "Customized...|C" "dialog-show character"
176 Item "Capitalize|a" "word-capitalize"
177 Item "Uppercase|U" "word-upcase"
178 Item "Lowercase|L" "word-lowcase"
181 # not much we can do to help here
183 Item "Multicolumn|M" "inset-modify tabular multicolumn"
184 Item "Multirow|u" "inset-modify tabular multirow"
186 Item "Top Line|T" "inset-modify tabular toggle-line-top"
187 Item "Bottom Line|B" "inset-modify tabular toggle-line-bottom"
188 Item "Left Line|L" "inset-modify tabular toggle-line-left"
189 Item "Right Line|R" "inset-modify tabular toggle-line-right"
191 Item "Top|p" "inset-modify tabular tabular-valign-top"
192 Item "Middle|i" "inset-modify tabular tabular-valign-middle"
193 Item "Bottom|o" "inset-modify tabular tabular-valign-bottom"
196 Menu "edit_tabular_features"
197 Item "Left|L" "inset-modify tabular align-left"
198 Item "Center|C" "inset-modify tabular align-center"
199 Item "Right|R" "inset-modify tabular align-right"
201 Item "Top|T" "inset-modify tabular valign-top"
202 Item "Middle|M" "inset-modify tabular valign-middle"
203 Item "Bottom|B" "inset-modify tabular valign-bottom"
205 Item "Add Row|A" "inset-modify tabular append-row"
206 Item "Delete Row|D" "inset-modify tabular delete-row"
207 Item "Copy Row|o" "inset-modify tabular copy-row"
208 # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
210 Item "Add Column|u" "inset-modify tabular append-column"
211 Item "Delete Column|e" "inset-modify tabular delete-column"
212 Item "Copy Column|p" "inset-modify tabular copy-column"
213 # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
217 Item "Number Whole Formula|N" "math-number-toggle"
218 Item "Number This Line|u" "math-number-line-toggle"
219 Submenu "Change Limits Type|L" "edit_math_limits"
220 Submenu "Macro Definition" "edit_math_macro_definition"
222 Submenu "Change Formula Type|F" "edit_math_mutate"
224 Submenu "Text Style|T" "edit_math_fontstyles"
226 Submenu "Use Computer Algebra System|S" "edit_math_extern"
228 Item "Split Cell|C" "cell-split"
230 Item "Add Line Above|A" "inset-modify tabular add-hline-above"
231 Item "Add Line Below|B" "inset-modify tabular add-hline-below"
232 Item "Delete Line Above|D" "inset-modify tabular delete-hline-above"
233 Item "Delete Line Below|e" "inset-modify tabular delete-hline-below"
235 Item "Add Line to Left" "inset-modify tabular add-vline-left"
236 Item "Add Line to Right" "inset-modify tabular add-vline-right"
237 Item "Delete Line to Left" "inset-modify tabular delete-vline-left"
238 Item "Delete Line to Right" "inset-modify tabular delete-vline-right"
241 Menu "edit_math_macro_definition"
242 Item "Append Argument" "math-macro-add-param"
243 Item "Remove Last Argument" "math-macro-remove-param"
245 Item "Make First Non-Optional into Optional Argument" "math-macro-make-optional"
246 Item "Make Last Optional into Non-Optional Argument" "math-macro-make-nonoptional"
247 Item "Insert Optional Argument" "math-macro-add-optional-param"
248 Item "Remove Optional Argument" "math-macro-remove-optional-param"
250 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
251 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
252 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
255 Menu "edit_math_limits"
256 Item "Default|t" "math-limits empty"
257 Item "Display|D" "math-limits limits"
258 Item "Inline|I" "math-limits nolimits"
261 Menu "edit_math_fontstyles"
262 Item "Math Normal Font|N" "math-font-style mathnormal"
264 Item "Math Calligraphic Family|C" "math-font-style mathcal"
265 Item "Math Formal Script Family|o" "math-font-style mathscr"
266 Item "Math Fraktur Family|F" "math-font-style mathfrak"
267 Item "Math Roman Family|R" "math-font-style mathrm"
268 Item "Math Sans Serif Family|S" "math-font-style mathsf"
270 Item "Math Bold Series|B" "math-font-style mathbf"
272 Item "Text Normal Font|T" "math-font-style textnormal"
274 Item "Text Roman Family" "math-font-style textrm"
275 Item "Text Sans Serif Family" "math-font-style textsf"
276 Item "Text Typewriter Family" "math-font-style texttt"
278 Item "Text Bold Series" "math-font-style textbf"
279 Item "Text Medium Series" "math-font-style textmd"
281 Item "Text Italic Shape" "math-font-style textit"
282 Item "Text Small Caps Shape" "math-font-style textsc"
283 Item "Text Slanted Shape" "math-font-style textsl"
284 Item "Text Upright Shape" "math-font-style textup"
287 Menu "edit_math_extern"
288 Item "Octave|O" "math-extern octave"
289 Item "Maxima|M" "math-extern maxima"
290 Item "Mathematica|a" "math-extern mathematica"
292 Item "Maple, Simplify|S" "math-extern maple simplify"
293 Item "Maple, Factor|F" "math-extern maple factor"
294 Item "Maple, Evalm|E" "math-extern maple evalm"
295 Item "Maple, Evalf|v" "math-extern maple evalf"
298 Menu "edit_math_mutate"
299 Item "Inline Formula|I" "math-mutate simple"
300 Item "Displayed Formula|D" "math-mutate equation"
301 Item "Eqnarray Environment|E" "math-mutate eqnarray"
302 Item "AMS align Environment|a" "math-mutate align"
303 Item "AMS alignat Environment|t" "math-mutate alignat"
304 Item "AMS flalign Environment|f" "math-mutate flalign"
305 Item "AMS gather Environment|g" "math-mutate gather"
306 Item "AMS multline Environment|m" "math-mutate multline"
314 Item "Open All Insets|O" "inset-forall * inset-toggle open"
315 Item "Close All Insets|C" "inset-forall * inset-toggle close"
317 Item "Unfold Math Macro|n" "math-macro-unfold"
318 Item "Fold Math Macro|d" "math-macro-fold"
320 Item "View Source|S" "dialog-toggle view-source"
321 Item "View Messages|g" "dialog-toggle progress"
324 OptItem "View Master Document|M" "master-buffer-view"
325 OptItem "Update Master Document|a" "master-buffer-update"
327 Item "Split View Into Left and Right Half|i" "split-view horizontal"
328 Item "Split View Into Upper and Lower Half|e" "split-view vertical"
329 Item "Close Current View|w" "close-tab-group"
330 Item "Fullscreen|l" "ui-toggle fullscreen"
331 Submenu "Toolbars|b" "toolbars"
343 # Try and group things a little better, and percolate the most
344 # commonly used to good positions (exception being mathed, but
345 # most people using mathed learn key shortcuts quite quickly anyway)
346 Submenu "Math|h" "insert_math"
347 Submenu "Special Character|p" "insert_special"
348 Submenu "Formatting|o" "insert_formatting"
349 Submenu "List / TOC|i" "insert_toc"
350 Submenu "Float|a" "insert_float"
351 Submenu "Note|N" "insert_note"
352 Submenu "Branch|B" "insert_branches"
353 Submenu "Custom Insets" "insert_custom"
354 Submenu "File|e" "insert_file"
355 Submenu "Box[[Menu]]" "insert_box"
356 OptSubmenu "Insert Regular Expression" "context-edit-regexp"
358 Item "Citation...|C" "dialog-show-new-inset citation"
359 Item "Cross-Reference...|R" "dialog-show-new-inset ref"
360 Item "Label...|L" "label-insert"
361 Item "Caption" "caption-insert"
363 Item "Nomenclature Entry...|y" "nomencl-insert"
365 Item "Table...|T" "tabular-insert"
366 Item "Graphics...|G" "dialog-show-new-inset graphics"
367 Item "URL|U" "flex-insert URL"
368 Item "Hyperlink...|k" "href-insert"
369 Item "Footnote|F" "footnote-insert"
370 Item "Marginal Note|M" "marginalnote-insert"
371 Item "Short Title|S" "argument-insert"
372 Item "TeX Code|X" "ert-insert"
373 Item "Program Listing[[Menu]]" "listing-insert"
374 Item "Date" "date-insert"
375 Item "Preview|w" "preview-insert"
378 Menu "insert_special"
379 Item "Symbols...|b" "dialog-show symbols"
380 Item "Ellipsis|i" "specialchar-insert dots"
381 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
382 Item "Ordinary Quote|Q" "self-insert \""
383 Item "Single Quote|S" "quote-insert single"
384 Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
385 Item "Breakable Slash|a" "specialchar-insert slash"
386 Item "Menu Separator|M" "specialchar-insert menu-separator"
387 Item "Phonetic Symbols|P" "command-sequence math-insert \text\textipa ; char-forward ;"
390 Menu "insert_formatting"
391 Item "Superscript|S" "script-insert superscript"
392 Item "Subscript|u" "script-insert subscript"
394 Item "Protected Space|P" "space-insert protected"
395 Item "Interword Space|w" "space-insert normal"
396 Item "Thin Space|T" "space-insert thin"
397 Item "Horizontal Space...|o" "dialog-show-new-inset space"
398 Item "Horizontal Line...|L" "dialog-show-new-inset line"
399 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
400 Submenu "Phantom|m" "insert_phantom"
402 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
403 Item "Ligature Break|k" "specialchar-insert ligature-break"
404 Item "Ragged Line Break|R" "newline-insert newline"
405 Item "Justified Line Break|J" "newline-insert linebreak"
407 Item "New Page|N" "newpage-insert newpage"
408 Item "Page Break|a" "newpage-insert pagebreak"
409 Item "Clear Page|C" "newpage-insert clearpage"
410 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
414 # Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
415 Item "Inline Formula|I" "math-mode on"
416 Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
417 Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
418 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
419 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
420 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
421 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
422 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
423 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
425 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
426 Item "Array Environment|y" "math-matrix 2 2"
427 Item "Cases Environment|C" "math-insert \cases"
428 Item "Aligned Environment|l" "command-sequence math-insert \aligned; inset-modify tabular append-column"
429 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; inset-modify tabular append-column"
430 Item "Gathered Environment|h" "math-insert \gathered"
431 Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular append-column"
433 Item "Delimiters...|r" "dialog-show mathdelimiter"
434 Item "Matrix...|x" "dialog-show mathmatrix"
435 Item "Macro|o" "math-macro newmacroname newcommand"
440 # This has got to be better than "Wrap", anyway
441 Item "Figure Wrap Float|F" "wrap-insert figure"
442 Item "Table Wrap Float|T" "wrap-insert table"
446 Item "Table of Contents|C" "inset-insert toc"
449 Item "Nomenclature|N" "nomencl-print"
450 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
454 Item "LyX Document...|X" "file-insert"
455 Item "Plain Text...|T" "file-insert-plaintext"
456 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
458 Item "External Material...|M" "dialog-show-new-inset external"
459 Item "Child Document...|d" "dialog-show-new-inset include"
463 Item "Frameless|l" "box-insert Frameless"
464 Item "Simple Frame|F" "box-insert Boxed"
465 Item "Oval, Thin|a" "box-insert ovalbox"
466 Item "Oval, Thick|v" "box-insert Ovalbox"
467 Item "Drop Shadow|w" "box-insert Shadowbox"
468 Item "Shaded Background|B" "box-insert Shaded"
469 Item "Double Frame|u" "box-insert Doublebox"
473 Item "LyX Note|N" "note-insert Note"
474 Item "Comment|C" "note-insert Comment"
475 Item "Greyed Out|G" "note-insert Greyedout"
478 Menu "insert_branches"
481 Item "Insert New Branch...|I" "branch-add-insert"
484 Menu "insert_phantom"
485 Item "Phantom|P" "phantom-insert Phantom"
486 Item "Horizontal Phantom|H" "phantom-insert HPhantom"
487 Item "Vertical Phantom|V" "phantom-insert VPhantom"
499 Submenu "Change Tracking|C" "document_change"
500 OptItem "Build Program|B" "build-program"
501 Item "LaTeX Log|L" "dialog-show latexlog"
502 Item "Outline|O" "dialog-toggle toc"
503 Item "Start Appendix Here|A" "appendix"
505 Item "Save in Bundled Format|F" "buffer-toggle-embedding"
506 Item "Compressed|m" "buffer-toggle-compression"
507 Item "Settings...|S" "dialog-show document"
510 Menu "document_change"
511 Item "Track Changes|T" "changes-track"
512 Item "Merge Changes...|M" "changes-merge"
513 Item "Accept Change|A" "change-accept"
514 Item "Reject Change|R" "change-reject"
515 Item "Accept All Changes|c" "all-changes-accept"
516 Item "Reject All Changes|e" "all-changes-reject"
517 Item "Show Changes in Output|S" "changes-output"
524 Submenu "Bookmarks|B" "navigate_bookmarks"
525 Item "Next Note|N" "note-next"
526 Item "Next Change|C" "change-next"
527 Item "Next Cross-Reference|R" "reference-next"
528 OptItem "Go to Label|L" "label-goto"
529 Item "Forward search|F" "forward-search"
534 Menu "navigate_bookmarks"
535 Item "Save Bookmark 1|S" "bookmark-save 1"
536 Item "Save Bookmark 2" "bookmark-save 2"
537 Item "Save Bookmark 3" "bookmark-save 3"
538 Item "Save Bookmark 4" "bookmark-save 4"
539 Item "Save Bookmark 5" "bookmark-save 5"
540 Item "Clear Bookmarks|C" "bookmark-clear"
542 Item "Navigate Back|B" "bookmark-goto 0"
551 Item "Spellchecker...|S" "dialog-show spellchecker"
552 OptItem "Thesaurus...|T" "thesaurus-entry"
553 Item "Statistics...|a" "statistics"
554 OptItem "Check TeX|h" "buffer-chktex"
555 Item "TeX Information|I" "dialog-show texinfo"
556 Item "Compare...|C" "dialog-show compare"
558 # A LOT of applications have Tools->Prefs. Remember this
559 # should be rarely used - Edit menu is not a good place to
561 Item "Reconfigure|R" "reconfigure"
562 Item "Preferences...|P" "dialog-show prefs"
569 Item "Introduction|I" "help-open Intro"
570 Item "Tutorial|T" "help-open Tutorial"
571 Item "User's Guide|U" "help-open UserGuide"
572 Item "Additional Features|F" "help-open Additional"
573 Item "Embedded Objects|O" "help-open EmbeddedObjects"
574 Item "Math|M" "help-open Math"
575 Item "Customization|C" "help-open Customization"
576 Item "Shortcuts|S" "help-open Shortcuts"
577 Item "LyX Functions|y" "help-open LFUNs"
578 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
579 Submenu "Specific Manuals|p" "examples"
581 Item "About LyX|X" "dialog-show aboutlyx"
585 Item "Braille Manual|B" "help-open Braille"
586 Item "Feynman-diagram Manual|F" "help-open FeynmanDiagrams"
587 Item "Linguistics Manual|L" "help-open linguistics"
588 Item "Multicolumn Manual|M" "help-open multicol"
589 Item "XY-pic Manual|X" "help-open xypic"