4 # Make the first 4 menus be as much as expected as possible
5 Submenu "File|F" "file"
6 Submenu "Edit|E" "edit"
7 Submenu "View|V" "view"
8 Submenu "Insert|I" "insert"
9 Submenu "Navigate|N" "navigate"
10 Submenu "Document|D" "document"
11 Submenu "Tools|T" "tools"
12 Submenu "Help|H" "help"
20 Item "New|N" "buffer-new"
21 Item "New from Template...|T" "buffer-new-template"
22 Item "Open...|O" "file-open"
23 # This seems a much more sensible place to me
24 Submenu "Open recent|t" "lastfiles"
26 Item "Close|C" "buffer-close"
27 Item "Save|S" "buffer-write"
28 Item "Save As...|A" "buffer-write-as"
29 Item "Revert|R" "buffer-reload"
30 Submenu "Version Control|V" "file_vc"
32 Submenu "Import|I" "file_import"
33 Submenu "Export|E" "file_export"
34 Item "Print...|P" "buffer-print"
35 OptItem "Fax...|F" "buffer-export fax"
37 Item "Exit|x" "lyx-quit"
45 OptItem "Register...|R" "vc-register"
46 OptItem "Check In Changes...|I" "vc-check-in"
47 OptItem "Check Out for Edit|O" "vc-check-out"
48 OptItem "Revert to Last Version|L" "vc-revert"
49 OptItem "Undo Last Check In|U" "vc-undo-last"
50 OptItem "Show History|H" "vc-history"
59 Item "Custom...|C" "buffer-export custom"
73 Item "Find & Replace...|F" "find-replace"
75 Item "Text Style...|S" "layout-character"
76 Item "Paragraph Settings...|P" "layout-paragraph"
78 # Mathed b0rkage means these don't work properly
79 OptSubmenu "Table|T" "edit_tabular"
80 OptSubmenu "Math|M" "edit_math"
82 OptItem "Increase List Depth|I" "depth-increment"
83 OptItem "Decrease List Depth|D" "depth-decrement"
84 # This is where the context-specific stuff is supposed to go.
85 # The idea is that everything on here can disappear and should
86 # only appear when relevant (getStatus). Only stuff that needs
87 # a right-click to bring up the dialog should appear here (it is not
88 # obvious what the context is for the others)
89 OptItem "TeX Code Settings...|C" "inset-settings ert"
90 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
91 OptItem "Float Settings...|a" "inset-settings float"
92 OptItem "Minipage Settings...|M" "inset-settings minipage"
93 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
94 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
95 # This is in the Table submenu instead for now.
96 # OptItem "Table Settings...|a" "inset-settings tabular"
97 OptItem "Table Settings...|a" "layout-tabular"
100 # not much we can do to help here
102 Item "Add Row|A" "tabular-feature append-row"
103 Item "Delete Row|w" "tabular-feature delete-row"
105 Item "Add Column|u" "tabular-feature append-column"
106 Item "Delete Column|D" "tabular-feature delete-column"
108 Item "Multicolumn|M" "tabular-feature multicolumn"
110 Item "Top Line|T" "tabular-feature toggle-line-top"
111 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
112 Item "Left Line|L" "tabular-feature toggle-line-left"
113 Item "Right Line|R" "tabular-feature toggle-line-right"
115 Item "Left aligned|e" "tabular-feature align-left"
116 Item "Centered|C" "tabular-feature align-center"
117 Item "Right aligned|i" "tabular-feature align-right"
118 Item "Top aligned|o" "tabular-feature valign-top"
119 Item "Vertically Centered|V" "tabular-feature valign-center"
120 Item "Bottom aligned|g" "tabular-feature valign-bottom"
124 Item "Toggle Numbering|N" "math-number"
125 Item "Toggle Numbering of Line|u" "math-nonumber"
126 Submenu "Change Limits Type|L" "edit_math_limits"
128 Submenu "Change Formula Type|F" "edit_math_mutate"
130 Submenu "Use Computer Algebra System|S" "edit_math_extern"
132 Submenu "Alignment|A" "edit_math_align"
134 Item "Add Row|R" "tabular-feature append-row"
135 Item "Delete Row|D" "tabular-feature delete-row"
136 Item "Copy Row" "tabular-feature copy-row"
137 Item "Swap Rows" "tabular-feature swap-row"
139 Item "Add Column|C" "tabular-feature append-column"
140 Item "Delete Column|e" "tabular-feature delete-column"
141 Item "Copy Column" "tabular-feature copy-column"
142 Item "Swap Columns" "tabular-feature swap-column"
145 Menu "edit_math_limits"
146 Item "Default|t" "math-limits empty"
147 Item "Display|D" "math-limits limits"
148 Item "Inline|I" "math-limits nolimits"
151 Menu "edit_math_extern"
152 Item "Octave" "math-extern octave"
153 Item "Maxima" "math-extern maxima"
154 Item "Mathematica" "math-extern mathematica"
156 Item "Maple, simplify" "math-extern maple simplify"
157 Item "Maple, factor" "math-extern maple factor"
158 Item "Maple, evalm" "math-extern maple evalm"
159 Item "Maple, evalf" "math-extern maple evalf"
162 Menu "edit_math_mutate"
163 Item "Inline Formula|I" "math-mutate simple"
164 Item "Displayed Formula|D" "math-mutate equation"
165 Item "Eqnarray Environment|q" "math-mutate eqnarray"
166 Item "Align Environment|A" "math-mutate align"
167 Item "AlignAt Environment" "math-mutate alignat"
168 Item "Flalign Environment|f" "math-mutate flalign"
169 Item "Gather Environment" "math-mutate gather"
170 Item "Multline Environment" "math-mutate multline"
173 Menu "edit_math_align"
174 Item "Left-aligned|L" "tabular-feature align-left"
175 Item "Centered|C" "tabular-feature align-center"
176 Item "Right-aligned|R" "tabular-feature align-right"
178 Item "Top-aligned|T" "tabular-feature valign-top"
179 Item "Centered Vertically|e" "tabular-feature valign-center"
180 Item "Bottom-aligned|B" "tabular-feature valign-bottom"
188 # FIXME: this must become Open Footnote, Close Margin Note etc. as appropriate
189 # Item "Open Float|O" "inset-toggle"
190 # A common feature request JMarc wants to see
191 # Item "Open All Footnotes|F" "open-footnotes"
192 # Item "Close All Footnotes|C" "close-footnotes"
193 # FIXME: better in Document menu ? Not sure.
194 Item "Remove All Error Boxes|E" "error-remove-all"
195 Item "Display Tooltips|D" "toggle-tooltips"
197 Submenu "Update|U" "document_update"
203 Menu "document_update"
211 # Try and group things a little better, and percolate the most
212 # commonly used to good positions (exception being mathed, but
213 # most people using mathed learn key shortcuts quite quickly anyway)
214 Submenu "Math|h" "insert_math"
215 Submenu "Special Character|S" "insert_special"
216 Submenu "Float|a" "insert_float"
217 Submenu "List / TOC|O" "insert_toc"
219 Submenu "File|e" "insert_file"
221 Item "Citation Reference...|C" "dialog-show-new-inset citation"
222 Item "Cross Reference...|R" "dialog-show-new-inset ref"
223 Item "Label...|L" "label-insert"
224 Item "Index Entry|I" "index-insert"
225 # I'm going to kill this dumb dialog, but for now ...
227 Item "Table...|T" "tabular-insert"
228 Item "Graphics...|G" "dialog-show-new-inset graphics"
229 Item "URL...|U" "url-insert"
230 Item "Footnote|F" "footnote-insert"
231 Item "Marginal Note|M" "marginalnote-insert"
232 Item "Note|N" "note-insert"
233 Item "Minipage|p" "minipage-insert"
234 Item "Short Title" "optional-insert"
235 Item "TeX|X" "ert-insert"
236 Item "External Material...|x" "dialog-show-new-inset external"
237 Item "Child Document...|d" "dialog-show-new-inset include"
240 Menu "insert_special"
241 Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free-apply; "
242 Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free-apply; "
243 Item "Horizontal Fill|H" "hfill-insert"
244 Item "Hyphenation Point|P" "hyphenation-point-insert"
245 Item "Ligature Break|k" "ligature-break-insert"
246 Item "Protected Blank|B" "protected-space-insert"
247 Item "Linebreak|L" "break-line"
248 Item "Ellipsis|i" "dots-insert"
249 Item "End of Sentence|E" "end-of-sentence-period-insert"
250 Item "Ordinary Quote|Q" "self-insert \""
251 Item "Menu Separator|M" "menu-separator-insert"
255 Item "Inline Formula|I" "math-mode"
256 Item "Display Formula|D" "math-display"
257 Item "Eqnarray Environment|E" "command-sequence math-mode; math-mutate eqnarray;"
258 Item "AMS align Environment|A" "command-sequence math-mode; math-mutate align;"
259 Item "AMS alignat Environment|t" "command-sequence math-mode; math-mutate alignat;"
260 Item "AMS flalign Environment|f" "command-sequence math-mode; math-mutate flalign;"
261 Item "AMS gather Environment" "command-sequence math-mode; math-mutate gather;"
262 Item "AMS multline Environment" "command-sequence math-mode; math-mutate multline;"
264 Item "Array Environment|y" "math-matrix 2 2"
265 Item "Cases Environment|C" "math-insert \cases"
267 Submenu "Font Change|f" "insert_math_font"
268 Item "Math Panel|l" "math-panel"
271 Menu "insert_math_font"
272 Item "Math normal font" "math-insert \mathnormal"
274 Item "Math calligraphic family" "math-insert \mathcal"
275 Item "Math fraktur family" "math-insert \mathfrak"
276 Item "Math roman family" "math-insert \mathrm"
277 Item "Math sans serif family" "math-insert \mathsf"
279 Item "Math bold series" "math-insert \mathbf"
281 Item "Text normal font" "math-insert \textnormal"
283 Item "Text roman family" "math-insert \textrm"
284 Item "Text sans serif family" "math-insert \textsf"
285 Item "Text typewriter family" "math-insert \texttt"
287 Item "Text bold series" "math-insert \textbf"
288 Item "Text medium series" "math-insert \textmd"
290 Item "Text italic shape" "math-insert \textit"
291 Item "Text small caps shape" "math-insert \textsc"
292 Item "Text slanted shape" "math-insert \textsl"
293 Item "Text upright shape" "math-insert \textup"
298 # This has got to be better than "Wrap", anyway
299 Item "Text Wrap Float|W" "wrap-insert figure"
303 Item "Table of Contents|C" "toc-insert"
305 Item "Index List|I" "index-print"
306 Item "BibTeX Reference...|B" "dialog-show-new-inset bibtex"
310 Item "LyX Document...|X" "file-insert"
311 Item "ASCII as Lines...|L" "file-insert-ascii"
312 Item "ASCII as Paragraphs...|P" "file-insert-ascii-para"
320 OptItem "Build Program|B" "build-program"
321 Item "LaTeX Log File...|L" "latex-view-log"
322 Item "Table of Contents...|T" "toc-view"
324 Submenu "Change tracking|C" "edit_change"
325 Item "LaTeX Preamble...|P" "layout-preamble"
326 Item "Settings...|S" "layout-document"
327 Item "Start Appendix Here|A" "appendix"
331 Item "Track changes|T" "track-changes"
332 Item "Merge changes...|M" "merge-changes"
333 Item "Accept all changes|A" "accept-all-changes"
334 Item "Reject all changes|R" "reject-all-changes"
341 Submenu "Bookmarks|B" "navigate_bookmarks"
342 Item "Error|E" "error-next"
343 Item "Note|N" "note-next"
344 Item "Refs|R" "reference-goto"
349 Menu "navigate_bookmarks"
350 Item "Save Bookmark 1|S" "bookmark-save 1"
351 Item "Save Bookmark 2" "bookmark-save 2"
352 Item "Save Bookmark 3" "bookmark-save 3"
354 Item "Go to Bookmark 1|1" "bookmark-goto 1"
355 Item "Go to Bookmark 2|2" "bookmark-goto 2"
356 Item "Go to Bookmark 3|3" "bookmark-goto 3"
364 Item "Spellchecker...|S" "spellchecker"
365 OptItem "Thesaurus...|T" "thesaurus-entry"
366 OptItem "Check TeX|h" "buffer-chktex"
368 Item "View Child Processes...|C" "show-forks"
369 Item "TeX Information...|I" "help-Texinfo"
371 # A LOT of applications have Tools->Prefs. Remember this
372 # should be rarely used - Edit menu is not a good place to
374 Item "Preferences...|P" "dialog-preferences"
375 Item "Reconfigure|R" "reconfigure"
382 Item "Introduction|I" "help-open Intro"
383 Item "Tutorial|T" "help-open Tutorial"
384 Item "User's Guide|U" "help-open UserGuide"
385 Item "Extended Features|E" "help-open Extended"
386 Item "Customization|C" "help-open Customization"
387 Item "FAQ|F" "help-open FAQ"
388 Item "Table of Contents|a" "help-open TOC"
389 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
391 Item "About LyX...|X" "help-aboutlyx"