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