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.
15 # Make the first 4 menus be as much as expected as possible
16 Submenu "File|F" "file"
17 Submenu "Edit|E" "edit"
18 Submenu "View|V" "view"
19 Submenu "Insert|I" "insert"
20 Submenu "Navigate|N" "navigate"
21 Submenu "Document|D" "document"
22 Submenu "Tools|T" "tools"
23 Submenu "Help|H" "help"
31 Item "New|N" "buffer-new"
32 Item "New from Template...|m" "buffer-new-template"
33 Item "Open...|O" "file-open"
34 # This seems a much more sensible place to me
35 Submenu "Open recent|t" "lastfiles"
37 Item "Close|C" "buffer-close"
38 Item "Save|S" "buffer-write"
39 Item "Save As...|A" "buffer-write-as"
40 Item "Revert|R" "buffer-reload"
41 Submenu "Version Control|V" "file_vc"
43 Submenu "Import|I" "file_import"
44 Submenu "Export|E" "file_export"
45 Item "Print...|P" "dialog-show print"
46 OptItem "Fax...|F" "buffer-export fax"
48 Item "Exit|x" "lyx-quit"
56 OptItem "Register...|R" "vc-register"
57 OptItem "Check In Changes...|I" "vc-check-in"
58 OptItem "Check Out for Edit|O" "vc-check-out"
59 OptItem "Revert to Last Version|L" "vc-revert"
60 OptItem "Undo Last Check In|U" "vc-undo-last"
61 OptItem "Show History|H" "dialog-show vclog"
70 Item "Custom...|C" "buffer-export custom"
84 Submenu "Paste Recent" "pasterecent"
85 Item "Find & Replace...|F" "dialog-show findreplace"
87 Item "Text Style...|S" "dialog-show character"
88 Item "Paragraph Settings...|P" "layout-paragraph"
90 # Mathed b0rkage means these don't work properly
91 OptSubmenu "Table|T" "edit_tabular"
92 OptSubmenu "Math|M" "edit_math"
94 OptItem "Increase List Depth|I" "depth-increment"
95 OptItem "Decrease List Depth|D" "depth-decrement"
96 # This is where the context-specific stuff is supposed to go.
97 # The idea is that everything on here can disappear and should
98 # only appear when relevant (getStatus). Only stuff that needs
99 # a right-click to bring up the dialog should appear here (it is not
100 # obvious what the context is for the others)
101 OptItem "TeX Code Settings...|C" "inset-settings ert"
102 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
103 OptItem "Float Settings...|a" "inset-settings float"
104 OptItem "Minipage Settings...|M" "inset-settings minipage"
105 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
106 OptItem "Note Settings...|N" "inset-settings note"
107 OptItem "Branch Settings...|B" "inset-settings branch"
108 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
109 # This is in the Table submenu instead for now.
110 # OptItem "Table Settings...|a" "inset-settings tabular"
111 OptItem "Table Settings...|a" "layout-tabular"
118 # not much we can do to help here
120 Item "Add Row|A" "tabular-feature append-row"
121 Item "Delete Row|w" "tabular-feature delete-row"
123 Item "Add Column|u" "tabular-feature append-column"
124 Item "Delete Column|D" "tabular-feature delete-column"
126 Item "Multicolumn|M" "tabular-feature multicolumn"
128 Item "Top Line|T" "tabular-feature toggle-line-top"
129 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
130 Item "Left Line|L" "tabular-feature toggle-line-left"
131 Item "Right Line|R" "tabular-feature toggle-line-right"
133 Submenu "Alignment|i" "edit_align"
137 Item "Left|L" "tabular-feature align-left"
138 Item "Center|C" "tabular-feature align-center"
139 Item "Right|R" "tabular-feature align-right"
141 Item "Top|T" "tabular-feature valign-top"
142 Item "Middle|M" "tabular-feature valign-middle"
143 Item "Bottom|B" "tabular-feature valign-bottom"
147 Item "Toggle Numbering|N" "math-number"
148 Item "Toggle Numbering of Line|u" "math-nonumber"
149 Submenu "Change Limits Type|L" "edit_math_limits"
151 Submenu "Change Formula Type|F" "edit_math_mutate"
153 Submenu "Use Computer Algebra System|S" "edit_math_extern"
155 Submenu "Alignment|A" "edit_align"
157 Item "Add Row|R" "tabular-feature append-row"
158 Item "Delete Row|D" "tabular-feature delete-row"
159 Item "Copy Row" "tabular-feature copy-row"
160 Item "Swap Rows" "tabular-feature swap-row"
162 Item "Add Column|C" "tabular-feature append-column"
163 Item "Delete Column|e" "tabular-feature delete-column"
164 Item "Copy Column" "tabular-feature copy-column"
165 Item "Swap Columns" "tabular-feature swap-column"
168 Menu "edit_math_limits"
169 Item "Default|t" "math-limits empty"
170 Item "Display|D" "math-limits limits"
171 Item "Inline|I" "math-limits nolimits"
174 Menu "edit_math_extern"
175 Item "Octave" "math-extern octave"
176 Item "Maxima" "math-extern maxima"
177 Item "Mathematica" "math-extern mathematica"
179 Item "Maple, simplify" "math-extern maple simplify"
180 Item "Maple, factor" "math-extern maple factor"
181 Item "Maple, evalm" "math-extern maple evalm"
182 Item "Maple, evalf" "math-extern maple evalf"
185 Menu "edit_math_mutate"
186 Item "Inline Formula|I" "math-mutate simple"
187 Item "Displayed Formula|D" "math-mutate equation"
188 Item "Eqnarray Environment|q" "math-mutate eqnarray"
189 Item "AMS align Environment|A" "math-mutate align"
190 Item "AMS alignat Environment|t" "math-mutate alignat"
191 Item "AMS flalign Environment|f" "math-mutate flalign"
192 Item "AMS gather Environment|g" "math-mutate gather"
193 Item "AMS multline Environment|m" "math-mutate multline"
201 # FIXME: this must become Open Footnote, Close Margin Note etc. as appropriate
202 # Item "Open Float|O" "inset-toggle"
203 # A common feature request JMarc wants to see
204 # Item "Open All Footnotes|F" "open-footnotes"
205 # Item "Close All Footnotes|C" "close-footnotes"
206 Item "Display Tooltips|i" "toggle-tooltips"
208 Submenu "Update|U" "document_update"
214 Menu "document_update"
222 # Try and group things a little better, and percolate the most
223 # commonly used to good positions (exception being mathed, but
224 # most people using mathed learn key shortcuts quite quickly anyway)
225 Submenu "Math|h" "insert_math"
226 Submenu "Special Character|S" "insert_special"
227 Submenu "Special Formatting|o" "insert_formatting"
228 Submenu "List / TOC|i" "insert_toc"
229 Submenu "Float|a" "insert_float"
231 Submenu "Note|N" "insert_note"
232 Submenu "Branch|B" "branches"
233 Submenu "File|e" "insert_file"
235 Item "Citation Reference...|C" "dialog-show-new-inset citation"
236 Item "Cross Reference...|R" "dialog-show-new-inset ref"
237 Item "Label...|L" "label-insert"
238 Item "Index Entry|d" "index-insert"
239 # I'm going to kill this dumb dialog, but for now ...
241 Item "Table...|T" "tabular-insert"
242 Item "Graphics...|G" "dialog-show-new-inset graphics"
243 Item "URL...|U" "url-insert"
244 Item "Footnote|F" "footnote-insert"
245 Item "Marginal Note|M" "marginalnote-insert"
246 Item "Minipage|p" "minipage-insert"
247 Item "Short Title" "optional-insert"
248 Item "TeX|X" "ert-insert"
251 Menu "insert_special"
252 Item "Ellipsis|i" "dots-insert"
253 Item "End of Sentence|E" "end-of-sentence-period-insert"
254 Item "Ordinary Quote|Q" "self-insert \""
255 Item "Menu Separator|M" "menu-separator-insert"
258 Menu "insert_formatting"
259 Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free-apply; "
260 Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free-apply; "
262 Item "Protected Space|r" "space-insert protected"
263 Item "Inter-word Space|w" "space-insert normal"
264 Item "Thin Space|T" "space-insert thin"
265 Item "Horizontal Fill|H" "hfill-insert"
267 Item "Hyphenation Point|P" "hyphenation-point-insert"
268 Item "Ligature Break|k" "ligature-break-insert"
269 Item "Linebreak|L" "break-line"
273 Item "Inline Formula|I" "math-mode"
274 Item "Display Formula|D" "math-display"
275 Item "Eqnarray Environment|E" "command-sequence math-mode; math-mutate eqnarray;"
276 Item "AMS align Environment|a" "command-sequence math-mode; math-mutate align;"
277 Item "AMS alignat Environment|t" "command-sequence math-mode; math-mutate alignat;"
278 Item "AMS flalign Environment|f" "command-sequence math-mode; math-mutate flalign;"
279 Item "AMS gather Environment|g" "command-sequence math-mode; math-mutate gather;"
280 Item "AMS multline Environment|m" "command-sequence math-mode; math-mutate multline;"
282 Item "Array Environment|y" "math-matrix 2 2"
283 Item "Cases Environment|C" "math-insert \cases"
285 Submenu "Font Change|o" "insert_math_font"
286 Item "Math Panel|P" "dialog-show mathpanel"
289 Menu "insert_math_font"
290 Item "Math Normal Font" "math-insert \mathnormal"
292 Item "Math Calligraphic Family" "math-insert \mathcal"
293 Item "Math Fraktur Family" "math-insert \mathfrak"
294 Item "Math Roman Family" "math-insert \mathrm"
295 Item "Math Sans Serif Family" "math-insert \mathsf"
297 Item "Math Bold Series" "math-insert \mathbf"
299 Item "Text Normal Font" "math-insert \textnormal"
301 Item "Text Roman Family" "math-insert \textrm"
302 Item "Text Sans Serif Family" "math-insert \textsf"
303 Item "Text Typewriter Family" "math-insert \texttt"
305 Item "Text Bold Series" "math-insert \textbf"
306 Item "Text Medium Series" "math-insert \textmd"
308 Item "Text Italic Shape" "math-insert \textit"
309 Item "Text Small Caps Shape" "math-insert \textsc"
310 Item "Text Slanted Shape" "math-insert \textsl"
311 Item "Text Upright Shape" "math-insert \textup"
316 # This has got to be better than "Wrap", anyway
317 Item "Text Wrap Float|W" "wrap-insert figure"
321 Item "Table of Contents|C" "toc-insert"
323 Item "Index List|I" "index-print"
324 Item "BibTeX Reference...|B" "dialog-show-new-inset bibtex"
328 Item "LyX Document...|X" "file-insert"
329 Item "ASCII as Lines...|L" "file-insert-ascii"
330 Item "ASCII as Paragraphs...|P" "file-insert-ascii-para"
332 Item "External Material..." "dialog-show-new-inset external"
333 Item "Child Document...|d" "dialog-show-new-inset include"
337 Item "LyX Note|N" "note-insert Note"
338 Item "Comment|C" "note-insert Comment"
339 Item "Greyed Out|G" "note-insert Greyedout"
351 Submenu "Change Tracking|C" "edit_change"
352 OptItem "Build Program|B" "build-program"
353 Item "LaTeX Log File...|L" "dialog-show latexlog"
354 Item "Table of Contents...|T" "toc-view"
355 Item "LaTeX Preamble...|P" "dialog-show preamble"
356 Item "Start Appendix Here|A" "appendix"
358 Item "Settings...|S" "dialog-show document"
362 Item "Track Changes|T" "track-changes"
363 Item "Merge Changes...|M" "merge-changes"
364 Item "Accept All Changes|A" "accept-all-changes"
365 Item "Reject All Changes|R" "reject-all-changes"
372 Submenu "Bookmarks|B" "navigate_bookmarks"
373 Item "Note|N" "note-next"
374 Item "Refs|R" "reference-goto"
379 Menu "navigate_bookmarks"
380 Item "Save Bookmark 1|S" "bookmark-save 1"
381 Item "Save Bookmark 2" "bookmark-save 2"
382 Item "Save Bookmark 3" "bookmark-save 3"
384 Item "Go to Bookmark 1|1" "bookmark-goto 1"
385 Item "Go to Bookmark 2|2" "bookmark-goto 2"
386 Item "Go to Bookmark 3|3" "bookmark-goto 3"
394 Item "Spellchecker...|S" "dialog-show spellchecker"
395 OptItem "Thesaurus...|T" "thesaurus-entry"
396 OptItem "Check TeX|h" "buffer-chktex"
397 Item "View Child Processes...|C" "dialog-show forks"
398 Item "TeX Information...|I" "dialog-show texinfo"
400 # A LOT of applications have Tools->Prefs. Remember this
401 # should be rarely used - Edit menu is not a good place to
403 Item "Reconfigure|R" "reconfigure"
404 Item "Preferences...|P" "dialog-show preferences"
411 Item "Introduction|I" "help-open Intro"
412 Item "Tutorial|T" "help-open Tutorial"
413 Item "User's Guide|U" "help-open UserGuide"
414 Item "Extended Features|E" "help-open Extended"
415 Item "Customization|C" "help-open Customization"
416 Item "FAQ|F" "help-open FAQ"
417 Item "Table of Contents|a" "help-open TOC"
418 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
420 Item "About LyX...|X" "dialog-show aboutlyx"