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