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 "Copy|p" "vc-copy"
78 OptItem "Rename|R" "vc-rename"
79 OptItem "Update Local Directory From Repository|d" "vc-repo-update"
80 OptItem "Revert to Repository Version|v" "vc-revert"
81 OptItem "Undo Last Check In|U" "vc-undo-last"
82 OptItem "Compare with Older Revision...|C" "vc-compare"
83 OptItem "Show History...|H" "dialog-show vclog"
84 OptItem "Use Locking Property|L" "vc-locking-toggle"
92 Item "Export As...|s" "buffer-export-as"
94 Item "More Formats & Options...|O" "buffer-export custom"
108 Submenu "Paste Recent|e" "edit_pasterecent"
109 Submenu "Paste Special" "edit_paste"
111 Item "Select Whole Inset" "inset-select-all"
112 Item "Select All" "command-sequence buffer-begin ; buffer-end-select"
114 Item "Find & Replace (Quick)...|F" "dialog-show findreplace"
115 Item "Find & Replace (Advanced)..." "dialog-show findreplaceadv"
117 Item "Move Paragraph Up|o" "paragraph-move-up"
118 Item "Move Paragraph Down|v" "paragraph-move-down"
120 Submenu "Text Style|S" "edit_textstyles"
122 Item "Paragraph Settings...|P" "layout-paragraph"
124 # Mathed b0rkage means these don't work properly
125 OptSubmenu "Table|T" "edit_tabular"
126 OptSubmenu "Math|M" "edit_math"
127 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
129 # This is where the context-specific stuff is supposed to go.
130 # The idea is that everything on here can disappear and should
131 # only appear when relevant (getStatus). Only stuff that needs
132 # a right-click to bring up the dialog should appear here (it is not
133 # obvious what the context is for the others)
134 OptItem "Increase List Depth|I" "depth-increment"
135 OptItem "Decrease List Depth|D" "depth-decrement"
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"
153 OptItem "Split Environment|l" "environment-split"
157 Item "Plain Text|T" "clipboard-paste"
158 Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
160 Item "Selection|S" "primary-selection-paste"
161 Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
163 Item "Unformatted Text|U" "clipboard-paste-simple"
164 Item "Unformatted, Join Lines|o" "clipboard-paste-simple paragraph"
166 Item "Paste as LinkBack PDF" "paste linkback"
167 Item "Paste as PDF" "paste pdf"
168 Item "Paste as PNG" "paste png"
169 Item "Paste as JPEG" "paste jpeg"
172 Menu "edit_pasterecent"
176 Menu "edit_textstyles"
177 Item "Dissolve Text Style" "inset-dissolve charstyle"
181 Item "Customized...|C" "dialog-show character"
183 Item "Capitalize|a" "word-capitalize"
184 Item "Uppercase|U" "word-upcase"
185 Item "Lowercase|L" "word-lowcase"
188 # not much we can do to help here
190 Item "Multicolumn|M" "inset-modify tabular multicolumn"
191 Item "Multirow|u" "inset-modify tabular multirow"
193 Item "Top Line|T" "inset-modify tabular toggle-line-top"
194 Item "Bottom Line|B" "inset-modify tabular toggle-line-bottom"
195 Item "Left Line|L" "inset-modify tabular toggle-line-left"
196 Item "Right Line|R" "inset-modify tabular toggle-line-right"
198 Item "Top|p" "inset-modify tabular tabular-valign-top"
199 Item "Middle|i" "inset-modify tabular tabular-valign-middle"
200 Item "Bottom|o" "inset-modify tabular tabular-valign-bottom"
203 Menu "edit_tabular_features"
204 Item "Left|L" "inset-modify tabular align-left"
205 Item "Center|C" "inset-modify tabular align-center"
206 Item "Right|R" "inset-modify tabular align-right"
208 Item "Top|T" "inset-modify tabular valign-top"
209 Item "Middle|M" "inset-modify tabular valign-middle"
210 Item "Bottom|B" "inset-modify tabular valign-bottom"
212 Item "Add Row|A" "inset-modify tabular append-row"
213 Item "Delete Row|D" "inset-modify tabular delete-row"
214 Item "Copy Row|o" "inset-modify tabular copy-row"
215 # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
217 Item "Add Column|u" "inset-modify tabular append-column"
218 Item "Delete Column|e" "inset-modify tabular delete-column"
219 Item "Copy Column|p" "inset-modify tabular copy-column"
220 # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
224 Item "Number Whole Formula|N" "math-number-toggle"
225 Item "Number This Line|u" "math-number-line-toggle"
226 Submenu "Change Limits Type|L" "edit_math_limits"
227 Submenu "Macro Definition" "edit_math_macro_definition"
229 Submenu "Change Formula Type|F" "edit_math_mutate"
231 Submenu "Text Style|T" "edit_math_fontstyles"
233 Submenu "Use Computer Algebra System|S" "edit_math_extern"
235 Item "Split Cell|C" "cell-split"
237 Item "Add Line Above|A" "inset-modify tabular add-hline-above"
238 Item "Add Line Below|B" "inset-modify tabular add-hline-below"
239 Item "Delete Line Above|D" "inset-modify tabular delete-hline-above"
240 Item "Delete Line Below|e" "inset-modify tabular delete-hline-below"
242 Item "Add Line to Left" "inset-modify tabular add-vline-left"
243 Item "Add Line to Right" "inset-modify tabular add-vline-right"
244 Item "Delete Line to Left" "inset-modify tabular delete-vline-left"
245 Item "Delete Line to Right" "inset-modify tabular delete-vline-right"
248 Menu "edit_math_macro_definition"
249 Item "Append Argument" "math-macro-add-param"
250 Item "Remove Last Argument" "math-macro-remove-param"
252 Item "Make First Non-Optional into Optional Argument" "math-macro-make-optional"
253 Item "Make Last Optional into Non-Optional Argument" "math-macro-make-nonoptional"
254 Item "Insert Optional Argument" "math-macro-add-optional-param"
255 Item "Remove Optional Argument" "math-macro-remove-optional-param"
257 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
258 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
259 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
262 Menu "edit_math_limits"
263 Item "Default|t" "math-limits empty"
264 Item "Display|D" "math-limits limits"
265 Item "Inline|I" "math-limits nolimits"
268 Menu "edit_math_fontstyles"
269 Item "Math Normal Font|N" "math-font-style mathnormal"
271 Item "Math Calligraphic Family|C" "math-font-style mathcal"
272 Item "Math Formal Script Family|o" "math-font-style mathscr"
273 Item "Math Fraktur Family|F" "math-font-style mathfrak"
274 Item "Math Roman Family|R" "math-font-style mathrm"
275 Item "Math Sans Serif Family|S" "math-font-style mathsf"
277 Item "Math Bold Series|B" "math-font-style mathbf"
279 Item "Text Normal Font|T" "math-font-style textnormal"
281 Item "Text Roman Family" "math-font-style textrm"
282 Item "Text Sans Serif Family" "math-font-style textsf"
283 Item "Text Typewriter Family" "math-font-style texttt"
285 Item "Text Bold Series" "math-font-style textbf"
286 Item "Text Medium Series" "math-font-style textmd"
288 Item "Text Italic Shape" "math-font-style textit"
289 Item "Text Small Caps Shape" "math-font-style textsc"
290 Item "Text Slanted Shape" "math-font-style textsl"
291 Item "Text Upright Shape" "math-font-style textup"
294 Menu "edit_math_extern"
295 Item "Octave|O" "math-extern octave"
296 Item "Maxima|M" "math-extern maxima"
297 Item "Mathematica|a" "math-extern mathematica"
299 Item "Maple, Simplify|S" "math-extern maple simplify"
300 Item "Maple, Factor|F" "math-extern maple factor"
301 Item "Maple, Evalm|E" "math-extern maple evalm"
302 Item "Maple, Evalf|v" "math-extern maple evalf"
305 Menu "edit_math_mutate"
306 Item "Inline Formula|I" "math-mutate simple"
307 Item "Displayed Formula|D" "math-mutate equation"
308 Item "Eqnarray Environment|E" "math-mutate eqnarray"
309 Item "AMS align Environment|a" "math-mutate align"
310 Item "AMS alignat Environment|t" "math-mutate alignat"
311 Item "AMS flalign Environment|f" "math-mutate flalign"
312 Item "AMS gather Environment|g" "math-mutate gather"
313 Item "AMS multline Environment|m" "math-mutate multline"
321 Item "Open All Insets|O" "inset-forall * inset-toggle open"
322 Item "Close All Insets|C" "inset-forall * inset-toggle close"
324 Item "Unfold Math Macro|n" "math-macro-unfold"
325 Item "Fold Math Macro|d" "math-macro-fold"
327 Item "Outline Pane|u" "dialog-toggle toc"
328 Item "Source Pane|S" "dialog-toggle view-source"
329 Item "Messages Pane|g" "dialog-toggle progress"
330 Submenu "Toolbars|b" "toolbars"
332 Item "Split View Into Left and Right Half|i" "view-split horizontal"
333 Item "Split View Into Upper and Lower Half|e" "view-split vertical"
334 OptItem "Close Current View|w" "tab-group-close"
335 Item "Fullscreen|l" "ui-toggle fullscreen"
347 # Try and group things a little better, and percolate the most
348 # commonly used to good positions (exception being mathed, but
349 # most people using mathed learn key shortcuts quite quickly anyway)
350 Submenu "Math|h" "insert_math"
351 Submenu "Special Character|p" "insert_special"
352 Submenu "Formatting|o" "insert_formatting"
353 Submenu "List / TOC|i" "insert_toc"
354 Submenu "Float|a" "insert_float"
355 Submenu "Note|N" "insert_note"
356 Submenu "Branch|B" "insert_branches"
357 Submenu "Custom Insets" "insert_custom"
358 Submenu "File|e" "insert_file"
359 Submenu "Box[[Menu]]" "insert_box"
360 OptSubmenu "Insert Regular Expression" "context-edit-regexp"
362 Item "Citation...|C" "dialog-show-new-inset citation"
363 Item "Cross-Reference...|R" "dialog-show-new-inset ref"
364 Item "Label...|L" "label-insert"
367 Item "Nomenclature Entry...|y" "nomencl-insert"
369 Item "Table...|T" "tabular-insert"
370 Item "Graphics...|G" "dialog-show-new-inset graphics"
371 Item "URL|U" "flex-insert URL"
372 Item "Hyperlink...|k" "href-insert"
373 Item "Footnote|F" "footnote-insert"
374 Item "Marginal Note|M" "marginalnote-insert"
376 Item "TeX Code|X" "ert-insert"
377 Item "Program Listing[[Menu]]" "listing-insert"
378 Item "Date" "date-insert"
379 Item "Preview|w" "preview-insert"
382 Menu "insert_special"
383 Item "Symbols...|b" "dialog-show symbols"
384 Item "Ellipsis|i" "specialchar-insert dots"
385 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
386 Item "Ordinary Quote|Q" "self-insert \""
387 Item "Single Quote|S" "quote-insert single"
388 Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
389 Item "Breakable Slash|a" "specialchar-insert slash"
390 Item "Menu Separator|M" "specialchar-insert menu-separator"
391 Item "Phonetic Symbols|P" "ipa-insert"
394 Menu "insert_formatting"
395 Item "Superscript|S" "script-insert superscript"
396 Item "Subscript|u" "script-insert subscript"
398 Item "Protected Space|P" "space-insert protected"
399 Item "Interword Space|w" "space-insert normal"
400 Item "Visible Space|i" "space-insert visible"
401 Item "Thin Space|T" "space-insert thin"
402 Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
403 Item "Horizontal Line...|L" "dialog-show-new-inset line"
404 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
405 Submenu "Phantom|m" "insert_phantom"
407 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
408 Item "Ligature Break|k" "specialchar-insert ligature-break"
409 Item "Ragged Line Break|R" "newline-insert newline"
410 Item "Justified Line Break|J" "newline-insert linebreak"
412 Item "New Page|N" "newpage-insert newpage"
413 Item "Page Break|a" "newpage-insert pagebreak"
414 Item "Clear Page|C" "newpage-insert clearpage"
415 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
419 # Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
420 Item "Inline Formula|I" "math-mode on"
421 Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
422 Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
423 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
424 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
425 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
426 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
427 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
428 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
430 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
431 Item "Array Environment|y" "math-matrix 2 2"
432 Item "Cases Environment|C" "math-insert \cases"
433 Item "Aligned Environment|l" "command-sequence math-insert \aligned; inset-modify tabular append-column"
434 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; inset-modify tabular append-column"
435 Item "Gathered Environment|h" "math-insert \gathered"
436 Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular append-column"
438 Item "Delimiters...|r" "dialog-show mathdelimiter"
439 Item "Matrix...|x" "dialog-show mathmatrix"
440 Item "Macro|o" "math-macro newmacroname newcommand"
445 # This has got to be better than "Wrap", anyway
446 Item "Figure Wrap Float|F" "wrap-insert figure"
447 Item "Table Wrap Float|T" "wrap-insert table"
451 Item "Table of Contents|C" "inset-insert toc"
454 Item "List of Listings|L" "inset-insert toc CommandInset toc LatexCommand lstlistoflistings \end_inset"
455 Item "Nomenclature|N" "nomencl-print"
456 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
460 Item "LyX Document...|X" "file-insert"
461 Item "Plain Text...|T" "file-insert-plaintext"
462 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
464 Item "External Material...|M" "dialog-show-new-inset external"
465 Item "Child Document...|d" "dialog-show-new-inset include"
469 Item "Frameless|l" "box-insert Frameless"
470 Item "Simple Frame|F" "box-insert Boxed"
471 Item "Oval, Thin|a" "box-insert ovalbox"
472 Item "Oval, Thick|v" "box-insert Ovalbox"
473 Item "Drop Shadow|w" "box-insert Shadowbox"
474 Item "Shaded Background|B" "box-insert Shaded"
475 Item "Double Frame|u" "box-insert Doublebox"
479 Item "LyX Note|N" "note-insert Note"
480 Item "Comment|C" "note-insert Comment"
481 Item "Greyed Out|G" "note-insert Greyedout"
484 Menu "insert_branches"
487 Item "Insert New Branch...|I" "branch-add-insert"
490 Menu "insert_phantom"
491 Item "Phantom|P" "phantom-insert Phantom"
492 Item "Horizontal Phantom|H" "phantom-insert HPhantom"
493 Item "Vertical Phantom|V" "phantom-insert VPhantom"
505 Submenu "Change Tracking|C" "document_change"
506 OptItem "Build Program|B" "build-program"
507 Item "LaTeX Log|L" "dialog-show latexlog"
508 Item "Start Appendix Here|A" "appendix"
512 OptItem "View Master Document|M" "master-buffer-view"
513 OptItem "Update Master Document|a" "master-buffer-update"
515 Item "Compressed|m" "buffer-toggle-compression"
516 Item "Settings...|S" "dialog-show document"
519 Menu "document_change"
520 Item "Track Changes|T" "changes-track"
521 Item "Merge Changes...|M" "changes-merge"
522 Item "Accept Change|A" "change-accept"
523 Item "Reject Change|R" "change-reject"
524 Item "Accept All Changes|c" "all-changes-accept"
525 Item "Reject All Changes|e" "all-changes-reject"
526 Item "Show Changes in Output|S" "changes-output"
533 Submenu "Bookmarks|B" "navigate_bookmarks"
534 Item "Next Note|N" "note-next"
535 Item "Next Change|C" "change-next"
536 Item "Next Cross-Reference|R" "reference-next"
537 OptItem "Go to Label|L" "label-goto"
538 Item "Forward Search|F" "forward-search"
543 Menu "navigate_bookmarks"
544 Item "Save Bookmark 1|S" "bookmark-save 1"
545 Item "Save Bookmark 2" "bookmark-save 2"
546 Item "Save Bookmark 3" "bookmark-save 3"
547 Item "Save Bookmark 4" "bookmark-save 4"
548 Item "Save Bookmark 5" "bookmark-save 5"
549 Item "Clear Bookmarks|C" "bookmark-clear"
551 Item "Navigate Back|B" "bookmark-goto 0"
560 Item "Spellchecker...|S" "dialog-show spellchecker"
561 OptItem "Thesaurus...|T" "thesaurus-entry"
562 Item "Statistics...|a" "statistics"
563 OptItem "Check TeX|h" "buffer-chktex"
564 Item "TeX Information|I" "dialog-show texinfo"
565 Item "Compare...|C" "dialog-show compare"
567 # A LOT of applications have Tools->Prefs. Remember this
568 # should be rarely used - Edit menu is not a good place to
570 Item "Reconfigure|R" "reconfigure"
571 Item "Preferences...|P" "dialog-show prefs"
578 Item "Introduction|I" "help-open Intro"
579 Item "Tutorial|T" "help-open Tutorial"
580 Item "User's Guide|U" "help-open UserGuide"
581 Item "Additional Features|F" "help-open Additional"
582 Item "Embedded Objects|O" "help-open EmbeddedObjects"
583 Item "Math|M" "help-open Math"
584 Item "Customization|C" "help-open Customization"
585 Item "Shortcuts|S" "help-open Shortcuts"
586 Item "LyX Functions|y" "help-open LFUNs"
587 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
588 Submenu "Specific Manuals|p" "examples"
590 Item "About LyX|X" "dialog-show aboutlyx"
594 Item "Beamer Presentations|B" "help-open beamer"
595 Item "Braille|a" "help-open Braille"
596 Item "Feynman-diagram|F" "help-open FeynmanDiagrams"
597 Item "Knitr|K" "help-open knitr"
598 Item "LilyPond|P" "help-open lilypond"
599 Item "Linguistics|L" "help-open linguistics"
600 Item "Multilingual Captions|C" "help-open MultilingualCaptions"
601 Item "Risk and Safety Statements|R" "help-open R-S-statements"
602 Item "Sweave|S" "help-open sweave"
603 Item "XY-pic|X" "help-open xypic"