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 # This seems a much more sensible place to me
39 Submenu "Open recent|t" "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" "pasterecent"
89 Submenu "Paste External Clipboard/Selection" "edit_paste"
91 Item "Find & Replace...|F" "dialog-show findreplace"
93 Item "Word in Small Capitals" "word-capitalize"
94 Item "Word in Uppercase" "word-upcase"
95 Item "Word in Lowercase" "word-lowcase"
97 Item "Move Paragraph Up|o" "paragraph-move-up"
98 Item "Move Paragraph Down|v" "paragraph-move-down"
100 Item "Text Style...|S" "dialog-show character"
101 Item "Paragraph Settings...|P" "layout-paragraph"
103 # Mathed b0rkage means these don't work properly
104 OptSubmenu "Table|T" "edit_tabular"
105 OptSubmenu "Math|M" "edit_math"
106 OptSubmenu "Rows & Columns|C" "tabular_features"
108 OptItem "Increase List Depth|I" "depth-increment"
109 OptItem "Decrease List Depth|D" "depth-decrement"
110 OptItem "Dissolve Inset|s" "inset-dissolve"
111 # This is where the context-specific stuff is supposed to go.
112 # The idea is that everything on here can disappear and should
113 # only appear when relevant (getStatus). Only stuff that needs
114 # a right-click to bring up the dialog should appear here (it is not
115 # obvious what the context is for the others)
116 OptItem "TeX Code Settings...|C" "inset-settings ert"
117 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
118 OptItem "Float Settings...|a" "inset-settings float"
119 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
120 OptItem "Note Settings...|N" "inset-settings note"
121 OptItem "Branch Settings...|B" "inset-settings branch"
122 OptItem "Box Settings...|x" "inset-settings box"
123 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
124 # This is in the Table submenu instead for now.
125 # OptItem "Table Settings...|a" "inset-settings tabular"
126 OptItem "Table Settings...|a" "layout-tabular"
130 Item "Clipboard as Lines|C" "clipboard-paste"
131 Item "Clipboard as Paragraphs|a" "clipboard-paste paragraph"
132 Item "Selection as Lines|L" "primary-selection-paste"
133 Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
140 # not much we can do to help here
142 Item "Multicolumn|M" "tabular-feature multicolumn"
144 Item "Top Line|T" "tabular-feature toggle-line-top"
145 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
146 Item "Left Line|L" "tabular-feature toggle-line-left"
147 Item "Right Line|R" "tabular-feature toggle-line-right"
151 Menu "tabular_features"
152 Item "Left|L" "tabular-feature align-left"
153 Item "Center|C" "tabular-feature align-center"
154 Item "Right|R" "tabular-feature align-right"
156 Item "Top|T" "tabular-feature valign-top"
157 Item "Middle|M" "tabular-feature valign-middle"
158 Item "Bottom|B" "tabular-feature valign-bottom"
160 Item "Add Row" "tabular-feature append-row"
161 Item "Delete Row" "tabular-feature delete-row"
162 Item "Copy Row" "tabular-feature copy-row"
163 Item "Swap Rows" "tabular-feature swap-row"
165 Item "Add Column" "tabular-feature append-column"
166 Item "Delete Column" "tabular-feature delete-column"
167 Item "Copy Column" "tabular-feature copy-column"
168 Item "Swap Columns" "tabular-feature swap-column"
172 Item "Toggle Numbering|N" "math-number"
173 Item "Toggle Numbering of Line|u" "math-nonumber"
174 Submenu "Change Limits Type|L" "edit_math_limits"
176 Submenu "Change Formula Type|F" "edit_math_mutate"
178 Submenu "Use Computer Algebra System|S" "edit_math_extern"
180 Item "Split Cell|C" "cell-split"
182 Item "Add Line Above" "tabular-feature add-hline-above"
183 Item "Add Line Below" "tabular-feature add-hline-below"
184 Item "Delete Line Above" "tabular-feature delete-hline-above"
185 Item "Delete Line Below" "tabular-feature delete-hline-below"
187 Item "Add Line to Left" "tabular-feature add-vline-left"
188 Item "Add Line to Right" "tabular-feature add-vline-right"
189 Item "Delete Line to Left" "tabular-feature delete-vline-left"
190 Item "Delete Line to Right" "tabular-feature delete-vline-right"
193 Menu "edit_math_limits"
194 Item "Default|t" "math-limits empty"
195 Item "Display|D" "math-limits limits"
196 Item "Inline|I" "math-limits nolimits"
199 Menu "edit_math_extern"
200 Item "Octave" "math-extern octave"
201 Item "Maxima" "math-extern maxima"
202 Item "Mathematica" "math-extern mathematica"
204 Item "Maple, simplify" "math-extern maple simplify"
205 Item "Maple, factor" "math-extern maple factor"
206 Item "Maple, evalm" "math-extern maple evalm"
207 Item "Maple, evalf" "math-extern maple evalf"
210 Menu "edit_math_mutate"
211 Item "Inline Formula|I" "math-mutate simple"
212 Item "Displayed Formula|D" "math-mutate equation"
213 Item "Eqnarray Environment|q" "math-mutate eqnarray"
214 Item "AMS align Environment|a" "math-mutate align"
215 Item "AMS alignat Environment|t" "math-mutate alignat"
216 Item "AMS flalign Environment|f" "math-mutate flalign"
217 Item "AMS gather Environment|g" "math-mutate gather"
218 Item "AMS multline Environment|m" "math-mutate multline"
226 Item "Open All Insets|O" "all-insets-toggle open"
227 Item "Close All Insets|C" "all-insets-toggle close"
229 Item "Display Tooltips|i" "tooltips-toggle"
231 Item "View source|s" "dialog-show view-source"
232 Submenu "Update|U" "document_update"
238 Menu "document_update"
246 # Try and group things a little better, and percolate the most
247 # commonly used to good positions (exception being mathed, but
248 # most people using mathed learn key shortcuts quite quickly anyway)
249 Submenu "Math|h" "insert_math"
250 Submenu "Special Character|S" "insert_special"
251 Submenu "Special Formatting|o" "insert_formatting"
252 Submenu "List / TOC|i" "insert_toc"
253 Submenu "Float|a" "insert_float"
255 Submenu "Note|N" "insert_note"
256 OptSubmenu "Branch|B" "branches"
257 OptSubmenu "Character Style|y" "charstyle"
258 Submenu "File|e" "insert_file"
259 Item "Box" "box-insert Frameless"
261 Item "Citation...|C" "dialog-show-new-inset citation"
262 Item "Cross-reference...|r" "dialog-show-new-inset ref"
263 Item "Label...|L" "label-insert"
264 Item "Index Entry|d" "index-insert"
265 Item "Date" "date-insert"
266 # I'm going to kill this dumb dialog, but for now ...
268 Item "Table...|T" "tabular-insert"
269 Item "Graphics...|G" "dialog-show-new-inset graphics"
270 Item "URL...|U" "url-insert"
271 Item "Footnote|F" "footnote-insert"
272 Item "Marginal Note|M" "marginalnote-insert"
273 Item "Short Title" "optional-insert"
274 Item "TeX Code|X" "ert-insert"
277 Menu "insert_special"
278 Item "Ellipsis|i" "dots-insert"
279 Item "End of Sentence|E" "end-of-sentence-period-insert"
280 Item "Ordinary Quote|Q" "self-insert \""
281 Item "Single Quote|S" "quote-insert single"
282 Item "Menu Separator|M" "menu-separator-insert"
283 Item "Phonetic Symbols|y" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
286 Menu "insert_formatting"
287 Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;"
288 Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;"
290 Item "Protected Space|r" "space-insert protected"
291 Item "Inter-word Space|w" "space-insert normal"
292 Item "Thin Space|T" "space-insert thin"
293 Item "Horizontal Fill|H" "hfill-insert"
294 Item "Horizontal Line" "line-insert"
295 Item "Vertical Space..." "dialog-show-new-inset vspace"
297 Item "Hyphenation Point|P" "hyphenation-point-insert"
298 Item "Ligature Break|k" "ligature-break-insert"
299 Item "Line Break|L" "break-line"
300 Item "Page Break" "pagebreak-insert"
304 Item "Inline Formula|I" "math-mode on"
305 Item "Display Formula|D" "math-display"
306 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
307 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
308 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
309 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
310 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
311 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
313 Item "Array Environment|y" "math-matrix 2 2"
314 Item "Cases Environment|C" "math-insert \cases"
315 Item "Aligned Environment" "command-sequence math-insert \aligned; tabular-feature append-column"
316 Item "AlignedAt Environment" "command-sequence math-insert \alignedat; tabular-feature append-column"
317 Item "Gathered Environment" "math-insert \gathered"
318 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
320 Submenu "Font Change|o" "insert_math_font"
321 Item "Math Panel|P" "dialog-show mathpanel"
324 Menu "insert_math_font"
325 Item "Math Normal Font" "math-insert \mathnormal"
327 Item "Math Calligraphic Family" "math-insert \mathcal"
328 Item "Math Fraktur Family" "math-insert \mathfrak"
329 Item "Math Roman Family" "math-insert \mathrm"
330 Item "Math Sans Serif Family" "math-insert \mathsf"
332 Item "Math Bold Series" "math-insert \mathbf"
334 Item "Text Normal Font" "math-insert \textnormal"
336 Item "Text Roman Family" "math-insert \textrm"
337 Item "Text Sans Serif Family" "math-insert \textsf"
338 Item "Text Typewriter Family" "math-insert \texttt"
340 Item "Text Bold Series" "math-insert \textbf"
341 Item "Text Medium Series" "math-insert \textmd"
343 Item "Text Italic Shape" "math-insert \textit"
344 Item "Text Small Caps Shape" "math-insert \textsc"
345 Item "Text Slanted Shape" "math-insert \textsl"
346 Item "Text Upright Shape" "math-insert \textup"
351 # This has got to be better than "Wrap", anyway
352 Item "Text Wrap Float|W" "wrap-insert figure"
356 Item "Table of Contents|C" "toc-insert"
358 Item "Index List|I" "index-print"
359 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
363 Item "LyX Document...|X" "file-insert"
364 Item "Plain Text as Lines...|L" "file-insert-ascii"
365 Item "Plain Text as Paragraphs...|P" "file-insert-ascii-para"
367 Item "External Material...|M" "dialog-show-new-inset external"
368 Item "Child Document...|d" "dialog-show-new-inset include"
372 Item "LyX Note|N" "note-insert Note"
373 Item "Comment|C" "note-insert Comment"
374 Item "Greyed Out|G" "note-insert Greyedout"
390 Submenu "Change Tracking|C" "edit_change"
391 OptItem "Build Program|B" "build-program"
392 Item "LaTeX Log|L" "dialog-show latexlog"
393 Item "Table of Contents|T" "toc-view"
394 Item "Start Appendix Here|A" "appendix"
396 Item "Compressed|o" "buffer-toggle-compression"
397 Item "Read-Only|R" "buffer-toggle-read-only"
398 Item "Settings...|S" "dialog-show document"
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 Reference|R" "reference-next"
418 Item "Go to Label|L" "label-goto"
423 Menu "navigate_bookmarks"
424 Item "Go to Bookmark 1|1" "bookmark-goto 1"
425 Item "Go to Bookmark 2|2" "bookmark-goto 2"
426 Item "Go to Bookmark 3|3" "bookmark-goto 3"
427 Item "Go to Bookmark 4|4" "bookmark-goto 4"
428 Item "Go to Bookmark 5|5" "bookmark-goto 5"
430 Item "Save Bookmark 1|S" "bookmark-save 1"
431 Item "Save Bookmark 2" "bookmark-save 2"
432 Item "Save Bookmark 3" "bookmark-save 3"
433 Item "Save Bookmark 4" "bookmark-save 4"
434 Item "Save Bookmark 5" "bookmark-save 5"
442 Item "Spellchecker...|S" "dialog-show spellchecker"
443 OptItem "Thesaurus...|T" "thesaurus-entry"
444 Item "Count Words|W" "words-count"
445 OptItem "Check TeX|h" "buffer-chktex"
446 Item "TeX Information|I" "dialog-show texinfo"
448 # A LOT of applications have Tools->Prefs. Remember this
449 # should be rarely used - Edit menu is not a good place to
451 Item "Reconfigure|R" "reconfigure"
452 Item "Preferences...|P" "dialog-show prefs"
459 Item "Introduction|I" "help-open Intro"
460 Item "Tutorial|T" "help-open Tutorial"
461 Item "User's Guide|U" "help-open UserGuide"
462 Item "Extended Features|E" "help-open Extended"
463 Item "Customization|C" "help-open Customization"
464 Item "FAQ|F" "help-open FAQ"
465 Item "Table of Contents|a" "help-open TOC"
466 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
468 Item "About LyX|X" "dialog-show aboutlyx"
472 # LYX MENU - this menu is only used by LyX/Mac
476 Item "About LyX" "dialog-show aboutlyx"
477 Item "Preferences..." "dialog-show prefs"
478 Item "Quit LyX" "lyx-quit"