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