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