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 "Text Style...|S" "dialog-show character"
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" "tabular_features"
105 OptItem "Increase List Depth|I" "depth-increment"
106 OptItem "Decrease List Depth|D" "depth-decrement"
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"
136 # not much we can do to help here
138 Item "Multicolumn|M" "tabular-feature multicolumn"
140 Item "Top Line|T" "tabular-feature toggle-line-top"
141 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
142 Item "Left Line|L" "tabular-feature toggle-line-left"
143 Item "Right Line|R" "tabular-feature toggle-line-right"
147 Menu "tabular_features"
148 Item "Left|L" "tabular-feature align-left"
149 Item "Center|C" "tabular-feature align-center"
150 Item "Right|R" "tabular-feature align-right"
152 Item "Top|T" "tabular-feature valign-top"
153 Item "Middle|M" "tabular-feature valign-middle"
154 Item "Bottom|B" "tabular-feature valign-bottom"
156 Item "Add Row" "tabular-feature append-row"
157 Item "Delete Row" "tabular-feature delete-row"
158 Item "Copy Row" "tabular-feature copy-row"
159 Item "Swap Rows" "tabular-feature swap-row"
161 Item "Add Column" "tabular-feature append-column"
162 Item "Delete Column" "tabular-feature delete-column"
163 Item "Copy Column" "tabular-feature copy-column"
164 Item "Swap Columns" "tabular-feature swap-column"
168 Item "Toggle Numbering|N" "math-number"
169 Item "Toggle Numbering of Line|u" "math-nonumber"
170 Submenu "Change Limits Type|L" "edit_math_limits"
172 Submenu "Change Formula Type|F" "edit_math_mutate"
174 Submenu "Use Computer Algebra System|S" "edit_math_extern"
176 Item "Add Line Above" "tabular-feature add-hline-above"
177 Item "Add Line Below" "tabular-feature add-hline-below"
178 Item "Delete Line Above" "tabular-feature delete-hline-above"
179 Item "Delete Line Below" "tabular-feature delete-hline-below"
181 Item "Add Line to Left" "tabular-feature add-vline-left"
182 Item "Add Line to Right" "tabular-feature add-vline-right"
183 Item "Delete Line to Left" "tabular-feature delete-vline-left"
184 Item "Delete Line to Right" "tabular-feature delete-vline-right"
187 Menu "edit_math_limits"
188 Item "Default|t" "math-limits empty"
189 Item "Display|D" "math-limits limits"
190 Item "Inline|I" "math-limits nolimits"
193 Menu "edit_math_extern"
194 Item "Octave" "math-extern octave"
195 Item "Maxima" "math-extern maxima"
196 Item "Mathematica" "math-extern mathematica"
198 Item "Maple, simplify" "math-extern maple simplify"
199 Item "Maple, factor" "math-extern maple factor"
200 Item "Maple, evalm" "math-extern maple evalm"
201 Item "Maple, evalf" "math-extern maple evalf"
204 Menu "edit_math_mutate"
205 Item "Inline Formula|I" "math-mutate simple"
206 Item "Displayed Formula|D" "math-mutate equation"
207 Item "Eqnarray Environment|q" "math-mutate eqnarray"
208 Item "AMS align Environment|a" "math-mutate align"
209 Item "AMS alignat Environment|t" "math-mutate alignat"
210 Item "AMS flalign Environment|f" "math-mutate flalign"
211 Item "AMS gather Environment|g" "math-mutate gather"
212 Item "AMS multline Environment|m" "math-mutate multline"
220 # FIXME: this must become Open Footnote, Close Margin Note etc. as appropriate
221 # Item "Open Float|O" "inset-toggle"
222 # A common feature request JMarc wants to see
223 # Item "Open All Footnotes|F" "open-footnotes"
224 # Item "Close All Footnotes|C" "close-footnotes"
225 Item "Display Tooltips|i" "tooltips-toggle"
227 Item "View source|s" "dialog-show view-source"
228 Submenu "Update|U" "document_update"
234 Menu "document_update"
242 # Try and group things a little better, and percolate the most
243 # commonly used to good positions (exception being mathed, but
244 # most people using mathed learn key shortcuts quite quickly anyway)
245 Submenu "Math|h" "insert_math"
246 Submenu "Special Character|S" "insert_special"
247 Submenu "Special Formatting|o" "insert_formatting"
248 Submenu "List / TOC|i" "insert_toc"
249 Submenu "Float|a" "insert_float"
251 Submenu "Note|N" "insert_note"
252 OptSubmenu "Branch|B" "branches"
253 OptSubmenu "Character Style|y" "charstyle"
254 Submenu "File|e" "insert_file"
255 Item "Box" "box-insert Frameless"
257 Item "Citation...|C" "dialog-show-new-inset citation"
258 Item "Cross-reference...|r" "dialog-show-new-inset ref"
259 Item "Label...|L" "label-insert"
260 Item "Index Entry|d" "index-insert"
261 Item "Date" "date-insert"
262 # I'm going to kill this dumb dialog, but for now ...
264 Item "Table...|T" "tabular-insert"
265 Item "Graphics...|G" "dialog-show-new-inset graphics"
266 Item "URL...|U" "url-insert"
267 Item "Footnote|F" "footnote-insert"
268 Item "Marginal Note|M" "marginalnote-insert"
269 Item "Short Title" "optional-insert"
270 Item "TeX Code|X" "ert-insert"
273 Menu "insert_special"
274 Item "Ellipsis|i" "dots-insert"
275 Item "End of Sentence|E" "end-of-sentence-period-insert"
276 Item "Ordinary Quote|Q" "self-insert \""
277 Item "Single Quote|S" "quote-insert single"
278 Item "Menu Separator|M" "menu-separator-insert"
279 Item "Phonetic Symbols|y" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
282 Menu "insert_formatting"
283 Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;"
284 Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;"
286 Item "Protected Space|r" "space-insert protected"
287 Item "Inter-word Space|w" "space-insert normal"
288 Item "Thin Space|T" "space-insert thin"
289 Item "Horizontal Fill|H" "hfill-insert"
290 Item "Horizontal Line" "line-insert"
291 Item "Vertical Space..." "dialog-show-new-inset vspace"
293 Item "Hyphenation Point|P" "hyphenation-point-insert"
294 Item "Ligature Break|k" "ligature-break-insert"
295 Item "Line Break|L" "break-line"
296 Item "Page Break" "pagebreak-insert"
300 Item "Inline Formula|I" "math-mode on"
301 Item "Display Formula|D" "math-display"
302 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
303 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
304 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
305 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
306 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
307 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
309 Item "Array Environment|y" "math-matrix 2 2"
310 Item "Cases Environment|C" "math-insert \cases"
311 Item "Aligned Environment" "command-sequence math-insert \aligned; tabular-feature append-column"
312 Item "AlignedAt Environment" "command-sequence math-insert \alignedat; tabular-feature append-column"
313 Item "Gathered Environment" "math-insert \gathered"
314 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
316 Submenu "Font Change|o" "insert_math_font"
317 Item "Math Panel|P" "dialog-show mathpanel"
320 Menu "insert_math_font"
321 Item "Math Normal Font" "math-insert \mathnormal"
323 Item "Math Calligraphic Family" "math-insert \mathcal"
324 Item "Math Fraktur Family" "math-insert \mathfrak"
325 Item "Math Roman Family" "math-insert \mathrm"
326 Item "Math Sans Serif Family" "math-insert \mathsf"
328 Item "Math Bold Series" "math-insert \mathbf"
330 Item "Text Normal Font" "math-insert \textnormal"
332 Item "Text Roman Family" "math-insert \textrm"
333 Item "Text Sans Serif Family" "math-insert \textsf"
334 Item "Text Typewriter Family" "math-insert \texttt"
336 Item "Text Bold Series" "math-insert \textbf"
337 Item "Text Medium Series" "math-insert \textmd"
339 Item "Text Italic Shape" "math-insert \textit"
340 Item "Text Small Caps Shape" "math-insert \textsc"
341 Item "Text Slanted Shape" "math-insert \textsl"
342 Item "Text Upright Shape" "math-insert \textup"
347 # This has got to be better than "Wrap", anyway
348 Item "Text Wrap Float|W" "wrap-insert figure"
352 Item "Table of Contents|C" "toc-insert"
354 Item "Index List|I" "index-print"
355 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
359 Item "LyX Document...|X" "file-insert"
360 Item "Plain Text as Lines...|L" "file-insert-ascii"
361 Item "Plain Text as Paragraphs...|P" "file-insert-ascii-para"
363 Item "External Material...|M" "dialog-show-new-inset external"
364 Item "Child Document...|d" "dialog-show-new-inset include"
368 Item "LyX Note|N" "note-insert Note"
369 Item "Comment|C" "note-insert Comment"
370 Item "Greyed Out|G" "note-insert Greyedout"
386 Submenu "Change Tracking|C" "edit_change"
387 OptItem "Build Program|B" "build-program"
388 Item "LaTeX Log|L" "dialog-show latexlog"
389 Item "Table of Contents|T" "toc-view"
390 Item "Start Appendix Here|A" "appendix"
392 Item "Compressed|o" "buffer-toggle-compression"
393 Item "Read-Only|R" "buffer-toggle-read-only"
394 Item "Settings...|S" "dialog-show document"
398 Item "Track Changes|T" "changes-track"
399 Item "Merge Changes...|M" "changes-merge"
400 Item "Accept Change|A" "change-accept"
401 Item "Reject Change|R" "change-reject"
402 Item "Accept All Changes|c" "all-changes-accept"
403 Item "Reject All Changes|e" "all-changes-reject"
404 Item "Show Changes in Output|S" "changes-output"
411 Submenu "Bookmarks|B" "navigate_bookmarks"
412 Item "Next Note|N" "note-next"
413 Item "Go to Label|L" "label-goto"
418 Menu "navigate_bookmarks"
419 Item "Go to Bookmark 1|1" "bookmark-goto 1"
420 Item "Go to Bookmark 2|2" "bookmark-goto 2"
421 Item "Go to Bookmark 3|3" "bookmark-goto 3"
422 Item "Go to Bookmark 4|4" "bookmark-goto 4"
423 Item "Go to Bookmark 5|5" "bookmark-goto 5"
425 Item "Save Bookmark 1|S" "bookmark-save 1"
426 Item "Save Bookmark 2" "bookmark-save 2"
427 Item "Save Bookmark 3" "bookmark-save 3"
428 Item "Save Bookmark 4" "bookmark-save 4"
429 Item "Save Bookmark 5" "bookmark-save 5"
437 Item "Spellchecker...|S" "dialog-show spellchecker"
438 OptItem "Thesaurus...|T" "thesaurus-entry"
439 Item "Count Words|W" "words-count"
440 OptItem "Check TeX|h" "buffer-chktex"
441 Item "TeX Information|I" "dialog-show texinfo"
443 # A LOT of applications have Tools->Prefs. Remember this
444 # should be rarely used - Edit menu is not a good place to
446 Item "Reconfigure|R" "reconfigure"
447 Item "Preferences...|P" "dialog-show prefs"
454 Item "Introduction|I" "help-open Intro"
455 Item "Tutorial|T" "help-open Tutorial"
456 Item "User's Guide|U" "help-open UserGuide"
457 Item "Extended Features|E" "help-open Extended"
458 Item "Customization|C" "help-open Customization"
459 Item "FAQ|F" "help-open FAQ"
460 Item "Table of Contents|a" "help-open TOC"
461 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
463 Item "About LyX|X" "dialog-show aboutlyx"
467 # LYX MENU - this menu is only used by LyX/Mac
471 Item "About LyX" "dialog-show aboutlyx"
472 Item "Preferences..." "dialog-show prefs"
473 Item "Quit LyX" "lyx-quit"