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 "Revert|R" "buffer-reload"
44 Submenu "Version Control|V" "file_vc"
46 Submenu "Import|I" "file_import"
47 Submenu "Export|E" "file_export"
48 Item "Print...|P" "dialog-show print"
49 OptItem "Fax...|F" "buffer-export fax"
51 Item "New Window|W" "window-new"
52 Item "Close Window|d" "window-close"
54 Item "Exit|x" "lyx-quit"
62 OptItem "Register...|R" "vc-register"
63 OptItem "Check In Changes...|I" "vc-check-in"
64 OptItem "Check Out for Edit|O" "vc-check-out"
65 OptItem "Revert to Last Version|L" "vc-revert"
66 OptItem "Undo Last Check In|U" "vc-undo-last"
67 OptItem "Show History|H" "dialog-show vclog"
76 Item "Custom...|C" "buffer-export custom"
90 Submenu "Paste Recent|e" "edit_pasterecent"
91 Submenu "Paste External Clipboard/Selection" "edit_paste"
93 Item "Find & Replace...|F" "dialog-show findreplace"
95 Item "Move Paragraph Up|o" "paragraph-move-up"
96 Item "Move Paragraph Down|v" "paragraph-move-down"
98 Submenu "Text Style|S" "edit_textstyles"
99 Item "Paragraph Settings...|P" "layout-paragraph"
101 # Mathed b0rkage means these don't work properly
102 OptSubmenu "Table|T" "edit_tabular"
103 OptSubmenu "Math|M" "edit_math"
104 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
106 # This is where the context-specific stuff is supposed to go.
107 # The idea is that everything on here can disappear and should
108 # only appear when relevant (getStatus). Only stuff that needs
109 # a right-click to bring up the dialog should appear here (it is not
110 # obvious what the context is for the others)
111 OptItem "Increase List Depth|I" "depth-increment"
112 OptItem "Decrease List Depth|D" "depth-decrement"
113 OptItem "Dissolve Inset|l" "inset-dissolve"
114 OptItem "TeX Code Settings...|C" "inset-settings ert"
115 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
116 OptItem "Float Settings...|a" "inset-settings float"
117 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
118 OptItem "Note Settings...|N" "inset-settings note"
119 OptItem "Branch Settings...|B" "inset-settings branch"
120 OptItem "Box Settings...|x" "inset-settings box"
121 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
122 # This is in the Table submenu instead for now.
123 # OptItem "Table Settings...|a" "inset-settings tabular"
124 OptItem "Table Settings...|a" "layout-tabular"
128 Item "Clipboard as Lines|C" "clipboard-paste"
129 Item "Clipboard as Paragraphs|a" "clipboard-paste paragraph"
130 Item "Selection as Lines|L" "primary-selection-paste"
131 Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
134 Menu "edit_pasterecent"
138 Menu "edit_textstyles"
141 Item "Customized...|C" "dialog-show character"
143 Item "Capitalize|a" "word-capitalize"
144 Item "Uppercase|U" "word-upcase"
145 Item "Lowercase|L" "word-lowcase"
148 # not much we can do to help here
150 Item "Multicolumn|M" "tabular-feature multicolumn"
152 Item "Top Line|T" "tabular-feature toggle-line-top"
153 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
154 Item "Left Line|L" "tabular-feature toggle-line-left"
155 Item "Right Line|R" "tabular-feature toggle-line-right"
159 Menu "edit_tabular_features"
160 Item "Left|L" "tabular-feature align-left"
161 Item "Center|C" "tabular-feature align-center"
162 Item "Right|R" "tabular-feature align-right"
164 Item "Top|T" "tabular-feature valign-top"
165 Item "Middle|M" "tabular-feature valign-middle"
166 Item "Bottom|B" "tabular-feature valign-bottom"
168 Item "Add Row|A" "tabular-feature append-row"
169 Item "Delete Row|D" "tabular-feature delete-row"
170 Item "Copy Row|o" "tabular-feature copy-row"
171 Item "Swap Rows|S" "tabular-feature swap-row"
173 Item "Add Column|u" "tabular-feature append-column"
174 Item "Delete Column|e" "tabular-feature delete-column"
175 Item "Copy Column|p" "tabular-feature copy-column"
176 Item "Swap Columns|w" "tabular-feature swap-column"
180 Item "Toggle Numbering|N" "math-number"
181 Item "Toggle Numbering of Line|u" "math-nonumber"
182 Submenu "Change Limits Type|L" "edit_math_limits"
184 Submenu "Change Formula Type|F" "edit_math_mutate"
186 Submenu "Text Style|T" "edit_math_textstyles"
188 Submenu "Use Computer Algebra System|S" "edit_math_extern"
190 Item "Split Cell|C" "cell-split"
192 Item "Add Line Above|A" "tabular-feature add-hline-above"
193 Item "Add Line Below|B" "tabular-feature add-hline-below"
194 Item "Delete Line Above|D" "tabular-feature delete-hline-above"
195 Item "Delete Line Below|e" "tabular-feature delete-hline-below"
197 Item "Add Line to Left" "tabular-feature add-vline-left"
198 Item "Add Line to Right" "tabular-feature add-vline-right"
199 Item "Delete Line to Left" "tabular-feature delete-vline-left"
200 Item "Delete Line to Right" "tabular-feature delete-vline-right"
203 Menu "edit_math_limits"
204 Item "Default|t" "math-limits empty"
205 Item "Display|D" "math-limits limits"
206 Item "Inline|I" "math-limits nolimits"
209 Menu "edit_math_textstyles"
210 Item "Math Normal Font|N" "math-insert \mathnormal"
212 Item "Math Calligraphic Family|C" "math-insert \mathcal"
213 Item "Math Fraktur Family|F" "math-insert \mathfrak"
214 Item "Math Roman Family|R" "math-insert \mathrm"
215 Item "Math Sans Serif Family|S" "math-insert \mathsf"
217 Item "Math Bold Series|B" "math-insert \mathbf"
219 Item "Text Normal Font|T" "math-insert \textnormal"
221 Item "Text Roman Family" "math-insert \textrm"
222 Item "Text Sans Serif Family" "math-insert \textsf"
223 Item "Text Typewriter Family" "math-insert \texttt"
225 Item "Text Bold Series" "math-insert \textbf"
226 Item "Text Medium Series" "math-insert \textmd"
228 Item "Text Italic Shape" "math-insert \textit"
229 Item "Text Small Caps Shape" "math-insert \textsc"
230 Item "Text Slanted Shape" "math-insert \textsl"
231 Item "Text Upright Shape" "math-insert \textup"
234 Menu "edit_math_extern"
235 Item "Octave|O" "math-extern octave"
236 Item "Maxima|M" "math-extern maxima"
237 Item "Mathematica|a" "math-extern mathematica"
239 Item "Maple, simplify|s" "math-extern maple simplify"
240 Item "Maple, factor|f" "math-extern maple factor"
241 Item "Maple, evalm|e" "math-extern maple evalm"
242 Item "Maple, evalf|v" "math-extern maple evalf"
245 Menu "edit_math_mutate"
246 Item "Inline Formula|I" "math-mutate simple"
247 Item "Displayed Formula|D" "math-mutate equation"
248 Item "Eqnarray Environment|q" "math-mutate eqnarray"
249 Item "AMS align Environment|a" "math-mutate align"
250 Item "AMS alignat Environment|t" "math-mutate alignat"
251 Item "AMS flalign Environment|f" "math-mutate flalign"
252 Item "AMS gather Environment|g" "math-mutate gather"
253 Item "AMS multline Environment|m" "math-mutate multline"
261 Item "Open All Insets|O" "all-insets-toggle open"
262 Item "Close All Insets|C" "all-insets-toggle close"
264 Item "View Source|S" "dialog-show view-source"
265 Submenu "Update|U" "view_update"
268 Submenu "Toolbars|b" "toolbars"
284 # Try and group things a little better, and percolate the most
285 # commonly used to good positions (exception being mathed, but
286 # most people using mathed learn key shortcuts quite quickly anyway)
287 Submenu "Math|h" "insert_math"
288 Submenu "Special Character|p" "insert_special"
289 Submenu "Special Formatting|o" "insert_formatting"
290 Submenu "List / TOC|i" "insert_toc"
291 Submenu "Float|a" "insert_float"
292 Submenu "Note|N" "insert_note"
293 OptSubmenu "Branch|B" "insert_branches"
294 Submenu "File|e" "insert_file"
295 Item "Box" "box-insert Frameless"
297 Item "Citation...|C" "dialog-show-new-inset citation"
298 Item "Cross-Reference...|R" "dialog-show-new-inset ref"
299 Item "Label...|L" "label-insert"
300 Item "Index Entry|d" "index-insert"
301 Item "Glossary Entry|y" "nomencl-insert"
303 Item "Table...|T" "tabular-insert"
304 Item "Graphics...|G" "dialog-show-new-inset graphics"
305 Item "URL...|U" "url-insert"
306 Item "Footnote|F" "footnote-insert"
307 Item "Marginal Note|M" "marginalnote-insert"
308 Item "Short Title|S" "optional-insert"
309 Item "TeX Code|X" "ert-insert"
310 Item "Date" "date-insert"
313 Menu "insert_special"
314 Item "Ellipsis|i" "dots-insert"
315 Item "End of Sentence|E" "end-of-sentence-period-insert"
316 Item "Ordinary Quote|Q" "self-insert \""
317 Item "Single Quote|S" "quote-insert single"
318 Item "Menu Separator|M" "menu-separator-insert"
319 Item "Phonetic Symbols|y" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
322 Menu "insert_formatting"
323 Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;"
324 Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;"
326 Item "Protected Space|P" "space-insert protected"
327 Item "Inter-word Space|w" "space-insert normal"
328 Item "Thin Space|T" "space-insert thin"
329 Item "Horizontal Fill|F" "hfill-insert"
330 Item "Horizontal Line|L" "line-insert"
331 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
333 Item "Hyphenation Point|H" "hyphenation-point-insert"
334 Item "Ligature Break|k" "ligature-break-insert"
335 Item "Line Break|B" "break-line"
336 Item "Page Break|a" "pagebreak-insert"
340 Item "Inline Formula|I" "math-mode on"
341 Item "Display Formula|D" "math-display"
342 Item "Numbered Formula|N" "command-sequence math-display; math-number;"
343 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
344 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
345 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
346 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
347 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
348 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
350 Item "Array Environment|y" "math-matrix 2 2"
351 Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"
352 Item "Aligned Environment|l" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"
353 Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"
354 Item "Gathered Environment|h" "command-sequence math-mode on; math-insert \gathered"
355 Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"
357 Item "Math Panel|P" "dialog-show mathpanel"
362 # This has got to be better than "Wrap", anyway
363 Item "Text Wrap Float|W" "wrap-insert figure"
367 Item "Table of Contents|C" "toc-insert"
369 Item "Index List|I" "index-print"
370 Item "Glossary|G" "nomencl-print"
371 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
375 Item "LyX Document...|X" "file-insert"
376 Item "Plain Text as Lines...|L" "file-insert-ascii"
377 Item "Plain Text as Paragraphs...|P" "file-insert-ascii-para"
379 Item "External Material...|M" "dialog-show-new-inset external"
380 Item "Child Document...|d" "dialog-show-new-inset include"
384 Item "LyX Note|N" "note-insert Note"
385 Item "Comment|C" "note-insert Comment"
386 Item "Greyed Out|G" "note-insert Greyedout"
389 Menu "insert_branches"
398 Submenu "Change Tracking|C" "document_change"
399 OptItem "Build Program|B" "build-program"
400 Item "LaTeX Log|L" "dialog-show latexlog"
401 Item "Table of Contents|T" "toc-view"
402 Item "Start Appendix Here|A" "appendix"
404 Item "Compressed|o" "buffer-toggle-compression"
405 Item "Settings...|S" "dialog-show document"
408 Menu "document_change"
409 Item "Track Changes|T" "changes-track"
410 Item "Merge Changes...|M" "changes-merge"
411 Item "Accept Change|A" "change-accept"
412 Item "Reject Change|R" "change-reject"
413 Item "Accept All Changes|c" "all-changes-accept"
414 Item "Reject All Changes|e" "all-changes-reject"
415 Item "Show Changes in Output|S" "changes-output"
422 Submenu "Bookmarks|B" "navigate_bookmarks"
423 Item "Next Note|N" "note-next"
424 Item "Next Change|C" "change-next"
425 Item "Next Cross-Reference|R" "reference-next"
426 Item "Go to Label|L" "label-goto"
431 Menu "navigate_bookmarks"
432 Item "Save Bookmark|S" "bookmark-save 1"
433 Item "Clear Bookmarks|C" "bookmark-clear"
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"