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