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