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