]> git.lyx.org Git - lyx.git/blob - lib/ui/stdmenus.inc
6ef3357f72cb24ee83060e942edcbfc418e22f25
[lyx.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 (https://develop.kde.org/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/guidelines/writing-style.html)
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" "lyxfiles-open templates"
47                 Item "Open...|O" "file-open"
48                 Submenu "Open Recent|t" "file_lastfiles"
49                 Item "Open Example...|p" "lyxfiles-open 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                 Separator
142                 OptItem "Dissolve Inset" "inset-dissolve"
143                 OptItem "TeX Code Settings...|C" "inset-settings ert"
144 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
145                 OptItem "Float Settings...|a" "inset-settings float"
146                 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
147                 OptItem "Note Settings...|N" "inset-settings note"
148                 OptItem "Phantom Settings...|h" "inset-settings phantom"
149                 OptItem "Branch Settings...|B" "inset-settings branch"
150                 OptItem "Box Settings...|S" "inset-settings box"
151                 OptItem "Index Entry Settings...|y" "inset-settings index"
152                 OptItem "Index Settings...|S" "inset-settings index_print"
153                 OptItem "Info Settings...|n" "inset-settings info"
154                 OptItem "Listings Settings...|g" "inset-settings listings"
155 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
156 # This is in the Table submenu instead for now.
157 #       OptItem "Table Settings...|a" "inset-settings tabular"
158                 OptItem "Table Settings...|a" "layout-tabular"
159         End
160
161         Menu "edit_paste"
162                 OptItem "Paste from HTML|H" "paste html"
163                 OptItem "Paste from LaTeX|L" "paste latex"
164                 OptItem "Paste as LinkBack PDF" "paste linkback"
165                 OptItem "Paste as PDF" "paste pdf"
166                 OptItem "Paste as PNG" "paste png"
167                 OptItem "Paste as JPEG" "paste jpeg"
168                 OptItem "Paste as EMF" "paste emf"
169                 Separator
170                 Item "Plain Text|T" "clipboard-paste"
171                 Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
172                 Separator
173                 Item "Selection|S" "primary-selection-paste"
174                 Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
175 # clipboard-paste-simple is commented because it is irritating (bug 8749)
176 # until somebody can explain why it is needed in addition to clipboard-paste
177 #               Separator
178 #               Item "Unformatted Text|U" "clipboard-paste-simple"
179 #               Item "Unformatted, Join Lines|o" "clipboard-paste-simple paragraph"
180         End
181
182         Menu "edit_pasterecent"
183                 PasteRecent
184         End
185
186         Menu "edit_textprops"
187                 Item "Customize...|C" "dialog-show character"
188                 Item "Apply Last Settings|A" "textstyle-apply"
189                 Separator
190                 Item "Capitalize|p" "word-capitalize"
191                 Item "Uppercase|U" "word-upcase"
192                 Item "Lowercase|L" "word-lowcase"
193         End
194
195         Menu "edit_textstyles"
196                 OptItem "Dissolve Text Style" "inset-dissolve charstyle"
197                 CharStyles
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|M" "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                 OptSubmenu "Index Properties" "index_properties"
396                 Item "Nomenclature Entry...|y" "nomencl-insert"
397                 Separator
398                 Item "Table...|T" "tabular-insert"
399                 Item "Graphics...|G" "dialog-show-new-inset graphics"
400                 Item "URL|U" "flex-insert URL"
401                 Item "Hyperlink...|k" "href-insert"
402                 Item "Footnote|F" "footnote-insert"
403                 Item "Marginal Note|M" "marginalnote-insert"
404                 Item "Program Listing[[Menu]]" "listing-insert"
405                 Separator
406                 EnvironmentSeparators
407                 Separator
408                 Arguments
409                 Separator
410                 Item "TeX Code" "ert-insert"
411                 Item "Preview|w" "preview-insert"
412         End
413
414         Menu "insert_special"
415                 Item "Symbols...|b" "dialog-show symbols"
416                 Item "Ellipsis|i" "specialchar-insert dots"
417                 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
418                 Item "Plain Double Quotation Mark|Q" "quote-insert outer auto plain"
419                 Item "Plain Single Quotation Mark|Q" "quote-insert inner auto plain"
420                 Item "Inner Quotation Mark|n" "quote-insert inner"
421                 Item "Non-Breaking Hyphen|y" "specialchar-insert nobreakdash"
422                 Item "Breakable Slash|a" "specialchar-insert slash"
423                 Item "Visible Space|V" "space-insert visible"
424                 Item "Menu Separator|M" "specialchar-insert menu-separator"
425                 Item "Phonetic Symbols|P" "ipa-insert"
426                 Submenu "Logos|L" "insert_logos"
427         End
428
429         Menu "insert_fields"
430                 Item "Date (Current)|D" "info-insert date"
431                 Item "Date (Last Modification of Document)|L" "info-insert moddate"
432                 Item "Date (Fixed)|F" "info-insert fixdate"
433                 Separator
434                 Item "Time (Current)|T" "info-insert time"
435                 Item "Time (Last Modification of Document)|M" "info-insert modtime"
436                 Item "Time (Fixed)|x" "info-insert fixtime"
437                 Separator
438                 Item "File Name (Excl. Extension)|N" "info-insert buffer name-noext"
439                 OptItem "Version Control Revision|V" "info-insert vcs revision"
440                 Item "User Name|U" "info-insert lyxrc user_name"
441                 Item "User Email|E" "info-insert lyxrc user_email"
442                 Separator
443                 Item "Other...|O" "info-insert"
444         End
445
446         Menu "insert_logos"
447                 Item "LyX Logo|L" "specialchar-insert lyx"
448                 Item "TeX Logo|T" "specialchar-insert tex"
449                 Item "LaTeX Logo|a" "specialchar-insert latex"
450                 Item "LaTeX2e Logo|e" "specialchar-insert latex2e"
451         End
452
453         Menu "insert_formatting"
454                 Item "Superscript|S" "script-insert superscript"
455                 Item "Subscript|u" "script-insert subscript"
456                 Separator
457                 Item "Normal Space|e" "space-insert normal"
458                 Item "Non-breaking Normal Space|p" "space-insert protected"
459                 Item "Non-breaking Thin Space|T" "space-insert thin"
460                 Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
461                 Item "Horizontal Line...|L" "dialog-show-new-inset line"
462                 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
463                 Submenu "Phantom|m" "insert_phantom"
464                 Separator
465                 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
466                 Item "Ligature Break|k" "specialchar-insert ligature-break"
467                 Item "Optional Line Break|B" "specialchar-insert allowbreak"
468                 Item "Ragged Line Break|R" "newline-insert newline"
469                 Item "Justified Line Break|J" "newline-insert linebreak"
470                 Separator
471                 Item "New Page|N" "newpage-insert newpage"
472                 Item "Page Break|a" "newpage-insert pagebreak"
473                 Item "Prevent Page Break|g" "newpage-insert nopagebreak"
474                 Item "Clear Page|C" "newpage-insert clearpage"
475                 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
476         End
477
478         Menu "insert_math"
479 # Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
480                 Item "Inline Formula|I" "math-mode on"
481                 Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
482                 Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
483                 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
484                 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
485                 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
486                 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
487                 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
488                 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
489                 Separator
490 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
491                 Item "Array Environment|y" "math-matrix 2 2"
492                 Item "Cases Environment|C" "math-insert \cases"
493                 Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column"
494                 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
495                 Item "Gathered Environment|h" "math-insert \gathered"
496                 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
497                 Separator
498                 Item "Delimiters...|r" "dialog-show mathdelimiter"
499                 Item "Matrix...|x" "dialog-show mathmatrix"
500                 Item "Macro|o" "math-macro newmacroname newcommand"
501         End
502
503         Menu "insert_float"
504                 FloatInsert
505 # This has got to be better than "Wrap", anyway
506                 Item "Wrapped Figure|F" "wrap-insert figure"
507                 Item "Wrapped Table|T" "wrap-insert table"
508         End
509
510         Menu "insert_toc"
511                 Item "Table of Contents|C" "inset-insert toc"
512                 FloatListInsert
513                 IndicesLists
514                 Item "List of Listings|L" "inset-insert toc CommandInset toc LatexCommand lstlistoflistings \end_inset"
515                 Item "Nomenclature|N" "nomencl-print"
516                 Item "Bib(la)TeX Bibliography...|B" "dialog-show-new-inset bibtex"
517         End
518
519         Menu "insert_file"
520                 Item "LyX Document...|X" "file-insert"
521                 Item "Plain Text...|T" "file-insert-plaintext"
522                 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
523                 Separator
524                 Item "External Material...|M" "dialog-show-new-inset external"
525                 Item "Child Document...|d" "dialog-show-new-inset include"
526         End
527
528         Menu "insert_box"
529                 Item "Frameless|l" "box-insert Frameless"
530                 Item "Simple Frame|F" "box-insert Boxed"
531                 Item "Oval, Thin|a" "box-insert ovalbox"
532                 Item "Oval, Thick|v" "box-insert Ovalbox"
533                 Item "Drop Shadow|w" "box-insert Shadowbox"
534                 Item "Shaded Background|B" "box-insert Shaded"
535                 Item "Double Frame|u" "box-insert Doublebox"
536         End
537
538         Menu "index_properties"
539                 OptItem "Subentry|b" "indexmacro-insert subentry"
540                 OptItem "Sortkey|k" "indexmacro-insert sortkey"
541                 OptItem "See|e" "indexmacro-insert see"
542                 OptItem "See also|a" "indexmacro-insert seealso"
543         End
544
545         Menu "insert_note"
546                 Item "LyX Note|N" "note-insert Note"
547                 Item "Comment|C" "note-insert Comment"
548                 Item "Greyed Out|G" "note-insert Greyedout"
549         End
550
551         Menu "insert_branches"
552                 Branches
553                 Separator
554                 Item "Insert New Branch...|I" "branch-add-insert"
555         End
556
557         Menu "insert_phantom"
558                 Item "Phantom|P" "phantom-insert Phantom"
559                 Item "Horizontal Phantom|H" "phantom-insert HPhantom"
560                 Item "Vertical Phantom|V" "phantom-insert VPhantom"
561         End
562
563         Menu "insert_custom"
564                 Custom
565         End
566
567 #
568 # DOCUMENT MENU
569 #
570
571         Menu "document"
572                 OptItem "Cancel Export|P" "export-cancel"
573                 Separator
574                 Submenu "Change Tracking|C" "document_change"
575                 OptItem "Build Program|B" "build-program"
576                 Item "LaTeX Log|L" "dialog-show latexlog"
577                 Item "Start Appendix Here|x" "appendix"
578                 Separator
579                 ViewFormats
580                 UpdateFormats
581                 OptItem "View Master Document|M" "master-buffer-view"
582                 OptItem "Update Master Document|a" "master-buffer-update"
583                 Separator
584                 Item "Compressed|o" "buffer-toggle-compression"
585                 Item "Disable Editing|E" "buffer-toggle-read-only"
586                 Item "Settings...|S" "dialog-show document"
587         End
588
589         Menu "document_change"
590                 Item "Track Changes|T" "changes-track"
591                 Item "Merge Changes...|M" "changes-merge"
592                 Item "Accept Change|A" "change-accept"
593                 Item "Reject Change|R" "change-reject"
594                 Item "Accept All Changes|c" "all-changes-accept"
595                 Item "Reject All Changes|e" "all-changes-reject"
596                 Item "Accept All Changes (incl. relatives)|p" "ifrelatives master-buffer-forall all-changes-accept"
597                 Item "Reject All Changes (incl. relatives)|j" "ifrelatives master-buffer-forall all-changes-reject"
598                 Item "Show Changes in Output|S" "changes-output"
599         End
600
601 #
602 # NAVIGATE MENU
603 #
604         Menu "navigate"
605                 Submenu "Bookmarks|B" "navigate_bookmarks"
606                 Item "Next Note|N" "note-next"
607                 Item "Next Change|C" "change-next"
608                 Item "Next Cross-Reference|R" "reference-next"
609                 OptItem "Go to Label|L" "label-goto"
610                 Item "Forward Search|F" "forward-search"
611                 Separator
612                 Toc
613         End
614
615         Menu "navigate_bookmarks"
616                 Item "Save Bookmark 1|S" "bookmark-save 1"
617                 Item "Save Bookmark 2" "bookmark-save 2"
618                 Item "Save Bookmark 3" "bookmark-save 3"
619                 Item "Save Bookmark 4" "bookmark-save 4"
620                 Item "Save Bookmark 5" "bookmark-save 5"
621                 Item "Clear Bookmarks|C" "bookmark-clear"
622                 Separator
623                 Item "Navigate Back|B" "bookmark-goto 0"
624                 Bookmarks
625         End
626
627 #
628 # TOOLS MENU
629 #
630
631         Menu "tools"
632                 Item "Spellchecker...|S" "dialog-show spellchecker"
633                 OptItem "Thesaurus...|T" "thesaurus-entry"
634                 Item "Statistics...|a" "statistics"
635                 Item "Check TeX|h" "buffer-chktex"
636                 Item "TeX Information|I" "dialog-show texinfo"
637                 Item "Compare...|C" "dialog-show compare"
638                 Separator
639 # A LOT of applications have Tools->Prefs. Remember this
640 # should be rarely used - Edit menu is not a good place to
641 # have it.
642                 Item "Reconfigure|R" "reconfigure"
643                 Item "Preferences...|P" "dialog-show prefs"
644         End
645
646 #
647 # HELP MENU
648 #
649         Menu "help"
650                 Item "Introduction|I" "help-open Intro"
651                 Item "Tutorial|T" "help-open Tutorial"
652                 Item "User's Guide|U" "help-open UserGuide"
653                 Item "Additional Features|F" "help-open Additional"
654                 Item "Embedded Objects|O" "help-open EmbeddedObjects"
655                 Item "Math|M" "help-open Math"
656                 Item "Customization|C" "help-open Customization"
657                 Item "Shortcuts|S" "help-open Shortcuts"
658                 Item "LyX Functions|y" "help-open LFUNs"
659                 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
660                 Submenu "Specific Manuals|p" "examples"
661                 Separator
662                 Item "About LyX|X" "dialog-show aboutlyx"
663         End
664
665         Menu "examples"
666                 Item "Beamer Presentations|B" "help-open Presentations/Beamer"
667                 Item "Braille|a" "help-open Modules/Braille"
668                 Item "Colored boxes|r" "help-open Modules/Fancy_Colored_Boxes"
669                 Item "Feynman-diagram|F" "help-open Graphics_and_Insets/Feynman_Diagrams"
670                 Item "Knitr|K" "help-open Modules/Rnw_%28knitr%29"
671                 Item "LilyPond|P" "help-open Modules/LilyPond_Book"
672                 Item "Linguistics|L" "help-open Modules/Linguistics"
673                 Item "Multilingual Captions|C" "help-open Modules/Multilingual_Captions"
674                 Item "Paralist|t" "help-open Modules/Paragraph_Lists_%28paralist%29"
675                 Item "PDF comments|D" "help-open Modules/PDF_Comments"
676                 Item "PDF forms|o" "help-open Modules/PDF_Form"
677                 Item "Hazard and Precautionary Statements|H" "help-open Modules/Hazard_and_Precautionary_Statements"
678                 Item "Sweave|S" "help-open Modules/Sweave"
679                 Item "XY-pic|X" "help-open Graphics_and_Insets/XY-Pic"
680         End
681
682
683 End
684