]> git.lyx.org Git - features.git/blob - lib/ui/stdmenus.inc
Update link
[features.git] / lib / ui / stdmenus.inc
1 # -*- text -*-
2
3 # file stdmenus.inc
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
6
7 # author Jean-Marc Lasgouttes
8 # author John Levon
9 # author Michael Gerz
10
11 # Full author contact details are available in file CREDITS.
12
13 # The interface is designed (partially) following the KDE Human Interface
14 # Guidelines (http://techbase.kde.org/Projects/Usability/HIG)
15
16 # Casing Rules:
17 # Capitalize all words in the element, with the following exceptions:
18 # * Articles: a, an, the.
19 # * Conjunctions: and, but, for, not, so, yet ...
20 # * Prepositions of three or fewer letters: at, for, by, in, to ...
21 #   (except when the preposition is part of a verb phrase, such as "Check In")
22 # (https://developer.gnome.org/hig-book/unstable/design-text-labels.html.en)
23
24 Format 5
25
26 Menuset
27
28         Menubar
29 # Make the first 4 menus be as much as expected as possible
30                 Submenu "File|F" "file"
31                 Submenu "Edit|E" "edit"
32                 Submenu "View|V" "view"
33                 Submenu "Insert|I" "insert"
34                 Submenu "Navigate|N" "navigate"
35                 Submenu "Document|D" "document"
36                 Submenu "Tools|T" "tools"
37                 Submenu "Help|H" "help"
38         End
39
40 #
41 # FILE MENU
42 #
43
44         Menu "file"
45                 Item "New|N" "buffer-new"
46                 Item "New from Template...|m" "dialog-show lyxfiles templates"
47                 Item "Open...|O" "file-open"
48                 Submenu "Open Recent|t" "file_lastfiles"
49                 Item "Open Example...|p" "dialog-show lyxfiles examples"
50                 Separator
51                 Item "Close|C" "buffer-close"
52                 Item "Close All" "buffer-close-all"
53                 Item "Save|S" "buffer-write"
54                 Item "Save As...|A" "buffer-write-as"
55                 Item "Save As Template..." "buffer-write-as-template"
56                 Item "Save All|l" "buffer-write-all"
57                 Item "Revert to Saved|R" "buffer-reload"
58                 Submenu "Version Control|V" "file_vc"
59                 Separator
60                 Submenu "Import|I" "file_import"
61                 Submenu "Export|E" "file_export"
62                 OptItem "Fax...|F" "buffer-export fax"
63                 Separator
64                 Item "New Window|W" "window-new"
65                 Item "Close Window|d" "window-close"
66                 Separator
67                 Item "Exit|x" "lyx-quit"
68         End
69
70         Menu "file_lastfiles"
71                 Lastfiles
72         End
73
74         Menu "file_vc"
75                 OptItem "Register...|R" "vc-register"
76                 OptItem "Check In Changes...|I" "vc-check-in"
77                 OptItem "Check Out for Edit|O" "vc-check-out"
78                 OptItem "Copy|p" "vc-copy"
79                 OptItem "Rename|R" "vc-rename"
80                 OptItem "Update Local Directory From Repository|d" "vc-repo-update"
81                 OptItem "Revert to Repository Version|v" "vc-revert"
82                 OptItem "Undo Last Check In|U" "vc-undo-last"
83                 OptItem "Compare with Older Revision...|C" "vc-compare"
84                 OptItem "Show History...|H" "dialog-show vclog"
85                 OptItem "Use Locking Property|L" "vc-locking-toggle"
86         End
87
88         Menu "file_import"
89                 ImportFormats
90         End
91
92         Menu "file_export"
93                 ExportFormat
94                 Item "Export As...|s" "buffer-export-as"
95                 Separator
96                 ExportFormats
97                 Item "More Formats & Options...|r" "buffer-export custom"
98         End
99
100 #
101 # EDIT MENU
102 #
103
104         Menu "edit"
105                 Item "Undo|U" "undo"
106                 Item "Redo|R" "redo"
107                 Separator
108                 Item "Cut" "cut"
109                 Item "Copy" "copy"
110                 Item "Paste" "paste"
111                 Submenu "Paste Recent|e" "edit_pasterecent"
112                 Submenu "Paste Special" "edit_paste"
113                 Separator
114                 Item "Select Whole Inset" "inset-select-all"
115                 Item "Select All" "command-sequence buffer-begin ; buffer-end-select"
116                 Separator
117                 Item "Find & Replace (Quick)...|F" "dialog-show findreplace"
118                 Item "Find & Replace (Advanced)..." "dialog-show findreplaceadv"
119                 Separator
120                 Item "Move Paragraph Up|o" "paragraph-move-up"
121                 Item "Move Paragraph Down|v" "paragraph-move-down"
122                 Separator
123                 Item "Paragraph Settings...|P" "layout-paragraph"
124                 Submenu "Text Properties|x" "edit_textprops"
125                 OptSubmenu "Custom Text Styles|S" "edit_textstyles"
126                 Item "Manage Counter Values" "dialog-show-new-inset counter"
127                 LanguageSelector
128                 Separator
129 # Mathed b0rkage means these don't work properly
130                 OptSubmenu "Table|T" "edit_tabular"
131                 OptSubmenu "Math|M" "edit_math"
132                 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
133                 Separator
134 # This is where the context-specific stuff is supposed to go.
135 # The idea is that everything on here can disappear and should
136 # only appear when relevant (getStatus). Only stuff that needs
137 # a right-click to bring up the dialog should appear here (it is not
138 # obvious what the context is for the others)
139                 OptItem "Increase List Depth|I" "depth-increment"
140                 OptItem "Decrease List Depth|D" "depth-decrement"
141                 OptItem "Dissolve Inset" "inset-dissolve"
142                 OptItem "TeX Code Settings...|C" "inset-settings ert"
143 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
144                 OptItem "Float Settings...|a" "inset-settings float"
145                 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
146                 OptItem "Note Settings...|N" "inset-settings note"
147                 OptItem "Phantom Settings...|h" "inset-settings phantom"
148                 OptItem "Branch Settings...|B" "inset-settings branch"
149                 OptItem "Box Settings...|S" "inset-settings box"
150                 OptItem "Index Entry Settings...|y" "inset-settings index"
151                 OptItem "Index Settings...|S" "inset-settings index_print"
152                 OptItem "Info Settings...|n" "inset-settings info"
153                 OptItem "Listings Settings...|g" "inset-settings listings"
154 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
155 # This is in the Table submenu instead for now.
156 #       OptItem "Table Settings...|a" "inset-settings tabular"
157                 OptItem "Table Settings...|a" "layout-tabular"
158         End
159
160         Menu "edit_paste"
161                 OptItem "Paste from HTML|H" "paste html"
162                 OptItem "Paste from LaTeX|L" "paste latex"
163                 OptItem "Paste as LinkBack PDF" "paste linkback"
164                 OptItem "Paste as PDF" "paste pdf"
165                 OptItem "Paste as PNG" "paste png"
166                 OptItem "Paste as JPEG" "paste jpeg"
167                 OptItem "Paste as EMF" "paste emf"
168                 Separator
169                 Item "Plain Text|T" "clipboard-paste"
170                 Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
171                 Separator
172                 Item "Selection|S" "primary-selection-paste"
173                 Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
174 # clipboard-paste-simple is commented because it is irritating (bug 8749)
175 # until somebody can explain why it is needed in addition to clipboard-paste
176 #               Separator
177 #               Item "Unformatted Text|U" "clipboard-paste-simple"
178 #               Item "Unformatted, Join Lines|o" "clipboard-paste-simple paragraph"
179         End
180
181         Menu "edit_pasterecent"
182                 PasteRecent
183         End
184
185         Menu "edit_textprops"
186                 Item "Customize...|C" "dialog-show character"
187                 Item "Apply Last Settings|A" "textstyle-apply"
188                 Separator
189                 Item "Capitalize|p" "word-capitalize"
190                 Item "Uppercase|U" "word-upcase"
191                 Item "Lowercase|L" "word-lowcase"
192         End
193
194         Menu "edit_textstyles"
195                 OptItem "Dissolve Text Style" "inset-dissolve charstyle"
196                 CharStyles
197                 Elements
198         End
199
200 # not much we can do to help here
201         Menu "edit_tabular"
202                 Item "Multi-page Table|g" "tabular-feature toggle-longtabular"
203                 Item "Formal Style|F" "tabular-feature toggle-booktabs"
204                 Separator
205                 Item "Multicolumn|M" "tabular-feature multicolumn"
206                 Item "Multirow|u" "tabular-feature multirow"
207                 Separator
208                 Item "Top Line|T" "tabular-feature toggle-line-top"
209                 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
210                 Item "Left Line|L" "tabular-feature toggle-line-left"
211                 Item "Right Line|R" "tabular-feature toggle-line-right"
212                 Separator
213                 Item "Top|p" "tabular-feature tabular-valign-top"
214                 Item "Middle|i" "tabular-feature tabular-valign-middle"
215                 Item "Bottom|o" "tabular-feature tabular-valign-bottom"
216         End
217
218         Menu "edit_tabular_features"
219                 Item "Left|L" "tabular-feature align-left"
220                 Item "Center|C" "tabular-feature align-center"
221                 Item "Right|R" "tabular-feature align-right"
222                 Separator
223                 Item "Top|T" "tabular-feature valign-top"
224                 Item "Middle|M" "tabular-feature valign-middle"
225                 Item "Bottom|B" "tabular-feature valign-bottom"
226                 Separator
227                 Item "Add Row|A" "tabular-feature append-row"
228                 Item "Delete Row|D" "tabular-feature delete-row"
229                 Item "Copy Row|o" "tabular-feature copy-row"
230                 Item "Move Row Up" "tabular-feature move-row-up"
231                 Item "Move Row Down" "tabular-feature move-row-down"
232                 # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken
233                 Separator
234                 Item "Add Column|u" "tabular-feature append-column"
235                 Item "Delete Column|e" "tabular-feature delete-column"
236                 Item "Copy Column|p" "tabular-feature copy-column"
237                 Item "Move Column Right|v" "tabular-feature move-column-right"
238                 Item "Move Column Left" "tabular-feature move-column-left"
239                 # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken
240         End
241
242         Menu "edit_math"
243                 Item "Number Whole Formula|N" "math-number-toggle"
244                 Item "Number This Line|u" "math-number-line-toggle"
245                 Submenu "Change Limits Type|L" "edit_math_limits"
246                 Submenu "Macro Definition" "edit_math_macro_definition"
247                 Separator
248                 Submenu "Change Formula Type|F" "edit_math_mutate"
249                 Separator
250                 Submenu "Text Properties|T" "edit_math_fontstyles"
251                 Separator
252                 Submenu "Use Computer Algebra System|S" "edit_math_extern"
253                 Separator
254                 Item "Split Cell|C" "cell-split"
255                 Separator
256                 Item "Add Line Above|A" "tabular-feature add-hline-above"
257                 Item "Add Line Below|B" "tabular-feature add-hline-below"
258                 Item "Delete Line Above|D" "tabular-feature delete-hline-above"
259                 Item "Delete Line Below|e" "tabular-feature delete-hline-below"
260                 Separator
261                 Item "Add Line to Left" "tabular-feature add-vline-left"
262                 Item "Add Line to Right" "tabular-feature add-vline-right"
263                 Item "Delete Line to Left" "tabular-feature delete-vline-left"
264                 Item "Delete Line to Right" "tabular-feature delete-vline-right"
265         End
266
267         Menu "edit_math_macro_definition"
268                 Item "Append Argument" "math-macro-add-param"
269                 Item "Remove Last Argument" "math-macro-remove-param"
270                 Separator
271                 Item "Transform First Non-Optional to Optional Argument" "math-macro-make-optional"
272                 Item "Transform Last Optional to Non-Optional Argument" "math-macro-make-nonoptional"
273                 Item "Insert Optional Argument" "math-macro-add-optional-param"
274                 Item "Remove Optional Argument" "math-macro-remove-optional-param"
275                 Separator
276                 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
277                 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
278                 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
279         End
280
281         Menu "edit_math_limits"
282                  Item "Default|t"  "math-limits empty"
283                  Item "Display|D"  "math-limits limits"
284                  Item "Inline|I"  "math-limits nolimits"
285         End
286
287         Menu "edit_math_fontstyles"
288                 Item "Math Normal Font|N" "math-font-style mathnormal"
289                 Separator
290                 Item "Math Calligraphic Family|C" "math-font-style mathcal"
291                 Item "Math Formal Script Family|o" "math-font-style mathscr"
292                 Item "Math Fraktur Family|F" "math-font-style mathfrak"
293                 Item "Math Roman Family|R" "math-font-style mathrm"
294                 Item "Math Sans Serif Family|S" "math-font-style mathsf"
295                 Separator
296                 Item "Math Bold Series|B" "math-font-style mathbf"
297                 Separator
298                 Item "Text Normal Font|T" "math-font-style textnormal"
299                 Separator
300                 Item "Text Roman Family" "math-font-style textrm"
301                 Item "Text Sans Serif Family" "math-font-style textsf"
302                 Item "Text Typewriter Family" "math-font-style texttt"
303                 Separator
304                 Item "Text Bold Series" "math-font-style textbf"
305                 Item "Text Medium Series" "math-font-style textmd"
306                 Separator
307                 Item "Text Italic Shape" "math-font-style textit"
308                 Item "Text Small Caps Shape" "math-font-style textsc"
309                 Item "Text Slanted Shape" "math-font-style textsl"
310                 Item "Text Upright Shape" "math-font-style textup"
311         End
312
313         Menu "edit_math_extern"
314                 Item "Octave|O" "math-extern octave"
315                 Item "Maxima|M" "math-extern maxima"
316                 Item "Mathematica|a" "math-extern mathematica"
317                 Separator
318                 Item "Maple, Simplify|S" "math-extern maple simplify"
319                 Item "Maple, Factor|F" "math-extern maple factor"
320                 Item "Maple, Evalm|E" "math-extern maple evalm"
321                 Item "Maple, Evalf|v" "math-extern maple evalf"
322         End
323
324         Menu "edit_math_mutate"
325                 Item "Inline Formula|I" "math-mutate simple"
326                 Item "Displayed Formula|D" "math-mutate equation"
327                 Item "Eqnarray Environment|E" "math-mutate eqnarray"
328                 Item "AMS align Environment|a" "math-mutate align"
329                 Item "AMS alignat Environment|t" "math-mutate alignat"
330                 Item "AMS flalign Environment|f" "math-mutate flalign"
331                 Item "AMS gather Environment|g" "math-mutate gather"
332                 Item "AMS multline Environment|m" "math-mutate multline"
333         End
334
335 #
336 # VIEW MENU
337 #
338
339         Menu "view"
340                 Item "Outline Pane|O" "dialog-toggle toc"
341                 Item "Code Preview Pane|P" "dialog-toggle view-source"
342                 Item "Messages Pane|g" "dialog-toggle progress"
343                 Submenu "Toolbars|T" "toolbars"
344                 Separator
345                 OptItem "Unfold Math Macro|n" "math-macro-unfold"
346                 OptItem "Fold Math Macro|d" "math-macro-fold"
347                 Separator
348                 Item "Split View Into Left and Right Half|L" "view-split horizontal"
349                 Item "Split View Into Upper and Lower Half|U" "view-split vertical"
350                 OptItem "Close Current View|w" "tab-group-close"
351                 Item "Fullscreen|F" "ui-toggle fullscreen"
352                 Separator
353                 Item "Open All Insets|I" "inset-forall * inset-toggle open"
354                 Item "Close All Insets|C" "inset-forall * inset-toggle close"
355                 Separator
356                 Documents
357         End
358
359         Menu "toolbars"
360                 Toolbars
361                 Separator
362                 Item "Lock Toolbars|L" "toolbar-movable *"
363                 Separator
364                 Item "Small-sized Icons" "icon-size small"
365                 Item "Normal-sized Icons" "icon-size normal"
366                 Item "Big-sized Icons" "icon-size big"
367                 Item "Huge-sized Icons" "icon-size huge"
368                 Item "Giant-sized Icons" "icon-size giant"
369         End
370 #
371 # INSERT MENU
372 #
373         Menu "insert"
374 # Try and group things a little better, and percolate the most
375 # commonly used to good positions (exception being mathed, but
376 # most people using mathed learn key shortcuts quite quickly anyway)
377                 Submenu "Math|h" "insert_math"
378                 Submenu "Special Character|p" "insert_special"
379                 Submenu "Formatting|o" "insert_formatting"
380                 Submenu "Field|i" "insert_fields"
381                 Submenu "List/Contents/References|/" "insert_toc"
382                 Submenu "Float|a" "insert_float"
383                 Submenu "Note|N" "insert_note"
384                 Submenu "Branch|B" "insert_branches"
385                 Submenu "Custom Inset" "insert_custom"
386                 Submenu "File|e" "insert_file"
387                 Submenu "Box[[Menu]]|x" "insert_box"
388                 OptSubmenu "Regular Expression" "context-edit-regexp"
389                 Separator
390                 Item "Citation...|C" "dialog-show-new-inset citation"
391                 Item "Cross-Reference...|R" "dialog-show-new-inset ref"
392                 Item "Label...|L" "label-insert"
393                 Captions
394                 Indices
395                 Item "Nomenclature Entry...|y" "nomencl-insert"
396                 Separator
397                 Item "Table...|T" "tabular-insert"
398                 Item "Graphics...|G" "dialog-show-new-inset graphics"
399                 Item "URL|U" "flex-insert URL"
400                 Item "Hyperlink...|k" "href-insert"
401                 Item "Footnote|F" "footnote-insert"
402                 Item "Marginal Note|M" "marginalnote-insert"
403                 Item "Program Listing[[Menu]]" "listing-insert"
404                 Separator
405                 EnvironmentSeparators
406                 Separator
407                 Arguments
408                 Separator
409                 Item "TeX Code" "ert-insert"
410                 Item "Preview|w" "preview-insert"
411         End
412
413         Menu "insert_special"
414                 Item "Symbols...|b" "dialog-show symbols"
415                 Item "Ellipsis|i" "specialchar-insert dots"
416                 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
417                 Item "Plain Quotation Mark|Q" "quote-insert outer auto plain"
418                 Item "Inner Quotation Mark|n" "quote-insert inner"
419                 Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
420                 Item "Breakable Slash|a" "specialchar-insert slash"
421                 Item "Visible Space|V" "space-insert visible"
422                 Item "Menu Separator|M" "specialchar-insert menu-separator"
423                 Item "Phonetic Symbols|P" "ipa-insert"
424                 Submenu "Logos|L" "insert_logos"
425         End
426
427         Menu "insert_fields"
428                 Item "Date (Current)|D" "info-insert date"
429                 Item "Date (Last Modification)|L" "info-insert moddate"
430                 Item "Date (Fix)|F" "info-insert fixdate"
431                 Separator
432                 Item "Time (Current)|T" "info-insert time"
433                 Item "Time (Last Modification)|M" "info-insert modtime"
434                 Item "Time (Fix)|x" "info-insert fixtime"
435                 Separator
436                 Item "File Name (Excl. Extension)|N" "info-insert buffer name-noext"
437                 OptItem "Version Control Revision|V" "info-insert vcs revision"
438                 Item "User Name|U" "info-insert lyxrc user_name"
439                 Item "User Email|E" "info-insert lyxrc user_email"
440                 Separator
441                 Item "Other...|O" "info-insert"
442         End
443
444         Menu "insert_logos"
445                 Item "LyX Logo|L" "specialchar-insert lyx"
446                 Item "TeX Logo|T" "specialchar-insert tex"
447                 Item "LaTeX Logo|a" "specialchar-insert latex"
448                 Item "LaTeX2e Logo|e" "specialchar-insert latex2e"
449         End
450
451         Menu "insert_formatting"
452                 Item "Superscript|S" "script-insert superscript"
453                 Item "Subscript|u" "script-insert subscript"
454                 Separator
455                 Item "Protected Space|P" "space-insert protected"
456                 Item "Interword Space|w" "space-insert normal"
457                 Item "Thin Space|T" "space-insert thin"
458                 Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
459                 Item "Horizontal Line...|L" "dialog-show-new-inset line"
460                 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
461                 Submenu "Phantom|m" "insert_phantom"
462                 Separator
463                 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
464                 Item "Ligature Break|k" "specialchar-insert ligature-break"
465                 Item "Optional Line Break|B" "specialchar-insert allowbreak"
466                 Item "Ragged Line Break|R" "newline-insert newline"
467                 Item "Justified Line Break|J" "newline-insert linebreak"
468                 Separator
469                 Item "New Page|N" "newpage-insert newpage"
470                 Item "Page Break|a" "newpage-insert pagebreak"
471                 Item "Clear Page|C" "newpage-insert clearpage"
472                 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
473         End
474
475         Menu "insert_math"
476 # Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
477                 Item "Inline Formula|I" "math-mode on"
478                 Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
479                 Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
480                 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
481                 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
482                 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
483                 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
484                 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
485                 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
486                 Separator
487 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
488                 Item "Array Environment|y" "math-matrix 2 2"
489                 Item "Cases Environment|C" "math-insert \cases"
490                 Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column"
491                 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
492                 Item "Gathered Environment|h" "math-insert \gathered"
493                 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
494                 Separator
495                 Item "Delimiters...|r" "dialog-show mathdelimiter"
496                 Item "Matrix...|x" "dialog-show mathmatrix"
497                 Item "Macro|o" "math-macro newmacroname newcommand"
498         End
499
500         Menu "insert_float"
501                 FloatInsert
502 # This has got to be better than "Wrap", anyway
503                 Item "Figure Wrap Float|F" "wrap-insert figure"
504                 Item "Table Wrap Float|T" "wrap-insert table"
505         End
506
507         Menu "insert_toc"
508                 Item "Table of Contents|C" "inset-insert toc"
509                 FloatListInsert
510                 IndicesLists
511                 Item "List of Listings|L" "inset-insert toc CommandInset toc LatexCommand lstlistoflistings \end_inset"
512                 Item "Nomenclature|N" "nomencl-print"
513                 Item "Bib(la)TeX Bibliography...|B" "dialog-show-new-inset bibtex"
514         End
515
516         Menu "insert_file"
517                 Item "LyX Document...|X" "file-insert"
518                 Item "Plain Text...|T" "file-insert-plaintext"
519                 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
520                 Separator
521                 Item "External Material...|M" "dialog-show-new-inset external"
522                 Item "Child Document...|d" "dialog-show-new-inset include"
523         End
524
525         Menu "insert_box"
526                 Item "Frameless|l" "box-insert Frameless"
527                 Item "Simple Frame|F" "box-insert Boxed"
528                 Item "Oval, Thin|a" "box-insert ovalbox"
529                 Item "Oval, Thick|v" "box-insert Ovalbox"
530                 Item "Drop Shadow|w" "box-insert Shadowbox"
531                 Item "Shaded Background|B" "box-insert Shaded"
532                 Item "Double Frame|u" "box-insert Doublebox"
533         End
534
535         Menu "insert_note"
536                 Item "LyX Note|N" "note-insert Note"
537                 Item "Comment|C" "note-insert Comment"
538                 Item "Greyed Out|G" "note-insert Greyedout"
539         End
540
541         Menu "insert_branches"
542                 Branches
543                 Separator
544                 Item "Insert New Branch...|I" "branch-add-insert"
545         End
546
547         Menu "insert_phantom"
548                 Item "Phantom|P" "phantom-insert Phantom"
549                 Item "Horizontal Phantom|H" "phantom-insert HPhantom"
550                 Item "Vertical Phantom|V" "phantom-insert VPhantom"
551         End
552
553         Menu "insert_custom"
554                 Custom
555         End
556
557 #
558 # DOCUMENT MENU
559 #
560
561         Menu "document"
562                 OptItem "Cancel Background Process|P" "export-cancel"
563                 Separator
564                 Submenu "Change Tracking|C" "document_change"
565                 OptItem "Build Program|B" "build-program"
566                 Item "LaTeX Log|L" "dialog-show latexlog"
567                 Item "Start Appendix Here|x" "appendix"
568                 Separator
569                 ViewFormats
570                 UpdateFormats
571                 OptItem "View Master Document|M" "master-buffer-view"
572                 OptItem "Update Master Document|a" "master-buffer-update"
573                 Separator
574                 Item "Compressed|o" "buffer-toggle-compression"
575                 Item "Disable Editing|E" "buffer-toggle-read-only"
576                 Item "Settings...|S" "dialog-show document"
577         End
578
579         Menu "document_change"
580                 Item "Track Changes|T" "changes-track"
581                 Item "Merge Changes...|M" "changes-merge"
582                 Item "Accept Change|A" "change-accept"
583                 Item "Reject Change|R" "change-reject"
584                 Item "Accept All Changes|c" "all-changes-accept"
585                 Item "Reject All Changes|e" "all-changes-reject"
586                 Item "Accept All Changes (incl. Master/Children/Siblings)|p" "ifrelatives master-buffer-forall all-changes-accept"
587                 Item "Reject All Changes (incl. Master/Children/Siblings)|j" "ifrelatives master-buffer-forall all-changes-reject"
588                 Item "Show Changes in Output|S" "changes-output"
589         End
590
591 #
592 # NAVIGATE MENU
593 #
594         Menu "navigate"
595                 Submenu "Bookmarks|B" "navigate_bookmarks"
596                 Item "Next Note|N" "note-next"
597                 Item "Next Change|C" "change-next"
598                 Item "Next Cross-Reference|R" "reference-next"
599                 OptItem "Go to Label|L" "label-goto"
600                 Item "Forward Search|F" "forward-search"
601                 Separator
602                 Toc
603         End
604
605         Menu "navigate_bookmarks"
606                 Item "Save Bookmark 1|S" "bookmark-save 1"
607                 Item "Save Bookmark 2" "bookmark-save 2"
608                 Item "Save Bookmark 3" "bookmark-save 3"
609                 Item "Save Bookmark 4" "bookmark-save 4"
610                 Item "Save Bookmark 5" "bookmark-save 5"
611                 Item "Clear Bookmarks|C" "bookmark-clear"
612                 Separator
613                 Item "Navigate Back|B" "bookmark-goto 0"
614                 Bookmarks
615         End
616
617 #
618 # TOOLS MENU
619 #
620
621         Menu "tools"
622                 Item "Spellchecker...|S" "dialog-show spellchecker"
623                 OptItem "Thesaurus...|T" "thesaurus-entry"
624                 Item "Statistics...|a" "statistics"
625                 Item "Check TeX|h" "buffer-chktex"
626                 Item "TeX Information|I" "dialog-show texinfo"
627                 Item "Compare...|C" "dialog-show compare"
628                 Separator
629 # A LOT of applications have Tools->Prefs. Remember this
630 # should be rarely used - Edit menu is not a good place to
631 # have it.
632                 Item "Reconfigure|R" "reconfigure"
633                 Item "Preferences...|P" "dialog-show prefs"
634         End
635
636 #
637 # HELP MENU
638 #
639         Menu "help"
640                 Item "Introduction|I" "help-open Intro"
641                 Item "Tutorial|T" "help-open Tutorial"
642                 Item "User's Guide|U" "help-open UserGuide"
643                 Item "Additional Features|F" "help-open Additional"
644                 Item "Embedded Objects|O" "help-open EmbeddedObjects"
645                 Item "Math|M" "help-open Math"
646                 Item "Customization|C" "help-open Customization"
647                 Item "Shortcuts|S" "help-open Shortcuts"
648                 Item "LyX Functions|y" "help-open LFUNs"
649                 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
650                 Submenu "Specific Manuals|p" "examples"
651                 Separator
652                 Item "About LyX|X" "dialog-show aboutlyx"
653         End
654
655         Menu "examples"
656                 Item "Beamer Presentations|B" "help-open Presentations/Beamer"
657                 Item "Braille|a" "help-open Modules/Braille"
658                 Item "Colored boxes|r" "help-open Modules/Fancy_Colored_Boxes"
659                 Item "Feynman-diagram|F" "help-open Graphics_and_Insets/Feynman_Diagrams"
660                 Item "Knitr|K" "help-open Modules/Rnw_%28knitr%29"
661                 Item "LilyPond|P" "help-open Modules/LilyPond_Book"
662                 Item "Linguistics|L" "help-open Modules/Linguistics"
663                 Item "Multilingual Captions|C" "help-open Modules/Multilingual_Captions"
664                 Item "Paralist|t" "help-open Modules/Paragraph_Lists_%28paralist%29"
665                 Item "PDF comments|D" "help-open Modules/PDF_Comments"
666                 Item "PDF forms|o" "help-open Modules/PDF_Form"
667                 Item "Hazard and Precautionary Statements|H" "help-open Modules/Hazard_and_Precautionary_Statements"
668                 Item "Sweave|S" "help-open Modules/Sweave"
669                 Item "XY-pic|X" "help-open Graphics_and_Insets/XY-Pic"
670         End
671
672
673 End
674