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