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 Window|W" "window-new"
36 Item "New|N" "buffer-new"
37 Item "New from Template...|m" "buffer-new-template"
38 Item "Open...|O" "file-open"
39 Submenu "Open recent|t" "file_lastfiles"
41 Item "Close|C" "buffer-close"
42 Item "Save|S" "buffer-write"
43 Item "Save As...|A" "buffer-write-as"
44 Item "Revert|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 "Exit|x" "lyx-quit"
60 OptItem "Register...|R" "vc-register"
61 OptItem "Check In Changes...|I" "vc-check-in"
62 OptItem "Check Out for Edit|O" "vc-check-out"
63 OptItem "Revert to Last Version|L" "vc-revert"
64 OptItem "Undo Last Check In|U" "vc-undo-last"
65 OptItem "Show History|H" "dialog-show vclog"
74 Item "Custom...|C" "buffer-export custom"
88 Submenu "Paste Recent" "edit_pasterecent"
89 Submenu "Paste External Clipboard/Selection" "edit_paste"
91 Item "Find & Replace...|F" "dialog-show findreplace"
93 Item "Move Paragraph Up|o" "paragraph-move-up"
94 Item "Move Paragraph Down|v" "paragraph-move-down"
96 Submenu "Text Style|S" "edit_textstyles"
97 Item "Paragraph Settings...|P" "layout-paragraph"
99 # Mathed b0rkage means these don't work properly
100 OptSubmenu "Table|T" "edit_tabular"
101 OptSubmenu "Math|M" "edit_math"
102 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
104 OptItem "Increase List Depth|I" "depth-increment"
105 OptItem "Decrease List Depth|D" "depth-decrement"
106 OptItem "Dissolve Inset|s" "inset-dissolve"
107 # This is where the context-specific stuff is supposed to go.
108 # The idea is that everything on here can disappear and should
109 # only appear when relevant (getStatus). Only stuff that needs
110 # a right-click to bring up the dialog should appear here (it is not
111 # obvious what the context is for the others)
112 OptItem "TeX Code Settings...|C" "inset-settings ert"
113 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
114 OptItem "Float Settings...|a" "inset-settings float"
115 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
116 OptItem "Note Settings...|N" "inset-settings note"
117 OptItem "Branch Settings...|B" "inset-settings branch"
118 OptItem "Box Settings...|x" "inset-settings box"
119 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
120 # This is in the Table submenu instead for now.
121 # OptItem "Table Settings...|a" "inset-settings tabular"
122 OptItem "Table Settings...|a" "layout-tabular"
126 Item "Clipboard as Lines|C" "clipboard-paste"
127 Item "Clipboard as Paragraphs|a" "clipboard-paste paragraph"
128 Item "Selection as Lines|L" "primary-selection-paste"
129 Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
132 Menu "edit_pasterecent"
136 Menu "edit_textstyles"
139 Item "Customized...|C" "dialog-show character"
141 Item "Capitalize|a" "word-capitalize"
142 Item "Uppercase|U" "word-upcase"
143 Item "Lowercase|L" "word-lowcase"
146 # not much we can do to help here
148 Item "Multicolumn|M" "tabular-feature multicolumn"
150 Item "Top Line|T" "tabular-feature toggle-line-top"
151 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
152 Item "Left Line|L" "tabular-feature toggle-line-left"
153 Item "Right Line|R" "tabular-feature toggle-line-right"
157 Menu "edit_tabular_features"
158 Item "Left|L" "tabular-feature align-left"
159 Item "Center|C" "tabular-feature align-center"
160 Item "Right|R" "tabular-feature align-right"
162 Item "Top|T" "tabular-feature valign-top"
163 Item "Middle|M" "tabular-feature valign-middle"
164 Item "Bottom|B" "tabular-feature valign-bottom"
166 Item "Add Row" "tabular-feature append-row"
167 Item "Delete Row" "tabular-feature delete-row"
168 Item "Copy Row" "tabular-feature copy-row"
169 Item "Swap Rows" "tabular-feature swap-row"
171 Item "Add Column" "tabular-feature append-column"
172 Item "Delete Column" "tabular-feature delete-column"
173 Item "Copy Column" "tabular-feature copy-column"
174 Item "Swap Columns" "tabular-feature swap-column"
178 Item "Toggle Numbering|N" "math-number"
179 Item "Toggle Numbering of Line|u" "math-nonumber"
180 Submenu "Change Limits Type|L" "edit_math_limits"
182 Submenu "Change Formula Type|F" "edit_math_mutate"
184 Submenu "Text Style|T" "edit_math_textstyles"
186 Submenu "Use Computer Algebra System|S" "edit_math_extern"
188 Item "Split Cell|C" "cell-split"
190 Item "Add Line Above" "tabular-feature add-hline-above"
191 Item "Add Line Below" "tabular-feature add-hline-below"
192 Item "Delete Line Above" "tabular-feature delete-hline-above"
193 Item "Delete Line Below" "tabular-feature delete-hline-below"
195 Item "Add Line to Left" "tabular-feature add-vline-left"
196 Item "Add Line to Right" "tabular-feature add-vline-right"
197 Item "Delete Line to Left" "tabular-feature delete-vline-left"
198 Item "Delete Line to Right" "tabular-feature delete-vline-right"
201 Menu "edit_math_limits"
202 Item "Default|t" "math-limits empty"
203 Item "Display|D" "math-limits limits"
204 Item "Inline|I" "math-limits nolimits"
207 Menu "edit_math_textstyles"
208 Item "Math Normal Font" "math-insert \mathnormal"
210 Item "Math Calligraphic Family" "math-insert \mathcal"
211 Item "Math Fraktur Family" "math-insert \mathfrak"
212 Item "Math Roman Family" "math-insert \mathrm"
213 Item "Math Sans Serif Family" "math-insert \mathsf"
215 Item "Math Bold Series" "math-insert \mathbf"
217 Item "Text Normal Font" "math-insert \textnormal"
219 Item "Text Roman Family" "math-insert \textrm"
220 Item "Text Sans Serif Family" "math-insert \textsf"
221 Item "Text Typewriter Family" "math-insert \texttt"
223 Item "Text Bold Series" "math-insert \textbf"
224 Item "Text Medium Series" "math-insert \textmd"
226 Item "Text Italic Shape" "math-insert \textit"
227 Item "Text Small Caps Shape" "math-insert \textsc"
228 Item "Text Slanted Shape" "math-insert \textsl"
229 Item "Text Upright Shape" "math-insert \textup"
232 Menu "edit_math_extern"
233 Item "Octave" "math-extern octave"
234 Item "Maxima" "math-extern maxima"
235 Item "Mathematica" "math-extern mathematica"
237 Item "Maple, simplify" "math-extern maple simplify"
238 Item "Maple, factor" "math-extern maple factor"
239 Item "Maple, evalm" "math-extern maple evalm"
240 Item "Maple, evalf" "math-extern maple evalf"
243 Menu "edit_math_mutate"
244 Item "Inline Formula|I" "math-mutate simple"
245 Item "Displayed Formula|D" "math-mutate equation"
246 Item "Eqnarray Environment|q" "math-mutate eqnarray"
247 Item "AMS align Environment|a" "math-mutate align"
248 Item "AMS alignat Environment|t" "math-mutate alignat"
249 Item "AMS flalign Environment|f" "math-mutate flalign"
250 Item "AMS gather Environment|g" "math-mutate gather"
251 Item "AMS multline Environment|m" "math-mutate multline"
259 Item "Open All Insets|O" "all-insets-toggle open"
260 Item "Close All Insets|C" "all-insets-toggle close"
262 Item "View source|s" "dialog-show view-source"
263 Submenu "Update|U" "view_update"
277 # Try and group things a little better, and percolate the most
278 # commonly used to good positions (exception being mathed, but
279 # most people using mathed learn key shortcuts quite quickly anyway)
280 Submenu "Math|h" "insert_math"
281 Submenu "Special Character|S" "insert_special"
282 Submenu "Special Formatting|o" "insert_formatting"
283 Submenu "List / TOC|i" "insert_toc"
284 Submenu "Float|a" "insert_float"
286 Submenu "Note|N" "insert_note"
287 OptSubmenu "Branch|B" "insert_branches"
288 Submenu "File|e" "insert_file"
289 Item "Box" "box-insert Frameless"
291 Item "Citation...|C" "dialog-show-new-inset citation"
292 Item "Cross-reference...|r" "dialog-show-new-inset ref"
293 Item "Label...|L" "label-insert"
294 Item "Index Entry|d" "index-insert"
295 Item "Date" "date-insert"
296 # I'm going to kill this dumb dialog, but for now ...
298 Item "Table...|T" "tabular-insert"
299 Item "Graphics...|G" "dialog-show-new-inset graphics"
300 Item "URL...|U" "url-insert"
301 Item "Footnote|F" "footnote-insert"
302 Item "Marginal Note|M" "marginalnote-insert"
303 Item "Short Title" "optional-insert"
304 Item "TeX Code|X" "ert-insert"
307 Menu "insert_special"
308 Item "Ellipsis|i" "dots-insert"
309 Item "End of Sentence|E" "end-of-sentence-period-insert"
310 Item "Ordinary Quote|Q" "self-insert \""
311 Item "Single Quote|S" "quote-insert single"
312 Item "Menu Separator|M" "menu-separator-insert"
313 Item "Phonetic Symbols|y" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
316 Menu "insert_formatting"
317 Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;"
318 Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;"
320 Item "Protected Space|r" "space-insert protected"
321 Item "Inter-word Space|w" "space-insert normal"
322 Item "Thin Space|T" "space-insert thin"
323 Item "Horizontal Fill|H" "hfill-insert"
324 Item "Horizontal Line" "line-insert"
325 Item "Vertical Space..." "dialog-show-new-inset vspace"
327 Item "Hyphenation Point|P" "hyphenation-point-insert"
328 Item "Ligature Break|k" "ligature-break-insert"
329 Item "Line Break|L" "break-line"
330 Item "Page Break" "pagebreak-insert"
334 Item "Inline Formula|I" "math-mode on"
335 Item "Display Formula|D" "math-display"
336 Item "Numbered Formula|N" "command-sequence math-display; math-number;"
337 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
338 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
339 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
340 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
341 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
342 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
344 Item "Array Environment|y" "math-matrix 2 2"
345 Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"
346 Item "Aligned Environment" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"
347 Item "AlignedAt Environment" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"
348 Item "Gathered Environment" "command-sequence math-mode on; math-insert \gathered"
349 Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"
351 Item "Math Panel|P" "dialog-show mathpanel"
356 # This has got to be better than "Wrap", anyway
357 Item "Text Wrap Float|W" "wrap-insert figure"
361 Item "Table of Contents|C" "toc-insert"
363 Item "Index List|I" "index-print"
364 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
368 Item "LyX Document...|X" "file-insert"
369 Item "Plain Text as Lines...|L" "file-insert-ascii"
370 Item "Plain Text as Paragraphs...|P" "file-insert-ascii-para"
372 Item "External Material...|M" "dialog-show-new-inset external"
373 Item "Child Document...|d" "dialog-show-new-inset include"
377 Item "LyX Note|N" "note-insert Note"
378 Item "Comment|C" "note-insert Comment"
379 Item "Greyed Out|G" "note-insert Greyedout"
382 Menu "insert_branches"
391 Submenu "Change Tracking|C" "document_change"
392 OptItem "Build Program|B" "build-program"
393 Item "LaTeX Log|L" "dialog-show latexlog"
394 Item "Table of Contents|T" "toc-view"
395 Item "Start Appendix Here|A" "appendix"
397 Item "Compressed|o" "buffer-toggle-compression"
398 Item "Settings...|S" "dialog-show document"
401 Menu "document_change"
402 Item "Track Changes|T" "changes-track"
403 Item "Merge Changes...|M" "changes-merge"
404 Item "Accept Change|A" "change-accept"
405 Item "Reject Change|R" "change-reject"
406 Item "Accept All Changes|c" "all-changes-accept"
407 Item "Reject All Changes|e" "all-changes-reject"
408 Item "Show Changes in Output|S" "changes-output"
415 Submenu "Bookmarks|B" "navigate_bookmarks"
416 Item "Next Note|N" "note-next"
417 Item "Next Change|C" "change-next"
418 Item "Next Reference|R" "reference-next"
419 Item "Go to Label|L" "label-goto"
424 Menu "navigate_bookmarks"
425 Item "Go to Bookmark 1|1" "bookmark-goto 1"
426 Item "Go to Bookmark 2|2" "bookmark-goto 2"
427 Item "Go to Bookmark 3|3" "bookmark-goto 3"
428 Item "Go to Bookmark 4|4" "bookmark-goto 4"
429 Item "Go to Bookmark 5|5" "bookmark-goto 5"
431 Item "Save Bookmark 1|S" "bookmark-save 1"
432 Item "Save Bookmark 2" "bookmark-save 2"
433 Item "Save Bookmark 3" "bookmark-save 3"
434 Item "Save Bookmark 4" "bookmark-save 4"
435 Item "Save Bookmark 5" "bookmark-save 5"
443 Item "Spellchecker...|S" "dialog-show spellchecker"
444 OptItem "Thesaurus...|T" "thesaurus-entry"
445 Item "Count Words|W" "words-count"
446 OptItem "Check TeX|h" "buffer-chktex"
447 Item "TeX Information|I" "dialog-show texinfo"
449 # A LOT of applications have Tools->Prefs. Remember this
450 # should be rarely used - Edit menu is not a good place to
452 Item "Reconfigure|R" "reconfigure"
453 Item "Preferences...|P" "dialog-show prefs"
460 Item "Introduction|I" "help-open Intro"
461 Item "Tutorial|T" "help-open Tutorial"
462 Item "User's Guide|U" "help-open UserGuide"
463 Item "Extended Features|E" "help-open Extended"
464 Item "Customization|C" "help-open Customization"
465 Item "FAQ|F" "help-open FAQ"
466 Item "Table of Contents|a" "help-open TOC"
467 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
469 Item "About LyX|X" "dialog-show aboutlyx"
473 # LYX MENU - this menu is only used by LyX/Mac
477 Item "About LyX" "dialog-show aboutlyx"
478 Item "Preferences..." "dialog-show prefs"
479 Item "Quit LyX" "lyx-quit"