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://usability.kde.org/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)
27 # Make the first 4 menus be as much as expected as possible
28 Submenu "File|F" "file"
29 Submenu "Edit|E" "edit"
30 Submenu "View|V" "view"
31 Submenu "Insert|I" "insert"
32 Submenu "Navigate|N" "navigate"
33 Submenu "Document|D" "document"
34 Submenu "Tools|T" "tools"
35 Submenu "Help|H" "help"
43 Item "New|N" "buffer-new"
44 Item "New from Template...|m" "buffer-new-template"
45 Item "Open...|O" "file-open"
46 Submenu "Open Recent|t" "file_lastfiles"
48 Item "Close|C" "buffer-close"
49 Item "Close All" "buffer-close-all"
50 Item "Save|S" "buffer-write"
51 Item "Save As...|A" "buffer-write-as"
52 Item "Save All|l" "buffer-write-all"
53 Item "Revert to Saved|R" "buffer-reload"
54 Submenu "Version Control|V" "file_vc"
56 Submenu "Import|I" "file_import"
57 Submenu "Export|E" "file_export"
58 Item "Print...|P" "dialog-show print"
59 OptItem "Fax...|F" "buffer-export fax"
61 Item "New Window|W" "window-new"
62 Item "Close Window|d" "window-close"
64 Item "Exit|x" "lyx-quit"
72 OptItem "Register...|R" "vc-register"
73 OptItem "Check In Changes...|I" "vc-check-in"
74 OptItem "Check Out for Edit|O" "vc-check-out"
75 OptItem "Update Local Directory From Repository|d" "vc-repo-update"
76 OptItem "Revert to Repository Version|v" "vc-revert"
77 OptItem "Undo Last Check In|U" "vc-undo-last"
78 OptItem "Compare with Older Revision...|C" "vc-compare"
79 OptItem "Show History...|H" "dialog-show vclog"
80 OptItem "Use Locking Property|L" "vc-locking-toggle"
89 Item "Custom...|C" "buffer-export custom"
103 Submenu "Paste Recent|e" "edit_pasterecent"
104 Submenu "Paste Special" "edit_paste"
106 Item "Select All" "command-sequence buffer-begin ; buffer-end-select"
108 Item "Find & Replace (Quick)...|F" "dialog-show findreplace"
109 Item "Find & Replace (Advanced)..." "dialog-show findreplaceadv"
111 Item "Move Paragraph Up|o" "paragraph-move-up"
112 Item "Move Paragraph Down|v" "paragraph-move-down"
114 Submenu "Text Style|S" "edit_textstyles"
116 Item "Paragraph Settings...|P" "layout-paragraph"
118 # Mathed b0rkage means these don't work properly
119 OptSubmenu "Table|T" "edit_tabular"
120 OptSubmenu "Math|M" "edit_math"
121 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
123 # This is where the context-specific stuff is supposed to go.
124 # The idea is that everything on here can disappear and should
125 # only appear when relevant (getStatus). Only stuff that needs
126 # a right-click to bring up the dialog should appear here (it is not
127 # obvious what the context is for the others)
128 OptItem "Increase List Depth|I" "depth-increment"
129 OptItem "Decrease List Depth|D" "depth-decrement"
130 OptItem "Dissolve Inset" "inset-dissolve"
131 OptItem "TeX Code Settings...|C" "inset-settings ert"
132 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
133 OptItem "Float Settings...|a" "inset-settings float"
134 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
135 OptItem "Note Settings...|N" "inset-settings note"
136 OptItem "Phantom Settings...|h" "inset-settings phantom"
137 OptItem "Branch Settings...|B" "inset-settings branch"
138 OptItem "Box Settings...|x" "inset-settings box"
139 OptItem "Index Entry Settings...|y" "inset-settings index"
140 OptItem "Index Settings...|x" "inset-settings index_print"
141 OptItem "Info Settings...|n" "inset-settings info"
142 OptItem "Listings Settings...|g" "inset-settings listings"
143 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
144 # This is in the Table submenu instead for now.
145 # OptItem "Table Settings...|a" "inset-settings tabular"
146 OptItem "Table Settings...|a" "layout-tabular"
150 Item "Plain Text|T" "clipboard-paste"
151 Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
153 Item "Selection|S" "primary-selection-paste"
154 Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
156 Item "Paste as LinkBack PDF" "paste linkback"
157 Item "Paste as PDF" "paste pdf"
158 Item "Paste as PNG" "paste png"
159 Item "Paste as JPEG" "paste jpeg"
162 Menu "edit_pasterecent"
166 Menu "edit_textstyles"
167 Item "Dissolve Text Style" "inset-dissolve charstyle"
171 Item "Customized...|C" "dialog-show character"
173 Item "Capitalize|a" "word-capitalize"
174 Item "Uppercase|U" "word-upcase"
175 Item "Lowercase|L" "word-lowcase"
178 # not much we can do to help here
180 Item "Multicolumn|M" "inset-modify tabular multicolumn"
181 Item "Multirow|u" "inset-modify tabular multirow"
183 Item "Top Line|T" "inset-modify tabular toggle-line-top"
184 Item "Bottom Line|B" "inset-modify tabular toggle-line-bottom"
185 Item "Left Line|L" "inset-modify tabular toggle-line-left"
186 Item "Right Line|R" "inset-modify tabular toggle-line-right"
188 Item "Top|p" "inset-modify tabular tabular-valign-top"
189 Item "Middle|i" "inset-modify tabular tabular-valign-middle"
190 Item "Bottom|o" "inset-modify tabular tabular-valign-bottom"
193 Menu "edit_tabular_features"
194 Item "Left|L" "inset-modify tabular align-left"
195 Item "Center|C" "inset-modify tabular align-center"
196 Item "Right|R" "inset-modify tabular align-right"
198 Item "Top|T" "inset-modify tabular valign-top"
199 Item "Middle|M" "inset-modify tabular valign-middle"
200 Item "Bottom|B" "inset-modify tabular valign-bottom"
202 Item "Add Row|A" "inset-modify tabular append-row"
203 Item "Delete Row|D" "inset-modify tabular delete-row"
204 Item "Copy Row|o" "inset-modify tabular copy-row"
205 # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
207 Item "Add Column|u" "inset-modify tabular append-column"
208 Item "Delete Column|e" "inset-modify tabular delete-column"
209 Item "Copy Column|p" "inset-modify tabular copy-column"
210 # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
214 Item "Number Whole Formula|N" "math-number-toggle"
215 Item "Number This Line|u" "math-number-line-toggle"
216 Submenu "Change Limits Type|L" "edit_math_limits"
217 Submenu "Macro Definition" "edit_math_macro_definition"
219 Submenu "Change Formula Type|F" "edit_math_mutate"
221 Submenu "Text Style|T" "edit_math_fontstyles"
223 Submenu "Use Computer Algebra System|S" "edit_math_extern"
225 Item "Split Cell|C" "cell-split"
227 Item "Add Line Above|A" "inset-modify tabular add-hline-above"
228 Item "Add Line Below|B" "inset-modify tabular add-hline-below"
229 Item "Delete Line Above|D" "inset-modify tabular delete-hline-above"
230 Item "Delete Line Below|e" "inset-modify tabular delete-hline-below"
232 Item "Add Line to Left" "inset-modify tabular add-vline-left"
233 Item "Add Line to Right" "inset-modify tabular add-vline-right"
234 Item "Delete Line to Left" "inset-modify tabular delete-vline-left"
235 Item "Delete Line to Right" "inset-modify tabular delete-vline-right"
238 Menu "edit_math_macro_definition"
239 Item "Append Argument" "math-macro-add-param"
240 Item "Remove Last Argument" "math-macro-remove-param"
242 Item "Make First Non-Optional into Optional Argument" "math-macro-make-optional"
243 Item "Make Last Optional into Non-Optional Argument" "math-macro-make-nonoptional"
244 Item "Insert Optional Argument" "math-macro-add-optional-param"
245 Item "Remove Optional Argument" "math-macro-remove-optional-param"
247 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
248 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
249 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
252 Menu "edit_math_limits"
253 Item "Default|t" "math-limits empty"
254 Item "Display|D" "math-limits limits"
255 Item "Inline|I" "math-limits nolimits"
258 Menu "edit_math_fontstyles"
259 Item "Math Normal Font|N" "math-font-style mathnormal"
261 Item "Math Calligraphic Family|C" "math-font-style mathcal"
262 Item "Math Formal Script Family|o" "math-font-style mathscr"
263 Item "Math Fraktur Family|F" "math-font-style mathfrak"
264 Item "Math Roman Family|R" "math-font-style mathrm"
265 Item "Math Sans Serif Family|S" "math-font-style mathsf"
267 Item "Math Bold Series|B" "math-font-style mathbf"
269 Item "Text Normal Font|T" "math-font-style textnormal"
271 Item "Text Roman Family" "math-font-style textrm"
272 Item "Text Sans Serif Family" "math-font-style textsf"
273 Item "Text Typewriter Family" "math-font-style texttt"
275 Item "Text Bold Series" "math-font-style textbf"
276 Item "Text Medium Series" "math-font-style textmd"
278 Item "Text Italic Shape" "math-font-style textit"
279 Item "Text Small Caps Shape" "math-font-style textsc"
280 Item "Text Slanted Shape" "math-font-style textsl"
281 Item "Text Upright Shape" "math-font-style textup"
284 Menu "edit_math_extern"
285 Item "Octave|O" "math-extern octave"
286 Item "Maxima|M" "math-extern maxima"
287 Item "Mathematica|a" "math-extern mathematica"
289 Item "Maple, Simplify|S" "math-extern maple simplify"
290 Item "Maple, Factor|F" "math-extern maple factor"
291 Item "Maple, Evalm|E" "math-extern maple evalm"
292 Item "Maple, Evalf|v" "math-extern maple evalf"
295 Menu "edit_math_mutate"
296 Item "Inline Formula|I" "math-mutate simple"
297 Item "Displayed Formula|D" "math-mutate equation"
298 Item "Eqnarray Environment|E" "math-mutate eqnarray"
299 Item "AMS align Environment|a" "math-mutate align"
300 Item "AMS alignat Environment|t" "math-mutate alignat"
301 Item "AMS flalign Environment|f" "math-mutate flalign"
302 Item "AMS gather Environment|g" "math-mutate gather"
303 Item "AMS multline Environment|m" "math-mutate multline"
311 Item "Open All Insets|O" "inset-forall * inset-toggle open"
312 Item "Close All Insets|C" "inset-forall * inset-toggle close"
314 Item "Unfold Math Macro|n" "math-macro-unfold"
315 Item "Fold Math Macro|d" "math-macro-fold"
317 Item "View Source|S" "dialog-toggle view-source"
318 Item "View Messages|g" "dialog-toggle progress"
321 OptItem "View Master Document|M" "master-buffer-view"
322 OptItem "Update Master Document|a" "master-buffer-update"
324 Item "Split View Into Left and Right Half|i" "split-view horizontal"
325 Item "Split View Into Upper and Lower Half|e" "split-view vertical"
326 Item "Close Current View|w" "close-tab-group"
327 Item "Fullscreen|l" "ui-toggle fullscreen"
328 Submenu "Toolbars|b" "toolbars"
340 # Try and group things a little better, and percolate the most
341 # commonly used to good positions (exception being mathed, but
342 # most people using mathed learn key shortcuts quite quickly anyway)
343 Submenu "Math|h" "insert_math"
344 Submenu "Special Character|p" "insert_special"
345 Submenu "Formatting|o" "insert_formatting"
346 Submenu "List / TOC|i" "insert_toc"
347 Submenu "Float|a" "insert_float"
348 Submenu "Note|N" "insert_note"
349 Submenu "Branch|B" "insert_branches"
350 Submenu "Custom Insets" "insert_custom"
351 Submenu "File|e" "insert_file"
352 Submenu "Box[[Menu]]" "insert_box"
353 OptSubMenu "Insert Regular Expression" "context-edit-regexp"
355 Item "Citation...|C" "dialog-show-new-inset citation"
356 Item "Cross-Reference...|R" "dialog-show-new-inset ref"
357 Item "Label...|L" "label-insert"
358 Item "Caption" "caption-insert"
360 Item "Nomenclature Entry...|y" "nomencl-insert"
362 Item "Table...|T" "tabular-insert"
363 Item "Graphics...|G" "dialog-show-new-inset graphics"
364 Item "URL|U" "flex-insert URL"
365 Item "Hyperlink...|k" "href-insert"
366 Item "Footnote|F" "footnote-insert"
367 Item "Marginal Note|M" "marginalnote-insert"
368 Item "Short Title|S" "argument-insert"
369 Item "TeX Code|X" "ert-insert"
370 Item "Program Listing[[Menu]]" "listing-insert"
371 Item "Date" "date-insert"
372 Item "Preview|w" "preview-insert"
375 Menu "insert_special"
376 Item "Symbols...|b" "dialog-show symbols"
377 Item "Ellipsis|i" "specialchar-insert dots"
378 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
379 Item "Ordinary Quote|Q" "self-insert \""
380 Item "Single Quote|S" "quote-insert single"
381 Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
382 Item "Breakable Slash|a" "specialchar-insert slash"
383 Item "Menu Separator|M" "specialchar-insert menu-separator"
384 Item "Phonetic Symbols|P" "command-sequence math-insert \text\textipa ; char-forward ;"
387 Menu "insert_formatting"
388 Item "Superscript|S" "script-insert superscript"
389 Item "Subscript|u" "script-insert subscript"
391 Item "Protected Space|P" "space-insert protected"
392 Item "Interword Space|w" "space-insert normal"
393 Item "Thin Space|T" "space-insert thin"
394 Item "Horizontal Space...|o" "dialog-show-new-inset space"
395 Item "Horizontal Line...|L" "dialog-show-new-inset line"
396 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
397 Submenu "Phantom|m" "insert_phantom"
399 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
400 Item "Ligature Break|k" "specialchar-insert ligature-break"
401 Item "Ragged Line Break|R" "newline-insert newline"
402 Item "Justified Line Break|J" "newline-insert linebreak"
404 Item "New Page|N" "newpage-insert newpage"
405 Item "Page Break|a" "newpage-insert pagebreak"
406 Item "Clear Page|C" "newpage-insert clearpage"
407 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
411 # Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
412 Item "Inline Formula|I" "math-mode on"
413 Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
414 Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
415 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
416 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
417 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
418 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
419 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
420 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
422 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
423 Item "Array Environment|y" "math-matrix 2 2"
424 Item "Cases Environment|C" "math-insert \cases"
425 Item "Aligned Environment|l" "command-sequence math-insert \aligned; inset-modify tabular append-column"
426 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; inset-modify tabular append-column"
427 Item "Gathered Environment|h" "math-insert \gathered"
428 Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular append-column"
430 Item "Delimiters...|r" "dialog-show mathdelimiter"
431 Item "Matrix...|x" "dialog-show mathmatrix"
432 Item "Macro|o" "math-macro newmacroname newcommand"
437 # This has got to be better than "Wrap", anyway
438 Item "Figure Wrap Float|F" "wrap-insert figure"
439 Item "Table Wrap Float|T" "wrap-insert table"
443 Item "Table of Contents|C" "inset-insert toc"
446 Item "Nomenclature|N" "nomencl-print"
447 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
451 Item "LyX Document...|X" "file-insert"
452 Item "Plain Text...|T" "file-insert-plaintext"
453 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
455 Item "External Material...|M" "dialog-show-new-inset external"
456 Item "Child Document...|d" "dialog-show-new-inset include"
460 Item "Frameless|l" "box-insert Frameless"
461 Item "Simple Frame|F" "box-insert Boxed"
462 Item "Simple Frame, Page Breaks|P" "box-insert Framed"
463 Item "Oval, Thin|a" "box-insert ovalbox"
464 Item "Oval, Thick|v" "box-insert Ovalbox"
465 Item "Drop Shadow|w" "box-insert Shadowbox"
466 Item "Shaded Background|B" "box-insert Shaded"
467 Item "Double Frame|u" "box-insert Doublebox"
471 Item "LyX Note|N" "note-insert Note"
472 Item "Comment|C" "note-insert Comment"
473 Item "Greyed Out|G" "note-insert Greyedout"
476 Menu "insert_branches"
479 Item "Insert New Branch...|I" "branch-add-insert"
482 Menu "insert_phantom"
483 Item "Phantom|P" "phantom-insert Phantom"
484 Item "Horizontal Phantom|H" "phantom-insert HPhantom"
485 Item "Vertical Phantom|V" "phantom-insert VPhantom"
497 Submenu "Change Tracking|C" "document_change"
498 OptItem "Build Program|B" "build-program"
499 Item "LaTeX Log|L" "dialog-show latexlog"
500 Item "Outline|O" "dialog-toggle toc"
501 Item "Start Appendix Here|A" "appendix"
503 Item "Save in Bundled Format|F" "buffer-toggle-embedding"
504 Item "Compressed|m" "buffer-toggle-compression"
505 Item "Settings...|S" "dialog-show document"
508 Menu "document_change"
509 Item "Track Changes|T" "changes-track"
510 Item "Merge Changes...|M" "changes-merge"
511 Item "Accept Change|A" "change-accept"
512 Item "Reject Change|R" "change-reject"
513 Item "Accept All Changes|c" "all-changes-accept"
514 Item "Reject All Changes|e" "all-changes-reject"
515 Item "Show Changes in Output|S" "changes-output"
522 Submenu "Bookmarks|B" "navigate_bookmarks"
523 Item "Next Note|N" "note-next"
524 Item "Next Change|C" "change-next"
525 Item "Next Cross-Reference|R" "reference-next"
526 OptItem "Go to Label|L" "label-goto"
527 Item "Forward search|F" "forward-search"
532 Menu "navigate_bookmarks"
533 Item "Save Bookmark 1|S" "bookmark-save 1"
534 Item "Save Bookmark 2" "bookmark-save 2"
535 Item "Save Bookmark 3" "bookmark-save 3"
536 Item "Save Bookmark 4" "bookmark-save 4"
537 Item "Save Bookmark 5" "bookmark-save 5"
538 Item "Clear Bookmarks|C" "bookmark-clear"
540 Item "Navigate Back|B" "bookmark-goto 0"
549 Item "Spellchecker...|S" "dialog-show spellchecker"
550 OptItem "Thesaurus...|T" "thesaurus-entry"
551 Item "Statistics...|a" "statistics"
552 OptItem "Check TeX|h" "buffer-chktex"
553 Item "TeX Information|I" "dialog-show texinfo"
554 Item "Compare...|C" "dialog-show compare"
556 # A LOT of applications have Tools->Prefs. Remember this
557 # should be rarely used - Edit menu is not a good place to
559 Item "Reconfigure|R" "reconfigure"
560 Item "Preferences...|P" "dialog-show prefs"
567 Item "Introduction|I" "help-open Intro"
568 Item "Tutorial|T" "help-open Tutorial"
569 Item "User's Guide|U" "help-open UserGuide"
570 Item "Additional Features|F" "help-open Additional"
571 Item "Embedded Objects|O" "help-open EmbeddedObjects"
572 Item "Math|M" "help-open Math"
573 Item "Customization|C" "help-open Customization"
574 Item "Shortcuts|S" "help-open Shortcuts"
575 Item "LyX Functions|y" "help-open LFUNs"
576 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
577 Submenu "Specific Manuals|p" "examples"
579 Item "About LyX|X" "dialog-show aboutlyx"
583 Item "Linguistics Manual|L" "help-open linguistics"
584 Item "Braille Manual|B" "help-open Braille"
585 Item "XY-pic Manual|X" "help-open xypic"
586 Item "Multicolumn Manual|M" "help-open multicol"
587 Item "Feynman-diagram Manual|F" "help-open FeynmanDiagrams"