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
10 # Full author contact details are available in file CREDITS.
12 # The interface is designed (partially) following the KDE Human Interface
13 # Guidelines (http://usability.kde.org/hig/)
18 # Make the first 4 menus be as much as expected as possible
19 Submenu "File|F" "file"
20 Submenu "Edit|E" "edit"
21 Submenu "View|V" "view"
22 Submenu "Insert|I" "insert"
23 Submenu "Navigate|N" "navigate"
24 Submenu "Document|D" "document"
25 Submenu "Tools|T" "tools"
26 Submenu "Help|H" "help"
34 Item "New|N" "buffer-new"
35 Item "New from Template...|m" "buffer-new-template"
36 Item "Open...|O" "file-open"
37 # This seems a much more sensible place to me
38 Submenu "Open recent|t" "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 "Exit|x" "lyx-quit"
59 OptItem "Register...|R" "vc-register"
60 OptItem "Check In Changes...|I" "vc-check-in"
61 OptItem "Check Out for Edit|O" "vc-check-out"
62 OptItem "Revert to Last Version|L" "vc-revert"
63 OptItem "Undo Last Check In|U" "vc-undo-last"
64 OptItem "Show History|H" "dialog-show vclog"
73 Item "Custom...|C" "buffer-export custom"
87 Submenu "Paste Recent" "pasterecent"
88 Submenu "Paste External Selection" "edit_paste"
90 Item "Find & Replace...|F" "dialog-show findreplace"
92 Item "Text Style...|S" "dialog-show character"
93 Item "Paragraph Settings...|P" "layout-paragraph"
95 # Mathed b0rkage means these don't work properly
96 OptSubmenu "Table|T" "edit_tabular"
97 OptSubmenu "Math|M" "edit_math"
98 OptSubmenu "Rows & Columns|C" "tabular_features"
100 OptItem "Increase List Depth|I" "depth-increment"
101 OptItem "Decrease List Depth|D" "depth-decrement"
102 # This is where the context-specific stuff is supposed to go.
103 # The idea is that everything on here can disappear and should
104 # only appear when relevant (getStatus). Only stuff that needs
105 # a right-click to bring up the dialog should appear here (it is not
106 # obvious what the context is for the others)
107 OptItem "TeX Code Settings...|C" "inset-settings ert"
108 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
109 OptItem "Float Settings...|a" "inset-settings float"
110 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
111 OptItem "Note Settings...|N" "inset-settings note"
112 OptItem "Branch Settings...|B" "inset-settings branch"
113 OptItem "Box Settings...|x" "inset-settings box"
114 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
115 # This is in the Table submenu instead for now.
116 # OptItem "Table Settings...|a" "inset-settings tabular"
117 OptItem "Table Settings...|a" "layout-tabular"
121 Item "Selection as Lines|L" "primary-selection-paste"
122 Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
129 # not much we can do to help here
131 Item "Multicolumn|M" "tabular-feature multicolumn"
133 Item "Top Line|T" "tabular-feature toggle-line-top"
134 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
135 Item "Left Line|L" "tabular-feature toggle-line-left"
136 Item "Right Line|R" "tabular-feature toggle-line-right"
140 Menu "tabular_features"
141 Item "Left|L" "tabular-feature align-left"
142 Item "Center|C" "tabular-feature align-center"
143 Item "Right|R" "tabular-feature align-right"
145 Item "Top|T" "tabular-feature valign-top"
146 Item "Middle|M" "tabular-feature valign-middle"
147 Item "Bottom|B" "tabular-feature valign-bottom"
149 Item "Add Row" "tabular-feature append-row"
150 Item "Delete Row" "tabular-feature delete-row"
151 Item "Copy Row" "tabular-feature copy-row"
152 Item "Swap Rows" "tabular-feature swap-row"
154 Item "Add Column" "tabular-feature append-column"
155 Item "Delete Column" "tabular-feature delete-column"
156 Item "Copy Column" "tabular-feature copy-column"
157 Item "Swap Columns" "tabular-feature swap-column"
161 Item "Toggle Numbering|N" "math-number"
162 Item "Toggle Numbering of Line|u" "math-nonumber"
163 Submenu "Change Limits Type|L" "edit_math_limits"
165 Submenu "Change Formula Type|F" "edit_math_mutate"
167 Submenu "Use Computer Algebra System|S" "edit_math_extern"
169 Item "Add Line Above" "tabular-feature add-hline-above"
170 Item "Add Line Below" "tabular-feature add-hline-below"
171 Item "Delete Line Above" "tabular-feature delete-hline-above"
172 Item "Delete Line Below" "tabular-feature delete-hline-below"
174 Item "Add Line to Left" "tabular-feature add-vline-left"
175 Item "Add Line to Right" "tabular-feature add-vline-right"
176 Item "Delete Line to Left" "tabular-feature delete-vline-left"
177 Item "Delete Line to Right" "tabular-feature delete-vline-right"
180 Menu "edit_math_limits"
181 Item "Default|t" "math-limits empty"
182 Item "Display|D" "math-limits limits"
183 Item "Inline|I" "math-limits nolimits"
186 Menu "edit_math_extern"
187 Item "Octave" "math-extern octave"
188 Item "Maxima" "math-extern maxima"
189 Item "Mathematica" "math-extern mathematica"
191 Item "Maple, simplify" "math-extern maple simplify"
192 Item "Maple, factor" "math-extern maple factor"
193 Item "Maple, evalm" "math-extern maple evalm"
194 Item "Maple, evalf" "math-extern maple evalf"
197 Menu "edit_math_mutate"
198 Item "Inline Formula|I" "math-mutate simple"
199 Item "Displayed Formula|D" "math-mutate equation"
200 Item "Eqnarray Environment|q" "math-mutate eqnarray"
201 Item "AMS align Environment|a" "math-mutate align"
202 Item "AMS alignat Environment|t" "math-mutate alignat"
203 Item "AMS flalign Environment|f" "math-mutate flalign"
204 Item "AMS gather Environment|g" "math-mutate gather"
205 Item "AMS multline Environment|m" "math-mutate multline"
213 # FIXME: this must become Open Footnote, Close Margin Note etc. as appropriate
214 # Item "Open Float|O" "inset-toggle"
215 # A common feature request JMarc wants to see
216 # Item "Open All Footnotes|F" "open-footnotes"
217 # Item "Close All Footnotes|C" "close-footnotes"
218 Item "Display Tooltips|i" "tooltips-toggle"
220 Item "View source|s" "dialog-show view-source"
221 Submenu "Update|U" "document_update"
227 Menu "document_update"
235 # Try and group things a little better, and percolate the most
236 # commonly used to good positions (exception being mathed, but
237 # most people using mathed learn key shortcuts quite quickly anyway)
238 Submenu "Math|h" "insert_math"
239 Submenu "Special Character|S" "insert_special"
240 Submenu "Special Formatting|o" "insert_formatting"
241 Submenu "List / TOC|i" "insert_toc"
242 Submenu "Float|a" "insert_float"
244 Submenu "Note|N" "insert_note"
245 OptSubmenu "Branch|B" "branches"
246 OptSubmenu "Character Style|y" "charstyle"
247 Submenu "File|e" "insert_file"
248 Item "Box" "box-insert Frameless"
250 Item "Citation...|C" "dialog-show-new-inset citation"
251 Item "Cross-reference...|r" "dialog-show-new-inset ref"
252 Item "Label...|L" "label-insert"
253 Item "Index Entry|d" "index-insert"
254 # I'm going to kill this dumb dialog, but for now ...
256 Item "Table...|T" "tabular-insert"
257 Item "Graphics...|G" "dialog-show-new-inset graphics"
258 Item "URL...|U" "url-insert"
259 Item "Footnote|F" "footnote-insert"
260 Item "Marginal Note|M" "marginalnote-insert"
261 Item "Short Title" "optional-insert"
262 Item "TeX Code|X" "ert-insert"
265 Menu "insert_special"
266 Item "Ellipsis|i" "dots-insert"
267 Item "End of Sentence|E" "end-of-sentence-period-insert"
268 Item "Ordinary Quote|Q" "self-insert \""
269 Item "Single Quote|S" "quote-insert single"
270 Item "Menu Separator|M" "menu-separator-insert"
273 Menu "insert_formatting"
274 Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;"
275 Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;"
277 Item "Protected Space|r" "space-insert protected"
278 Item "Inter-word Space|w" "space-insert normal"
279 Item "Thin Space|T" "space-insert thin"
280 Item "Horizontal Fill|H" "hfill-insert"
281 Item "Horizontal Line" "line-insert"
282 Item "Vertical Space..." "dialog-show-new-inset vspace"
284 Item "Hyphenation Point|P" "hyphenation-point-insert"
285 Item "Ligature Break|k" "ligature-break-insert"
286 Item "Line Break|L" "break-line"
287 Item "Page Break" "pagebreak-insert"
291 Item "Inline Formula|I" "math-mode on"
292 Item "Display Formula|D" "math-display"
293 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
294 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
295 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
296 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
297 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
298 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
300 Item "Array Environment|y" "math-matrix 2 2"
301 Item "Cases Environment|C" "math-insert \cases"
302 Item "Aligned Environment" "command-sequence math-insert \aligned; tabular-feature append-column"
303 Item "AlignedAt Environment" "command-sequence math-insert \alignedat; tabular-feature append-column"
304 Item "Gathered Environment" "math-insert \gathered"
305 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
307 Submenu "Font Change|o" "insert_math_font"
308 Item "Math Panel|P" "dialog-show mathpanel"
311 Menu "insert_math_font"
312 Item "Math Normal Font" "math-insert \mathnormal"
314 Item "Math Calligraphic Family" "math-insert \mathcal"
315 Item "Math Fraktur Family" "math-insert \mathfrak"
316 Item "Math Roman Family" "math-insert \mathrm"
317 Item "Math Sans Serif Family" "math-insert \mathsf"
319 Item "Math Bold Series" "math-insert \mathbf"
321 Item "Text Normal Font" "math-insert \textnormal"
323 Item "Text Roman Family" "math-insert \textrm"
324 Item "Text Sans Serif Family" "math-insert \textsf"
325 Item "Text Typewriter Family" "math-insert \texttt"
327 Item "Text Bold Series" "math-insert \textbf"
328 Item "Text Medium Series" "math-insert \textmd"
330 Item "Text Italic Shape" "math-insert \textit"
331 Item "Text Small Caps Shape" "math-insert \textsc"
332 Item "Text Slanted Shape" "math-insert \textsl"
333 Item "Text Upright Shape" "math-insert \textup"
338 # This has got to be better than "Wrap", anyway
339 Item "Text Wrap Float|W" "wrap-insert figure"
343 Item "Table of Contents|C" "toc-insert"
345 Item "Index List|I" "index-print"
346 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
350 Item "LyX Document...|X" "file-insert"
351 Item "Plain Text as Lines...|L" "file-insert-ascii"
352 Item "Plain Text as Paragraphs...|P" "file-insert-ascii-para"
354 Item "External Material...|M" "dialog-show-new-inset external"
355 Item "Child Document...|d" "dialog-show-new-inset include"
359 Item "LyX Note|N" "note-insert Note"
360 Item "Comment|C" "note-insert Comment"
361 Item "Greyed Out|G" "note-insert Greyedout"
377 Submenu "Change Tracking|C" "edit_change"
378 OptItem "Build Program|B" "build-program"
379 Item "LaTeX Log|L" "dialog-show latexlog"
380 Item "Table of Contents|T" "toc-view"
381 Item "LaTeX Preamble...|P" "dialog-show preamble"
382 Item "Start Appendix Here|A" "appendix"
384 Item "Compressed|o" "buffer-toggle-compression"
385 Item "Settings...|S" "dialog-show document"
389 Item "Track Changes|T" "changes-track"
390 Item "Merge Changes...|M" "changes-merge"
391 Item "Accept All Changes|A" "all-changes-accept"
392 Item "Reject All Changes|R" "all-changes-reject"
393 Item "Show Changes in Output|S" "changes-output"
400 Submenu "Bookmarks|B" "navigate_bookmarks"
401 Item "Next Note|N" "note-next"
402 Item "Go to Label|L" "label-goto"
407 Menu "navigate_bookmarks"
408 Item "Go to Bookmark 1|1" "bookmark-goto 1"
409 Item "Go to Bookmark 2|2" "bookmark-goto 2"
410 Item "Go to Bookmark 3|3" "bookmark-goto 3"
411 Item "Go to Bookmark 4|4" "bookmark-goto 4"
412 Item "Go to Bookmark 5|5" "bookmark-goto 5"
414 Item "Save Bookmark 1|S" "bookmark-save 1"
415 Item "Save Bookmark 2" "bookmark-save 2"
416 Item "Save Bookmark 3" "bookmark-save 3"
417 Item "Save Bookmark 4" "bookmark-save 4"
418 Item "Save Bookmark 5" "bookmark-save 5"
426 Item "Spellchecker...|S" "dialog-show spellchecker"
427 OptItem "Thesaurus...|T" "thesaurus-entry"
428 Item "Count Words|W" "words-count"
429 OptItem "Check TeX|h" "buffer-chktex"
430 Item "TeX Information|I" "dialog-show texinfo"
432 # A LOT of applications have Tools->Prefs. Remember this
433 # should be rarely used - Edit menu is not a good place to
435 Item "Reconfigure|R" "reconfigure"
436 Item "Preferences...|P" "dialog-show prefs"
443 Item "Introduction|I" "help-open Intro"
444 Item "Tutorial|T" "help-open Tutorial"
445 Item "User's Guide|U" "help-open UserGuide"
446 Item "Extended Features|E" "help-open Extended"
447 Item "Customization|C" "help-open Customization"
448 Item "FAQ|F" "help-open FAQ"
449 Item "Table of Contents|a" "help-open TOC"
450 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
452 Item "About LyX|X" "dialog-show aboutlyx"
456 # LYX MENU - this menu is only used by LyX/Mac
460 Item "About LyX" "dialog-show aboutlyx"
461 Item "Preferences..." "dialog-show prefs"
462 Item "Quit LyX" "lyx-quit"