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/)
19 # Make the first 4 menus be as much as expected as possible
20 Submenu "File|F" "file"
21 Submenu "Edit|E" "edit"
22 Submenu "View|V" "view"
23 Submenu "Insert|I" "insert"
24 Submenu "Navigate|N" "navigate"
25 Submenu "Document|D" "document"
26 Submenu "Tools|T" "tools"
27 Submenu "Help|H" "help"
35 Item "New|N" "buffer-new"
36 Item "New from Template...|m" "buffer-new-template"
37 Item "Open...|O" "file-open"
38 Submenu "Open Recent|t" "file_lastfiles"
40 Item "Close|C" "buffer-close"
41 Item "Save|S" "buffer-write"
42 Item "Save As...|A" "buffer-write-as"
43 Item "Save All|l" "buffer-write-all"
44 Item "Revert to Saved|R" "buffer-reload"
45 Submenu "Version Control|V" "file_vc"
47 Submenu "Import|I" "file_import"
48 Submenu "Export|E" "file_export"
49 Item "Print...|P" "dialog-show print"
50 OptItem "Fax...|F" "buffer-export fax"
52 Item "New Window|W" "window-new"
53 Item "Close Window|d" "window-close"
55 Item "Exit|x" "lyx-quit"
63 OptItem "Register...|R" "vc-register"
64 OptItem "Check In Changes...|I" "vc-check-in"
65 OptItem "Check Out for Edit|O" "vc-check-out"
66 OptItem "Revert to Repository Version|R" "vc-revert"
67 OptItem "Undo Last Check In|U" "vc-undo-last"
68 OptItem "Show History...|H" "dialog-show vclog"
77 Item "Custom...|C" "buffer-export custom"
91 Submenu "Paste Recent|e" "edit_pasterecent"
92 Submenu "Paste Special" "edit_paste"
94 Item "Select All" "command-sequence buffer-begin ; buffer-end-select"
96 Item "Find & Replace...|F" "dialog-show findreplace"
97 Item "Find LyX...|X" "dialog-show findreplaceadv"
99 Item "Move Paragraph Up|o" "paragraph-move-up"
100 Item "Move Paragraph Down|v" "paragraph-move-down"
102 Submenu "Text Style|S" "edit_textstyles"
103 Item "Paragraph Settings...|P" "layout-paragraph"
105 # Mathed b0rkage means these don't work properly
106 OptSubmenu "Table|T" "edit_tabular"
107 OptSubmenu "Math|M" "edit_math"
108 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
110 # This is where the context-specific stuff is supposed to go.
111 # The idea is that everything on here can disappear and should
112 # only appear when relevant (getStatus). Only stuff that needs
113 # a right-click to bring up the dialog should appear here (it is not
114 # obvious what the context is for the others)
115 OptItem "Increase List Depth|I" "depth-increment"
116 OptItem "Decrease List Depth|D" "depth-decrement"
117 OptItem "Dissolve Inset|l" "inset-dissolve"
118 OptItem "TeX Code Settings...|C" "inset-settings ert"
119 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
120 OptItem "Float Settings...|a" "inset-settings float"
121 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
122 OptItem "Note Settings...|N" "inset-settings note"
123 OptItem "Phantom Settings...|h" "inset-settings phantom"
124 OptItem "Branch Settings...|B" "inset-settings branch"
125 OptItem "Box Settings...|x" "inset-settings box"
126 OptItem "Index Entry Settings...|y" "inset-settings index"
127 OptItem "Index Settings...|x" "inset-settings index_print"
128 OptItem "Listings Settings...|g" "inset-settings listings"
129 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
130 # This is in the Table submenu instead for now.
131 # OptItem "Table Settings...|a" "inset-settings tabular"
132 OptItem "Table Settings...|a" "layout-tabular"
136 Item "Plain Text|T" "clipboard-paste"
137 Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
139 Item "Selection|S" "primary-selection-paste"
140 Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
142 Item "Paste As LinkBack PDF" "paste linkback"
143 Item "Paste As PDF" "paste pdf"
144 Item "Paste As PNG" "paste png"
145 Item "Paste As JPEG" "paste jpeg"
148 Menu "edit_pasterecent"
152 Menu "edit_textstyles"
153 Item "Dissolve CharStyle" "inset-dissolve charstyle"
157 Item "Customized...|C" "dialog-show character"
159 Item "Capitalize|a" "word-capitalize"
160 Item "Uppercase|U" "word-upcase"
161 Item "Lowercase|L" "word-lowcase"
164 # not much we can do to help here
166 Item "Multicolumn|M" "tabular-feature multicolumn"
168 Item "Top Line|T" "tabular-feature toggle-line-top"
169 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
170 Item "Left Line|L" "tabular-feature toggle-line-left"
171 Item "Right Line|R" "tabular-feature toggle-line-right"
173 Item "Top|p" "tabular-feature tabular-valign-top"
174 Item "Middle|i" "tabular-feature tabular-valign-middle"
175 Item "Bottom|o" "tabular-feature tabular-valign-bottom"
178 Menu "edit_tabular_features"
179 Item "Left|L" "tabular-feature align-left"
180 Item "Center|C" "tabular-feature align-center"
181 Item "Right|R" "tabular-feature align-right"
183 Item "Top|T" "tabular-feature valign-top"
184 Item "Middle|M" "tabular-feature valign-middle"
185 Item "Bottom|B" "tabular-feature valign-bottom"
187 Item "Add Row|A" "tabular-feature append-row"
188 Item "Delete Row|D" "tabular-feature delete-row"
189 Item "Copy Row|o" "tabular-feature copy-row"
190 # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken
192 Item "Add Column|u" "tabular-feature append-column"
193 Item "Delete Column|e" "tabular-feature delete-column"
194 Item "Copy Column|p" "tabular-feature copy-column"
195 # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken
199 Item "Number whole Formula|N" "math-number-toggle"
200 Item "Number this Line|u" "math-number-line-toggle"
201 Submenu "Change Limits Type|L" "edit_math_limits"
202 Submenu "Macro Definition" "edit_math_macro_definition"
204 Submenu "Change Formula Type|F" "edit_math_mutate"
206 Submenu "Text Style|T" "edit_math_fontstyles"
208 Submenu "Use Computer Algebra System|S" "edit_math_extern"
210 Item "Split Cell|C" "cell-split"
212 Item "Add Line Above|A" "tabular-feature add-hline-above"
213 Item "Add Line Below|B" "tabular-feature add-hline-below"
214 Item "Delete Line Above|D" "tabular-feature delete-hline-above"
215 Item "Delete Line Below|e" "tabular-feature delete-hline-below"
217 Item "Add Line to Left" "tabular-feature add-vline-left"
218 Item "Add Line to Right" "tabular-feature add-vline-right"
219 Item "Delete Line to Left" "tabular-feature delete-vline-left"
220 Item "Delete Line to Right" "tabular-feature delete-vline-right"
223 Menu "edit_math_macro_definition"
224 Item "Append Argument" "math-macro-add-param"
225 Item "Remove Last Argument" "math-macro-remove-param"
227 Item "Make First Non-Optional into Optional Argument" "math-macro-make-optional"
228 Item "Make Last Optional into Non-Optional Argument" "math-macro-make-nonoptional"
229 Item "Insert Optional Argument" "math-macro-add-optional-param"
230 Item "Remove Optional Argument" "math-macro-remove-optional-param"
232 Item "Append Argument Eating From The Right" "math-macro-append-greedy-param"
233 Item "Append Optional Argument Eating From The Right" "math-macro-add-greedy-optional-param"
234 Item "Remove Last Argument Spitting Out To The Right" "math-macro-remove-greedy-param"
237 Menu "edit_math_limits"
238 Item "Default|t" "math-limits empty"
239 Item "Display|D" "math-limits limits"
240 Item "Inline|I" "math-limits nolimits"
243 Menu "edit_math_fontstyles"
244 Item "Math Normal Font|N" "math-font-style mathnormal"
246 Item "Math Calligraphic Family|C" "math-font-style mathcal"
247 Item "Math Fraktur Family|F" "math-font-style mathfrak"
248 Item "Math Roman Family|R" "math-font-style mathrm"
249 Item "Math Sans Serif Family|S" "math-font-style mathsf"
251 Item "Math Bold Series|B" "math-font-style mathbf"
253 Item "Text Normal Font|T" "math-font-style textnormal"
255 Item "Text Roman Family" "math-font-style textrm"
256 Item "Text Sans Serif Family" "math-font-style textsf"
257 Item "Text Typewriter Family" "math-font-style texttt"
259 Item "Text Bold Series" "math-font-style textbf"
260 Item "Text Medium Series" "math-font-style textmd"
262 Item "Text Italic Shape" "math-font-style textit"
263 Item "Text Small Caps Shape" "math-font-style textsc"
264 Item "Text Slanted Shape" "math-font-style textsl"
265 Item "Text Upright Shape" "math-font-style textup"
268 Menu "edit_math_extern"
269 Item "Octave|O" "math-extern octave"
270 Item "Maxima|M" "math-extern maxima"
271 Item "Mathematica|a" "math-extern mathematica"
273 Item "Maple, simplify|s" "math-extern maple simplify"
274 Item "Maple, factor|f" "math-extern maple factor"
275 Item "Maple, evalm|e" "math-extern maple evalm"
276 Item "Maple, evalf|v" "math-extern maple evalf"
279 Menu "edit_math_mutate"
280 Item "Inline Formula|I" "math-mutate simple"
281 Item "Displayed Formula|D" "math-mutate equation"
282 Item "Eqnarray Environment|E" "math-mutate eqnarray"
283 Item "AMS align Environment|a" "math-mutate align"
284 Item "AMS alignat Environment|t" "math-mutate alignat"
285 Item "AMS flalign Environment|f" "math-mutate flalign"
286 Item "AMS gather Environment|g" "math-mutate gather"
287 Item "AMS multline Environment|m" "math-mutate multline"
295 Item "Open All Insets|O" "all-insets-toggle open"
296 Item "Close All Insets|C" "all-insets-toggle close"
298 Item "Unfold Math Macro" "math-macro-unfold"
299 Item "Fold Math Macro" "math-macro-fold"
301 Item "View Source|S" "dialog-toggle view-source"
302 Item "View Output|V" "buffer-view"
303 Item "Update Output|U" "buffer-update"
304 OptItem "View Master Document|M" "master-buffer-view"
305 OptItem "Update Master Document|a" "master-buffer-update"
306 Submenu "View (other formats)|f" "view_others"
307 Submenu "Update (other formats)|p" "view_update"
309 Item "Split View Into Left And Right Half|i" "split-view horizontal"
310 Item "Split View Into Upper And Lower Half|e" "split-view vertical"
311 Item "Close Tab Group|G" "close-tab-group"
312 Item "Fullscreen|l" "ui-toggle fullscreen"
313 Submenu "Toolbars|b" "toolbars"
333 # Try and group things a little better, and percolate the most
334 # commonly used to good positions (exception being mathed, but
335 # most people using mathed learn key shortcuts quite quickly anyway)
336 Submenu "Math|h" "insert_math"
337 Submenu "Special Character|p" "insert_special"
338 Submenu "Formatting|o" "insert_formatting"
339 Submenu "List / TOC|i" "insert_toc"
340 Submenu "Float|a" "insert_float"
341 Submenu "Note|N" "insert_note"
342 Submenu "Branch|B" "insert_branches"
343 Submenu "Custom insets" "insert_custom"
344 Submenu "File|e" "insert_file"
345 Item "Box[[Menu]]" "box-insert Frameless"
347 Item "Citation...|C" "dialog-show-new-inset citation"
348 Item "Cross-Reference...|R" "dialog-show-new-inset ref"
349 Item "Label...|L" "label-insert"
350 Item "Caption" "caption-insert"
352 Item "Nomenclature Entry...|y" "nomencl-insert"
354 Item "Table...|T" "tabular-insert"
355 Item "Graphics...|G" "dialog-show-new-inset graphics"
356 Item "URL" "flex-insert URL"
357 Item "Hyperlink|k" "href-insert"
358 Item "Footnote|F" "footnote-insert"
359 Item "Marginal Note|M" "marginalnote-insert"
360 Item "Short Title|S" "optional-insert"
361 Item "TeX Code|X" "ert-insert"
362 Item "Program Listing[[Menu]]" "listing-insert"
363 Item "Date" "date-insert"
364 Item "Regexp" "regexp-mode"
367 Menu "insert_special"
368 Item "Symbols...|b" "dialog-show symbols"
369 Item "Ellipsis|i" "specialchar-insert dots"
370 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
371 Item "Ordinary Quote|Q" "self-insert \""
372 Item "Single Quote|S" "quote-insert single"
373 Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
374 Item "Breakable Slash|a" "specialchar-insert slash"
375 Item "Menu Separator|M" "specialchar-insert menu-separator"
376 Item "Phonetic Symbols|P" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
379 Menu "insert_formatting"
380 Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;"
381 Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;"
383 Item "Protected Space|P" "space-insert protected"
384 Item "Inter-word Space|w" "space-insert normal"
385 Item "Thin Space|T" "space-insert thin"
386 Item "Horizontal Space...|o" "dialog-show-new-inset space"
387 Item "Horizontal Line|L" "line-insert"
388 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
389 Submenu "Phantom" "insert_phantom"
391 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
392 Item "Ligature Break|k" "specialchar-insert ligature-break"
393 Item "Ragged Line Break|R" "newline-insert newline"
394 Item "Justified Line Break|J" "newline-insert linebreak"
396 Item "New Page|N" "newpage-insert newpage"
397 Item "Page Break|a" "newpage-insert pagebreak"
398 Item "Clear Page|C" "newpage-insert clearpage"
399 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
403 Item "Inline Formula|I" "math-mode"
404 Item "Display Formula|D" "math-display"
405 Item "Numbered Formula|N" "command-sequence math-display; math-number-toggle;"
406 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
407 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
408 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
409 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
410 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
411 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
413 Item "Array Environment|y" "math-matrix 2 2"
414 Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"
415 Item "Aligned Environment|l" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"
416 Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"
417 Item "Gathered Environment|h" "command-sequence math-mode on; math-insert \gathered"
418 Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"
420 Item "Delimiters...|r" "dialog-show mathdelimiter"
421 Item "Matrix...|x" "dialog-show mathmatrix"
422 Item "Macro|o" "math-macro newmacroname newcommand"
427 # This has got to be better than "Wrap", anyway
428 Item "Figure Wrap Float|F" "wrap-insert figure"
429 Item "Table Wrap Float|T" "wrap-insert table"
433 Item "Table of Contents|C" "toc-insert"
436 Item "Nomenclature|N" "nomencl-print"
437 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
441 Item "LyX Document...|X" "file-insert"
442 Item "Plain Text...|T" "file-insert-plaintext"
443 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
445 Item "External Material...|M" "dialog-show-new-inset external"
446 Item "Child Document...|d" "dialog-show-new-inset include"
450 Item "LyX Note|N" "note-insert Note"
451 Item "Comment|C" "note-insert Comment"
452 Item "Greyed Out|G" "note-insert Greyedout"
455 Menu "insert_branches"
459 Menu "insert_phantom"
460 Item "Phantom" "phantom-insert Phantom"
461 Item "Horiz. Phantom" "phantom-insert HPhantom"
462 Item "Vert. Phantom" "phantom-insert VPhantom"
474 Submenu "Change Tracking|C" "document_change"
475 OptItem "Build Program|B" "build-program"
476 Item "LaTeX Log|L" "dialog-show latexlog"
477 Item "Outline|O" "dialog-toggle toc"
478 Item "Start Appendix Here|A" "appendix"
480 Item "Save in Bundled Format|F" "buffer-toggle-embedding"
481 Item "Compressed|m" "buffer-toggle-compression"
482 Item "Settings...|S" "dialog-show document"
485 Menu "document_change"
486 Item "Track Changes|T" "changes-track"
487 Item "Merge Changes...|M" "changes-merge"
488 Item "Accept Change|A" "change-accept"
489 Item "Reject Change|R" "change-reject"
490 Item "Accept All Changes|c" "all-changes-accept"
491 Item "Reject All Changes|e" "all-changes-reject"
492 Item "Show Changes in Output|S" "changes-output"
499 Submenu "Bookmarks|B" "navigate_bookmarks"
500 Item "Next Note|N" "note-next"
501 Item "Next Change|C" "change-next"
502 Item "Next Cross-Reference|R" "reference-next"
503 OptItem "Go to Label|L" "label-goto"
508 Menu "navigate_bookmarks"
509 Item "Save Bookmark 1|S" "bookmark-save 1"
510 Item "Save Bookmark 2" "bookmark-save 2"
511 Item "Save Bookmark 3" "bookmark-save 3"
512 Item "Save Bookmark 4" "bookmark-save 4"
513 Item "Save Bookmark 5" "bookmark-save 5"
514 Item "Clear Bookmarks|C" "bookmark-clear"
516 Item "Navigate Back|B" "bookmark-goto 0"
525 Item "Spellchecker...|S" "dialog-show spellchecker"
526 OptItem "Thesaurus...|T" "thesaurus-entry"
527 Item "Statistics...|a" "statistics"
528 OptItem "Check TeX|h" "buffer-chktex"
529 Item "TeX Information|I" "dialog-show texinfo"
531 # A LOT of applications have Tools->Prefs. Remember this
532 # should be rarely used - Edit menu is not a good place to
534 Item "Reconfigure|R" "reconfigure"
535 Item "Preferences...|P" "dialog-show prefs"
542 Item "Introduction|I" "help-open Intro"
543 Item "Tutorial|T" "help-open Tutorial"
544 Item "User's Guide|U" "help-open UserGuide"
545 Item "Additional Features|F" "help-open Extended"
546 Item "Embedded Objects|O" "help-open EmbeddedObjects"
547 Item "Math|M" "help-open Math"
548 Item "Customization|C" "help-open Customization"
549 Item "Shortcuts|S" "help-open Shortcuts"
550 Item "LyX Functions|y" "help-open LFUNs"
551 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
552 Submenu "Specific Manuals|p" "examples"
554 Item "About LyX|X" "dialog-show aboutlyx"
558 Item "Linguistics Manual|L" "help-open linguistics"
559 Item "Braille Manual|B" "help-open Braille"
560 Item "XY-pic Manual|X" "help-open xypic"
561 Item "Multicolumn Manual|M" "help-open multicol"