]> git.lyx.org Git - lyx.git/blob - lib/ui/stdmenus.inc
Introduce InsetInfoParams
[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                 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|d" "insert_fields"
378                 Submenu "List / TOC|i" "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 "Other...|O" "info-insert"
430         End
431
432         Menu "insert_logos"
433                 Item "LyX Logo|L" "specialchar-insert lyx"
434                 Item "TeX Logo|T" "specialchar-insert tex"
435                 Item "LaTeX Logo|a" "specialchar-insert latex"
436                 Item "LaTeX2e Logo|e" "specialchar-insert latex2e"
437         End
438
439         Menu "insert_formatting"
440                 Item "Superscript|S" "script-insert superscript"
441                 Item "Subscript|u" "script-insert subscript"
442                 Separator
443                 Item "Protected Space|P" "space-insert protected"
444                 Item "Interword Space|w" "space-insert normal"
445                 Item "Thin Space|T" "space-insert thin"
446                 Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
447                 Item "Horizontal Line...|L" "dialog-show-new-inset line"
448                 Item "Vertical Space...|V" "dialog-show-new-inset vspace"
449                 Submenu "Phantom|m" "insert_phantom"
450                 Separator
451                 Item "Hyphenation Point|H" "specialchar-insert hyphenation"
452                 Item "Ligature Break|k" "specialchar-insert ligature-break"
453                 Item "Optional Line Break|B" "specialchar-insert allowbreak"
454                 Item "Ragged Line Break|R" "newline-insert newline"
455                 Item "Justified Line Break|J" "newline-insert linebreak"
456                 Separator
457                 Item "New Page|N" "newpage-insert newpage"
458                 Item "Page Break|a" "newpage-insert pagebreak"
459                 Item "Clear Page|C" "newpage-insert clearpage"
460                 Item "Clear Double Page|D" "newpage-insert cleardoublepage"
461         End
462
463         Menu "insert_math"
464 # Always use "math-mode on" instead of "math-display" etc. because this disables the commands in math mode
465                 Item "Inline Formula|I" "math-mode on"
466                 Item "Display Formula|D" "command-sequence math-mode on; math-mutate equation"
467                 Item "Numbered Formula|N" "command-sequence math-mode on; math-mutate equation; math-number-toggle;"
468                 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
469                 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
470                 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
471                 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
472                 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
473                 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
474                 Separator
475 # "math-matrix" and "math-insert" create an inline formula first if called from text mode
476                 Item "Array Environment|y" "math-matrix 2 2"
477                 Item "Cases Environment|C" "math-insert \cases"
478                 Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column"
479                 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
480                 Item "Gathered Environment|h" "math-insert \gathered"
481                 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
482                 Separator
483                 Item "Delimiters...|r" "dialog-show mathdelimiter"
484                 Item "Matrix...|x" "dialog-show mathmatrix"
485                 Item "Macro|o" "math-macro newmacroname newcommand"
486         End
487
488         Menu "insert_float"
489                 FloatInsert
490 # This has got to be better than "Wrap", anyway
491                 Item "Figure Wrap Float|F" "wrap-insert figure"
492                 Item "Table Wrap Float|T" "wrap-insert table"
493         End
494
495         Menu "insert_toc"
496                 Item "Table of Contents|C" "inset-insert toc"
497                 FloatListInsert
498                 IndicesLists
499                 Item "List of Listings|L" "inset-insert toc CommandInset toc LatexCommand lstlistoflistings \end_inset"
500                 Item "Nomenclature|N" "nomencl-print"
501                 Item "Bib(la)TeX Bibliography...|B" "dialog-show-new-inset bibtex"
502         End
503
504         Menu "insert_file"
505                 Item "LyX Document...|X" "file-insert"
506                 Item "Plain Text...|T" "file-insert-plaintext"
507                 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
508                 Separator
509                 Item "External Material...|M" "dialog-show-new-inset external"
510                 Item "Child Document...|d" "dialog-show-new-inset include"
511         End
512
513         Menu "insert_box"
514                 Item "Frameless|l" "box-insert Frameless"
515                 Item "Simple Frame|F" "box-insert Boxed"
516                 Item "Oval, Thin|a" "box-insert ovalbox"
517                 Item "Oval, Thick|v" "box-insert Ovalbox"
518                 Item "Drop Shadow|w" "box-insert Shadowbox"
519                 Item "Shaded Background|B" "box-insert Shaded"
520                 Item "Double Frame|u" "box-insert Doublebox"
521         End
522
523         Menu "insert_note"
524                 Item "LyX Note|N" "note-insert Note"
525                 Item "Comment|C" "note-insert Comment"
526                 Item "Greyed Out|G" "note-insert Greyedout"
527         End
528
529         Menu "insert_branches"
530                 Branches
531                 Separator
532                 Item "Insert New Branch...|I" "branch-add-insert"
533         End
534
535         Menu "insert_phantom"
536                 Item "Phantom|P" "phantom-insert Phantom"
537                 Item "Horizontal Phantom|H" "phantom-insert HPhantom"
538                 Item "Vertical Phantom|V" "phantom-insert VPhantom"
539         End
540
541         Menu "insert_custom"
542                 Custom
543         End
544
545 #
546 # DOCUMENT MENU
547 #
548
549         Menu "document"
550                 Submenu "Change Tracking|C" "document_change"
551                 OptItem "Build Program|B" "build-program"
552                 Item "LaTeX Log|L" "dialog-show latexlog"
553                 Item "Start Appendix Here|x" "appendix"
554                 Separator
555                 ViewFormats
556                 UpdateFormats
557                 OptItem "View Master Document|M" "master-buffer-view"
558                 OptItem "Update Master Document|a" "master-buffer-update"
559                 OptItem "Cancel Background Process|P" "export-cancel"
560                 Separator
561                 Item "Compressed|o" "buffer-toggle-compression"
562                 Item "Disable Editing|E" "buffer-toggle-read-only"
563                 Item "Settings...|S" "dialog-show document"
564         End
565
566         Menu "document_change"
567                 Item "Track Changes|T" "changes-track"
568                 Item "Merge Changes...|M" "changes-merge"
569                 Item "Accept Change|A" "change-accept"
570                 Item "Reject Change|R" "change-reject"
571                 Item "Accept All Changes|c" "all-changes-accept"
572                 Item "Reject All Changes|e" "all-changes-reject"
573                 Item "Show Changes in Output|S" "changes-output"
574         End
575
576 #
577 # NAVIGATE MENU
578 #
579         Menu "navigate"
580                 Submenu "Bookmarks|B" "navigate_bookmarks"
581                 Item "Next Note|N" "note-next"
582                 Item "Next Change|C" "change-next"
583                 Item "Next Cross-Reference|R" "reference-next"
584                 OptItem "Go to Label|L" "label-goto"
585                 Item "Forward Search|F" "forward-search"
586                 Separator
587                 Toc
588         End
589
590         Menu "navigate_bookmarks"
591                 Item "Save Bookmark 1|S" "bookmark-save 1"
592                 Item "Save Bookmark 2" "bookmark-save 2"
593                 Item "Save Bookmark 3" "bookmark-save 3"
594                 Item "Save Bookmark 4" "bookmark-save 4"
595                 Item "Save Bookmark 5" "bookmark-save 5"
596                 Item "Clear Bookmarks|C" "bookmark-clear"
597                 Separator
598                 Item "Navigate Back|B" "bookmark-goto 0"
599                 Bookmarks
600         End
601
602 #
603 # TOOLS MENU
604 #
605
606         Menu "tools"
607                 Item "Spellchecker...|S" "dialog-show spellchecker"
608                 OptItem "Thesaurus...|T" "thesaurus-entry"
609                 Item "Statistics...|a" "statistics"
610                 Item "Check TeX|h" "buffer-chktex"
611                 Item "TeX Information|I" "dialog-show texinfo"
612                 Item "Compare...|C" "dialog-show compare"
613                 Separator
614 # A LOT of applications have Tools->Prefs. Remember this
615 # should be rarely used - Edit menu is not a good place to
616 # have it.
617                 Item "Reconfigure|R" "reconfigure"
618                 Item "Preferences...|P" "dialog-show prefs"
619         End
620
621 #
622 # HELP MENU
623 #
624         Menu "help"
625                 Item "Introduction|I" "help-open Intro"
626                 Item "Tutorial|T" "help-open Tutorial"
627                 Item "User's Guide|U" "help-open UserGuide"
628                 Item "Additional Features|F" "help-open Additional"
629                 Item "Embedded Objects|O" "help-open EmbeddedObjects"
630                 Item "Math|M" "help-open Math"
631                 Item "Customization|C" "help-open Customization"
632                 Item "Shortcuts|S" "help-open Shortcuts"
633                 Item "LyX Functions|y" "help-open LFUNs"
634                 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
635                 Submenu "Specific Manuals|p" "examples"
636                 Separator
637                 Item "About LyX|X" "dialog-show aboutlyx"
638         End
639
640         Menu "examples"
641                 Item "Beamer Presentations|B" "help-open beamer"
642                 Item "Braille|a" "help-open Braille"
643                 Item "Colored boxes|r" "help-open colored-boxes"
644                 Item "Feynman-diagram|F" "help-open FeynmanDiagrams"
645                 Item "Knitr|K" "help-open knitr"
646                 Item "LilyPond|P" "help-open lilypond"
647                 Item "Linguistics|L" "help-open linguistics"
648                 Item "Multilingual Captions|C" "help-open MultilingualCaptions"
649                 Item "Paralist|t" "help-open paralist"
650                 Item "PDF comments|D" "help-open PDF-comment"
651                 Item "PDF forms|o" "help-open PDF-form"
652                 Item "Hazard and Precautionary Statements|H" "help-open H-P-statements"
653                 Item "Sweave|S" "help-open sweave"
654                 Item "XY-pic|X" "help-open xypic"
655         End
656
657
658 End
659