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"
92 Item "Export As...|s" "buffer-export-as"
95 Item "More Formats & Options...|r" "buffer-export custom"
109 Submenu "Paste Recent|e" "edit_pasterecent"
110 Submenu "Paste Special" "edit_paste"
112 Item "Select Whole Inset" "inset-select-all"
113 Item "Select All" "command-sequence buffer-begin ; buffer-end-select"
115 Item "Find & Replace (Quick)...|F" "dialog-show findreplace"
116 Item "Find & Replace (Advanced)..." "dialog-show findreplaceadv"
118 Item "Move Paragraph Up|o" "paragraph-move-up"
119 Item "Move Paragraph Down|v" "paragraph-move-down"
121 Submenu "Text Style|S" "edit_textstyles"
123 Item "Paragraph Settings...|P" "layout-paragraph"
125 # Mathed b0rkage means these don't work properly
126 OptSubmenu "Table|T" "edit_tabular"
127 OptSubmenu "Math|M" "edit_math"
128 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
130 # This is where the context-specific stuff is supposed to go.
131 # The idea is that everything on here can disappear and should
132 # only appear when relevant (getStatus). Only stuff that needs
133 # a right-click to bring up the dialog should appear here (it is not
134 # obvious what the context is for the others)
135 OptItem "Increase List Depth|I" "depth-increment"
136 OptItem "Decrease List Depth|D" "depth-decrement"
137 EnvironmentSeparators
138 OptItem "Dissolve Inset" "inset-dissolve"
139 OptItem "TeX Code Settings...|C" "inset-settings ert"
140 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
141 OptItem "Float Settings...|a" "inset-settings float"
142 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
143 OptItem "Note Settings...|N" "inset-settings note"
144 OptItem "Phantom Settings...|h" "inset-settings phantom"
145 OptItem "Branch Settings...|B" "inset-settings branch"
146 OptItem "Box Settings...|x" "inset-settings box"
147 OptItem "Index Entry Settings...|y" "inset-settings index"
148 OptItem "Index Settings...|x" "inset-settings index_print"
149 OptItem "Info Settings...|n" "inset-settings info"
150 OptItem "Listings Settings...|g" "inset-settings listings"
151 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
152 # This is in the Table submenu instead for now.
153 # OptItem "Table Settings...|a" "inset-settings tabular"
154 OptItem "Table Settings...|a" "layout-tabular"
158 OptItem "Paste from HTML|H" "paste html"
159 OptItem "Paste from LaTeX|L" "paste latex"
160 OptItem "Paste as LinkBack PDF" "paste linkback"
161 OptItem "Paste as PDF" "paste pdf"
162 OptItem "Paste as PNG" "paste png"
163 OptItem "Paste as JPEG" "paste jpeg"
164 OptItem "Paste as EMF" "paste emf"
166 Item "Plain Text|T" "clipboard-paste"
167 Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
169 Item "Selection|S" "primary-selection-paste"
170 Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
171 # clipboard-paste-simple is commented because it is irritating (bug 8749)
172 # until somebody can explain why it is needed in addition to clipboard-paste
174 # Item "Unformatted Text|U" "clipboard-paste-simple"
175 # Item "Unformatted, Join Lines|o" "clipboard-paste-simple paragraph"
178 Menu "edit_pasterecent"
182 Menu "edit_textstyles"
183 Item "Dissolve Text Style" "inset-dissolve charstyle"
187 Item "Customized...|C" "dialog-show character"
189 Item "Capitalize|a" "word-capitalize"
190 Item "Uppercase|U" "word-upcase"
191 Item "Lowercase|L" "word-lowcase"
194 # not much we can do to help here
196 Item "Multi-page Table|g" "tabular-feature toggle-longtabular"
197 Item "Formal Style|F" "tabular-feature toggle-booktabs"
199 Item "Multicolumn|M" "tabular-feature multicolumn"
200 Item "Multirow|u" "tabular-feature multirow"
202 Item "Top Line|T" "tabular-feature toggle-line-top"
203 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
204 Item "Left Line|L" "tabular-feature toggle-line-left"
205 Item "Right Line|R" "tabular-feature toggle-line-right"
207 Item "Top|p" "tabular-feature tabular-valign-top"
208 Item "Middle|i" "tabular-feature tabular-valign-middle"
209 Item "Bottom|o" "tabular-feature tabular-valign-bottom"
212 Menu "edit_tabular_features"
213 Item "Left|L" "tabular-feature align-left"
214 Item "Center|C" "tabular-feature align-center"
215 Item "Right|R" "tabular-feature align-right"
217 Item "Top|T" "tabular-feature valign-top"
218 Item "Middle|M" "tabular-feature valign-middle"
219 Item "Bottom|B" "tabular-feature valign-bottom"
221 Item "Add Row|A" "tabular-feature append-row"
222 Item "Delete Row|D" "tabular-feature delete-row"
223 Item "Copy Row|o" "tabular-feature copy-row"
224 Item "Move Row Up" "tabular-feature move-row-up"
225 Item "Move Row Down" "tabular-feature move-row-down"
226 # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken
228 Item "Add Column|u" "tabular-feature append-column"
229 Item "Delete Column|e" "tabular-feature delete-column"
230 Item "Copy Column|p" "tabular-feature copy-column"
231 Item "Move Column Right|v" "tabular-feature move-column-right"
232 Item "Move Column Left" "tabular-feature move-column-left"
233 # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken
237 Item "Number Whole Formula|N" "math-number-toggle"
238 Item "Number This Line|u" "math-number-line-toggle"
239 Submenu "Change Limits Type|L" "edit_math_limits"
240 Submenu "Macro Definition" "edit_math_macro_definition"
242 Submenu "Change Formula Type|F" "edit_math_mutate"
244 Submenu "Text Style|T" "edit_math_fontstyles"
246 Submenu "Use Computer Algebra System|S" "edit_math_extern"
248 Item "Split Cell|C" "cell-split"
250 Item "Add Line Above|A" "tabular-feature add-hline-above"
251 Item "Add Line Below|B" "tabular-feature add-hline-below"
252 Item "Delete Line Above|D" "tabular-feature delete-hline-above"
253 Item "Delete Line Below|e" "tabular-feature delete-hline-below"
255 Item "Add Line to Left" "tabular-feature add-vline-left"
256 Item "Add Line to Right" "tabular-feature add-vline-right"
257 Item "Delete Line to Left" "tabular-feature delete-vline-left"
258 Item "Delete Line to Right" "tabular-feature delete-vline-right"
261 Menu "edit_math_macro_definition"
262 Item "Append Argument" "math-macro-add-param"
263 Item "Remove Last Argument" "math-macro-remove-param"
265 Item "Transform First Non-Optional to Optional Argument" "math-macro-make-optional"
266 Item "Transform Last Optional to Non-Optional Argument" "math-macro-make-nonoptional"
267 Item "Insert Optional Argument" "math-macro-add-optional-param"
268 Item "Remove Optional Argument" "math-macro-remove-optional-param"
270 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
271 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
272 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
275 Menu "edit_math_limits"
276 Item "Default|t" "math-limits empty"
277 Item "Display|D" "math-limits limits"
278 Item "Inline|I" "math-limits nolimits"
281 Menu "edit_math_fontstyles"
282 Item "Math Normal Font|N" "math-font-style mathnormal"
284 Item "Math Calligraphic Family|C" "math-font-style mathcal"
285 Item "Math Formal Script Family|o" "math-font-style mathscr"
286 Item "Math Fraktur Family|F" "math-font-style mathfrak"
287 Item "Math Roman Family|R" "math-font-style mathrm"
288 Item "Math Sans Serif Family|S" "math-font-style mathsf"
290 Item "Math Bold Series|B" "math-font-style mathbf"
292 Item "Text Normal Font|T" "math-font-style textnormal"
294 Item "Text Roman Family" "math-font-style textrm"
295 Item "Text Sans Serif Family" "math-font-style textsf"
296 Item "Text Typewriter Family" "math-font-style texttt"
298 Item "Text Bold Series" "math-font-style textbf"
299 Item "Text Medium Series" "math-font-style textmd"
301 Item "Text Italic Shape" "math-font-style textit"
302 Item "Text Small Caps Shape" "math-font-style textsc"
303 Item "Text Slanted Shape" "math-font-style textsl"
304 Item "Text Upright Shape" "math-font-style textup"
307 Menu "edit_math_extern"
308 Item "Octave|O" "math-extern octave"
309 Item "Maxima|M" "math-extern maxima"
310 Item "Mathematica|a" "math-extern mathematica"
312 Item "Maple, Simplify|S" "math-extern maple simplify"
313 Item "Maple, Factor|F" "math-extern maple factor"
314 Item "Maple, Evalm|E" "math-extern maple evalm"
315 Item "Maple, Evalf|v" "math-extern maple evalf"
318 Menu "edit_math_mutate"
319 Item "Inline Formula|I" "math-mutate simple"
320 Item "Displayed Formula|D" "math-mutate equation"
321 Item "Eqnarray Environment|E" "math-mutate eqnarray"
322 Item "AMS align Environment|a" "math-mutate align"
323 Item "AMS alignat Environment|t" "math-mutate alignat"
324 Item "AMS flalign Environment|f" "math-mutate flalign"
325 Item "AMS gather Environment|g" "math-mutate gather"
326 Item "AMS multline Environment|m" "math-mutate multline"
334 Item "Open All Insets|O" "inset-forall * inset-toggle open"
335 Item "Close All Insets|C" "inset-forall * inset-toggle close"
337 Item "Unfold Math Macro|n" "math-macro-unfold"
338 Item "Fold Math Macro|d" "math-macro-fold"
340 Item "Outline Pane|u" "dialog-toggle toc"
341 Item "Code Preview Pane|P" "dialog-toggle view-source"
342 Item "Messages Pane|g" "dialog-toggle progress"
343 Submenu "Toolbars|b" "toolbars"
345 Item "Split View Into Left and Right Half|i" "view-split horizontal"
346 Item "Split View Into Upper and Lower Half|e" "view-split vertical"
347 OptItem "Close Current View|w" "tab-group-close"
348 Item "Fullscreen|l" "ui-toggle fullscreen"
356 Item "Small-sized Icons" "icon-size small"
357 Item "Normal-sized Icons" "icon-size normal"
358 Item "Big-sized Icons" "icon-size big"
359 Item "Huge-sized Icons" "icon-size huge"
360 Item "Giant-sized Icons" "icon-size giant"
366 # Try and group things a little better, and percolate the most
367 # commonly used to good positions (exception being mathed, but
368 # most people using mathed learn key shortcuts quite quickly anyway)
369 Submenu "Math|h" "insert_math"
370 Submenu "Special Character|p" "insert_special"
371 Submenu "Formatting|o" "insert_formatting"
372 Submenu "List / TOC|i" "insert_toc"
373 Submenu "Float|a" "insert_float"
374 Submenu "Note|N" "insert_note"
375 Submenu "Branch|B" "insert_branches"
376 Submenu "Custom Insets" "insert_custom"
377 Submenu "File|e" "insert_file"
378 Submenu "Box[[Menu]]|x" "insert_box"
379 OptSubmenu "Insert Regular Expression" "context-edit-regexp"
381 Item "Citation...|C" "dialog-show-new-inset citation"
382 Item "Cross-Reference...|R" "dialog-show-new-inset ref"
383 Item "Label...|L" "label-insert"
386 Item "Nomenclature Entry...|y" "nomencl-insert"
388 Item "Table...|T" "tabular-insert"
389 Item "Graphics...|G" "dialog-show-new-inset graphics"
390 Item "URL|U" "flex-insert URL"
391 Item "Hyperlink...|k" "href-insert"
392 Item "Footnote|F" "footnote-insert"
393 Item "Marginal Note|M" "marginalnote-insert"
395 Item "TeX Code" "ert-insert"
396 Item "Program Listing[[Menu]]" "listing-insert"
397 Item "Date" "date-insert"
398 Item "Preview|w" "preview-insert"
401 Menu "insert_special"
402 Item "Symbols...|b" "dialog-show symbols"
403 Item "Ellipsis|i" "specialchar-insert dots"
404 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
405 Item "Plain Quotation Mark|Q" "quote-insert outer auto plain"
406 Item "Inner Quotation Mark|n" "quote-insert inner"
407 Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
408 Item "Breakable Slash|a" "specialchar-insert slash"
409 Item "Visible Space|V" "space-insert visible"
410 Item "Menu Separator|M" "specialchar-insert menu-separator"
411 Item "Phonetic Symbols|P" "ipa-insert"
412 Submenu "Logos|L" "insert_logos"
416 Item "LyX Logo|L" "specialchar-insert lyx"
417 Item "TeX Logo|T" "specialchar-insert tex"
418 Item "LaTeX Logo|a" "specialchar-insert latex"
419 Item "LaTeX2e Logo|e" "specialchar-insert latex2e"
422 Menu "insert_formatting"
423 Item "Superscript|S" "script-insert superscript"
424 Item "Subscript|u" "script-insert subscript"
426 Item "Protected Space|P" "space-insert protected"
427 Item "Interword Space|w" "space-insert normal"
428 Item "Thin Space|T" "space-insert thin"
429 Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
430 Item "Horizontal Line...|L" "dialog-show-new-inset line"
431 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
432 Submenu "Phantom|m" "insert_phantom"
434 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
435 Item "Ligature Break|k" "specialchar-insert ligature-break"
436 Item "Ragged Line Break|R" "newline-insert newline"
437 Item "Justified Line Break|J" "newline-insert linebreak"
439 Item "New Page|N" "newpage-insert newpage"
440 Item "Page Break|a" "newpage-insert pagebreak"
441 Item "Clear Page|C" "newpage-insert clearpage"
442 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
446 # Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
447 Item "Inline Formula|I" "math-mode on"
448 Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
449 Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
450 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
451 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
452 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
453 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
454 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
455 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
457 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
458 Item "Array Environment|y" "math-matrix 2 2"
459 Item "Cases Environment|C" "math-insert \cases"
460 Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column"
461 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
462 Item "Gathered Environment|h" "math-insert \gathered"
463 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
465 Item "Delimiters...|r" "dialog-show mathdelimiter"
466 Item "Matrix...|x" "dialog-show mathmatrix"
467 Item "Macro|o" "math-macro newmacroname newcommand"
472 # This has got to be better than "Wrap", anyway
473 Item "Figure Wrap Float|F" "wrap-insert figure"
474 Item "Table Wrap Float|T" "wrap-insert table"
478 Item "Table of Contents|C" "inset-insert toc"
481 Item "List of Listings|L" "inset-insert toc CommandInset toc LatexCommand lstlistoflistings \end_inset"
482 Item "Nomenclature|N" "nomencl-print"
483 Item "Bib(la)TeX Bibliography...|B" "dialog-show-new-inset bibtex"
487 Item "LyX Document...|X" "file-insert"
488 Item "Plain Text...|T" "file-insert-plaintext"
489 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
491 Item "External Material...|M" "dialog-show-new-inset external"
492 Item "Child Document...|d" "dialog-show-new-inset include"
496 Item "Frameless|l" "box-insert Frameless"
497 Item "Simple Frame|F" "box-insert Boxed"
498 Item "Oval, Thin|a" "box-insert ovalbox"
499 Item "Oval, Thick|v" "box-insert Ovalbox"
500 Item "Drop Shadow|w" "box-insert Shadowbox"
501 Item "Shaded Background|B" "box-insert Shaded"
502 Item "Double Frame|u" "box-insert Doublebox"
506 Item "LyX Note|N" "note-insert Note"
507 Item "Comment|C" "note-insert Comment"
508 Item "Greyed Out|G" "note-insert Greyedout"
511 Menu "insert_branches"
514 Item "Insert New Branch...|I" "branch-add-insert"
517 Menu "insert_phantom"
518 Item "Phantom|P" "phantom-insert Phantom"
519 Item "Horizontal Phantom|H" "phantom-insert HPhantom"
520 Item "Vertical Phantom|V" "phantom-insert VPhantom"
532 Submenu "Change Tracking|C" "document_change"
533 OptItem "Build Program|B" "build-program"
534 Item "LaTeX Log|L" "dialog-show latexlog"
535 Item "Start Appendix Here|x" "appendix"
539 OptItem "View Master Document|M" "master-buffer-view"
540 OptItem "Update Master Document|a" "master-buffer-update"
542 Item "Compressed|o" "buffer-toggle-compression"
543 Item "Disable Editing|E" "buffer-toggle-read-only"
544 Item "Settings...|S" "dialog-show document"
547 Menu "document_change"
548 Item "Track Changes|T" "changes-track"
549 Item "Merge Changes...|M" "changes-merge"
550 Item "Accept Change|A" "change-accept"
551 Item "Reject Change|R" "change-reject"
552 Item "Accept All Changes|c" "all-changes-accept"
553 Item "Reject All Changes|e" "all-changes-reject"
554 Item "Show Changes in Output|S" "changes-output"
561 Submenu "Bookmarks|B" "navigate_bookmarks"
562 Item "Next Note|N" "note-next"
563 Item "Next Change|C" "change-next"
564 Item "Next Cross-Reference|R" "reference-next"
565 OptItem "Go to Label|L" "label-goto"
566 Item "Forward Search|F" "forward-search"
571 Menu "navigate_bookmarks"
572 Item "Save Bookmark 1|S" "bookmark-save 1"
573 Item "Save Bookmark 2" "bookmark-save 2"
574 Item "Save Bookmark 3" "bookmark-save 3"
575 Item "Save Bookmark 4" "bookmark-save 4"
576 Item "Save Bookmark 5" "bookmark-save 5"
577 Item "Clear Bookmarks|C" "bookmark-clear"
579 Item "Navigate Back|B" "bookmark-goto 0"
588 Item "Spellchecker...|S" "dialog-show spellchecker"
589 OptItem "Thesaurus...|T" "thesaurus-entry"
590 Item "Statistics...|a" "statistics"
591 OptItem "Check TeX|h" "buffer-chktex"
592 Item "TeX Information|I" "dialog-show texinfo"
593 Item "Compare...|C" "dialog-show compare"
595 # A LOT of applications have Tools->Prefs. Remember this
596 # should be rarely used - Edit menu is not a good place to
598 Item "Reconfigure|R" "reconfigure"
599 Item "Preferences...|P" "dialog-show prefs"
606 Item "Introduction|I" "help-open Intro"
607 Item "Tutorial|T" "help-open Tutorial"
608 Item "User's Guide|U" "help-open UserGuide"
609 Item "Additional Features|F" "help-open Additional"
610 Item "Embedded Objects|O" "help-open EmbeddedObjects"
611 Item "Math|M" "help-open Math"
612 Item "Customization|C" "help-open Customization"
613 Item "Shortcuts|S" "help-open Shortcuts"
614 Item "LyX Functions|y" "help-open LFUNs"
615 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
616 Submenu "Specific Manuals|p" "examples"
618 Item "About LyX|X" "dialog-show aboutlyx"
622 Item "Beamer Presentations|B" "help-open beamer"
623 Item "Braille|a" "help-open Braille"
624 Item "Colored boxes|r" "help-open colored-boxes"
625 Item "Feynman-diagram|F" "help-open FeynmanDiagrams"
626 Item "Knitr|K" "help-open knitr"
627 Item "LilyPond|P" "help-open lilypond"
628 Item "Linguistics|L" "help-open linguistics"
629 Item "Multilingual Captions|C" "help-open MultilingualCaptions"
630 Item "Paralist|t" "help-open paralist"
631 Item "PDF comments|D" "help-open PDF-comment"
632 Item "PDF forms|o" "help-open PDF-form"
633 Item "Hazard and Precautionary Statements|H" "help-open H-P-statements"
634 Item "Sweave|S" "help-open sweave"
635 Item "XY-pic|X" "help-open xypic"