]> git.lyx.org Git - lyx.git/blob - lib/ui/stdcontext.inc
Improve lyx2lyx roundtrip with cellvarwidth
[lyx.git] / lib / ui / stdcontext.inc
1 # -*- text -*-
2
3 # file stdcontext.inc
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
6
7 # author The LyX Team
8
9 # Full author contact details are available in file CREDITS.
10
11 # The interface is designed (partially) following the KDE Human Interface
12 # Guidelines (http://techbase.kde.org/Projects/Usability/HIG)
13
14 # Casing Rules:
15 # Capitalize all words in the element, with the following exceptions: 
16 # * Articles: a, an, the.
17 # * Conjunctions: and, but, for, not, so, yet ...
18 # * Prepositions of three or fewer letters: at, for, by, in, to ...
19 #   (except when the preposition is part of a verb phrase, such as "Check In")
20 # (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en)
21
22 Format 5
23
24 Menuset
25
26 #
27 # InsetMath context menu
28 #
29         Menu "insert_math_context"
30                 Item "Array Environment|y" "math-matrix 2 2"
31                 Item "Cases Environment|C" "math-insert \cases"
32                 Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column"
33                 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
34                 Item "Gathered Environment|h" "math-insert \gathered"
35                 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
36                 Separator
37                 Item "Delimiters...|r" "dialog-show mathdelimiter"
38                 Item "Matrix...|x" "dialog-show mathmatrix"
39                 Item "Macro|o" "math-macro newmacroname newcommand"
40         End
41
42         Menu "ams_environment"
43                 Item "AMS align Environment|a" "math-mutate align"
44                 Item "AMS alignat Environment|t" "math-mutate alignat"
45                 Item "AMS flalign Environment|f" "math-mutate flalign"
46                 Item "AMS gather Environment|g" "math-mutate gather"
47                 Item "AMS multline Environment|m" "math-mutate multline"
48         End
49
50         Menu "context-math"
51                 Item "Inline Formula|I" "math-mutate simple"
52                 Item "Displayed Formula|D" "math-mutate equation"
53                 Item "Eqnarray Environment|E" "math-mutate eqnarray"
54                 Submenu "AMS Environment|A" "ams_environment"
55                 Separator
56                 OptItem "Number Whole Formula|N" "math-number-toggle"
57                 OptItem "Number This Line|u" "math-number-line-toggle"
58                 OptItem "Equation Label|L" "label-insert"
59                 OptItem "Copy as Reference|R" "label-copy-as-reference"
60                 Separator
61                 OptItem "Cut" "cut"
62                 OptItem "Copy" "copy"
63                 OptItem "Paste" "paste"
64                 OptSubmenu "Paste Recent|e" "edit_pasterecent"
65                 Separator
66                 Submenu "Insert|s" "insert_math_context"
67                 Separator
68                 Item "Split Cell|C" "cell-split"
69                 OptSubmenu "Rows & Columns| " "edit_tabular_features"
70                 OptItem "Add Line Above|o" "tabular-feature add-hline-above"
71                 OptItem "Add Line Below|B" "tabular-feature add-hline-below"
72                 OptItem "Delete Line Above|v" "tabular-feature delete-hline-above"
73                 OptItem "Delete Line Below|w" "tabular-feature delete-hline-below"
74                 Separator
75                 OptItem "Add Line to Left" "tabular-feature add-vline-left"
76                 OptItem "Add Line to Right" "tabular-feature add-vline-right"
77                 OptItem "Delete Line to Left" "tabular-feature delete-vline-left"
78                 OptItem "Delete Line to Right" "tabular-feature delete-vline-right"
79                 Separator
80                 Item "Show Math Toolbar" "toolbar-toggle math toggle"
81                 Item "Show Math-Panels Toolbar" "toolbar-toggle math_panels toggle"
82                 Item "Show Table Toolbar" "toolbar-toggle table toggle"
83                 Separator
84                 Submenu "Use Computer Algebra System|m" "edit_math_extern"
85         End
86
87
88 #
89 # InsetRef context menu
90 #
91         Menu "context-ref"
92                 Item "Next Cross-Reference|N" "reference-next"
93                 Item "Go to Label|G" "label-goto"
94                 Separator
95                 Item "<Reference>|R" "inset-modify changetype ref"
96                 Item "(<Reference>)|e" "inset-modify changetype eqref"
97                 Item "<Page>|P" "inset-modify changetype pageref"
98                 Item "On Page <Page>|O" "inset-modify changetype vpageref"
99                 Item "<Reference> on Page <Page>|f" "inset-modify changetype vref"
100                 Item "Formatted Reference|t" "inset-modify changetype formatted"
101                 Item "Textual Reference|x" "inset-modify changetype nameref"
102                 Item "Label Only|L" "inset-modify changetype labelonly"
103                 Separator
104                 OptItem "Plural|a" "inset-modify ref toggle-plural"
105                 OptItem "Capitalize|C" "inset-modify ref toggle-caps"
106                 OptItem "No Prefix" "inset-modify ref toggle-noprefix"
107                 Separator
108                 Item "Settings...|S" "inset-settings"
109         End
110
111 #
112 # InsetLabel context menu
113 #
114         Menu "context-label"
115                 Item "Next Cross-Reference|N" "reference-next"
116                 Item "Go Back|G" "bookmark-goto 0"
117                 Separator
118                 Item "Copy as Reference|C" "label-copy-as-reference"
119                 Separator
120                 Item "Settings...|S" "inset-settings"
121         End
122
123
124 #
125 # InsetCitation context menu
126 #
127         Menu "context-citation"
128                 CiteStyles
129                 Separator
130                 Item "Settings...|S" "inset-settings"
131                 OptItem "Try to Open Citation Content...|O" "inset-edit"
132         End
133
134
135 #
136 # InsetBibtex context menu
137 #
138         Menu "context-bibtex"
139                 Item "Settings...|S" "inset-settings"
140                 Separator
141                 Item "Edit Database(s) Externally...|x" "inset-edit"
142         End
143
144 #
145 # InsetBibItem context menu
146 #
147         Menu "context-bibitem"
148                 Item "Settings...|S" "inset-settings"
149         End
150
151 #
152 # InsetCollapsible context menu
153 #
154         Menu "context-collapsible"
155                 OptItem "Open Inset|O" "inset-toggle open"
156                 OptItem "Close Inset|C" "inset-toggle close"
157                 Separator
158                 Item "Dissolve Inset|D" "inset-dissolve"
159                 OptItem "Settings...|S" "inset-settings"
160         End
161
162         Menu "context-conglomerate"
163                 Item "Show Label|L" "inset-toggle"
164                 Item "Dissolve Inset|D" "inset-dissolve charstyle"
165                 Separator
166                 OptItem "Settings...|S" "inset-settings"
167         End
168
169 #
170 # InsetArgument context menu
171 #
172
173         Menu "context-argument"
174                 Separator
175                 SwitchArguments
176         End
177
178         Menu "context-argument-conglomerate"
179                 Item "Show Label|L" "inset-toggle"
180                 Item "Dissolve Inset|D" "inset-dissolve"
181                 Separator
182                 SwitchArguments
183         End
184
185 #
186 # InsetBox context menu
187 #
188
189         Menu "context-box"
190                 Item "Frameless|l" "inset-modify changetype Frameless"
191                 Item "Simple Frame|F" "inset-modify changetype Boxed"
192                 Item "Simple Frame, Page Breaks|P" "inset-modify changetype Framed"
193                 Item "Oval, Thin|a" "inset-modify changetype ovalbox"
194                 Item "Oval, Thick|v" "inset-modify changetype Ovalbox"
195                 Item "Drop Shadow|w" "inset-modify changetype Shadowbox"
196                 Item "Shaded Background|B" "inset-modify changetype Shaded"
197                 Item "Double Frame|u" "inset-modify changetype Doublebox"
198         End
199
200
201 #
202 # InsetCaption context menu
203 #
204         Menu "context-caption"
205                 SwitchCaptions
206         End
207
208
209 #
210 # InsetNote context menu
211 #
212
213         Menu "context-note"
214                 Item "LyX Note|N" "inset-modify note Note Note"
215                 Item "Comment|m" "inset-modify note Note Comment"
216                 Item "Greyed Out|G" "inset-modify note Note Greyedout"
217                 Separator
218                 Item "Open All Notes|A" "inset-forall Note inset-toggle open"
219                 Item "Close All Notes|l" "inset-forall Note inset-toggle close"
220         End
221
222 #
223 # InsetPhantom context menu
224 #
225
226         Menu "context-phantom"
227                 Item "Phantom|P" "inset-modify phantom Phantom Phantom"
228                 Item "Horizontal Phantom|H" "inset-modify phantom Phantom HPhantom"
229                 Item "Vertical Phantom|V" "inset-modify phantom Phantom VPhantom"
230         End
231
232
233 #
234 # InsetQuotes context menu
235 #
236         Menu "context-quote"
237                 SwitchQuotes
238         End
239
240 #
241 # InsetSpace context menu
242 #
243         Menu "context-space"
244                 Item "Interword Space|w" "inset-modify space \space{}"
245                 Item "Protected Space|o" "inset-modify space ~"
246                 Item "Visible Space|a" "inset-modify space \textvisiblespace{}"
247                 Item "Thin Space|T" "inset-modify space \thinspace{}"
248                 Item "Medium Space|M" "inset-modify space \medspace{}"
249                 Item "Thick Space|i" "inset-modify space \thickspace{}"
250                 Item "Negative Thin Space|N" "inset-modify space \negthinspace{}"
251                 Item "Negative Medium Space|v" "inset-modify space \negmedspace{}"
252                 Item "Negative Thick Space|h" "inset-modify space \negthickspace{}"
253                 Item "Half Quad Space (Enskip)|k" "inset-modify space \enskip{}"
254                 Item "Protected Half Quad Space (Enspace)|E" "inset-modify space \enspace{}"
255                 Item "Quad Space|Q" "inset-modify space \quad{}"
256                 Item "Double Quad Space|u" "inset-modify space \qquad{}"
257                 Item "Horizontal Fill|F" "inset-modify space \hfill{}"
258                 Item "Protected Horizontal Fill|z" "inset-modify space \hspace*{\fill}"
259                 Item "Horizontal Fill (Dots)|D" "inset-modify space \dotfill{}"
260                 Item "Horizontal Fill (Rule)|R" "inset-modify space \hrulefill{}"
261                 Item "Horizontal Fill (Left Arrow)|L" "inset-modify space \leftarrowfill{}"
262                 Item "Horizontal Fill (Right Arrow)|g" "inset-modify space \rightarrowfill{}"
263                 Item "Horizontal Fill (Up Brace)|p" "inset-modify space \upbracefill{}"
264                 Item "Horizontal Fill (Down Brace)|B" "inset-modify space \downbracefill{}"
265                 Item "Custom Length|C" "command-sequence inset-modify space \hspace{}; inset-settings"
266                 Separator
267                 Item "Settings...|S" "inset-settings"
268         End
269
270 #
271 # InsetMathSpace context menu
272 #
273         Menu "context-mathspace"
274                 Item "Thin Space|T" "inset-modify mathspace \thinspace{}"
275                 Item "Medium Space|M" "inset-modify mathspace \medspace{}"
276                 Item "Thick Space|i" "inset-modify mathspace \thickspace{}"
277                 Item "Negative Thin Space|N" "inset-modify mathspace \negthinspace{}"
278                 Item "Negative Medium Space|v" "inset-modify mathspace \negmedspace{}"
279                 Item "Negative Thick Space|h" "inset-modify mathspace \negthickspace{}"
280                 Item "Half Quad Space (Enskip)|k" "inset-modify mathspace \enskip{}"
281                 Item "Quad Space|Q" "inset-modify mathspace \quad{}"
282                 Item "Double Quad Space|u" "inset-modify mathspace \qquad{}"
283                 Item "Custom Length|C" "command-sequence inset-modify mathspace \hspace{} \length 1in; inset-settings"
284                 Separator
285                 Item "Settings...|S" "inset-settings"
286         End
287
288 #
289 # InsetVSpace context menu
290 #
291         Menu "context-vspace"
292                 Item "DefSkip|D" "inset-modify vspace defskip"
293                 Item "SmallSkip|S" "inset-modify vspace smallskip"
294                 Item "MedSkip|M" "inset-modify vspace medskip"
295                 Item "BigSkip|B" "inset-modify vspace bigskip"
296                 Item "Half line height|H" "inset-modify vspace halfline"
297                 Item "Line height|L" "inset-modify vspace fullline"
298                 Item "VFill|F" "inset-modify vspace vfill"
299                 Item "Custom|C" "command-sequence inset-modify vspace custom; inset-settings"
300                 Separator
301                 Item "Settings...|e" "inset-settings"
302         End
303
304 #
305 # InsetInclude context menu
306 #
307         Menu "context-include"
308                 Item "Include|c" "inset-modify changetype include"
309                 Item "Input|p" "inset-modify changetype input"
310                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
311                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
312                 Item "Listing|L" "inset-modify changetype lstinputlisting"
313                 Separator
314                 Item "Settings...|S" "inset-settings"
315                 Separator
316                 Item "Edit Included File...|E" "inset-edit"
317         End
318
319 #
320 # InsetNewpage context menu
321 #
322         Menu "context-newpage"
323                 Item "New Page|N" "inset-modify newpage newpage"
324                 Item "Page Break|a" "inset-modify newpage pagebreak"
325                 Item "No Page Break|g" "inset-modify newpage nopagebreak"
326                 Item "Clear Page|C" "inset-modify newpage clearpage"
327                 Item "Clear Double Page|D" "inset-modify newpage cleardoublepage"
328         End
329
330 #
331 # InsetNewline context menu
332 #
333         Menu "context-newline"
334                 Item "Ragged Line Break|R" "inset-modify newline newline"
335                 Item "Justified Line Break|J" "inset-modify newline linebreak"
336         End
337
338 #
339 # InsetNewline context menu
340 #
341         Menu "context-separator"
342                 Item "Plain Separator|P" "inset-modify separator plain"
343                 Item "Paragraph Break|B" "inset-modify separator parbreak"
344         End
345
346 #
347 # Edit context menu
348 #
349         Menu "context-edit"
350                 spellingsuggestions
351                 Separator
352                 OptItem "Edit Externally..." "inset-edit"
353                 OptItem "End Editing Externally..." "inset-end-edit"
354                 Separator
355                 Item "Cut" "cut"
356                 Item "Copy" "copy"
357                 Item "Paste" "paste"
358                 Submenu "Paste Recent|e" "edit_pasterecent"
359                 Separator
360                 OptItem "Split Inset|t" "inset-split"
361                 Separator
362                 Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
363                 OptItem "Forward Search|F" "forward-search"
364                 Separator
365                 Item "Move Paragraph Up|o" "paragraph-move-up"
366                 Item "Move Paragraph Down|v" "paragraph-move-down"
367                 Separator
368                 EnvironmentSeparatorsContext
369                 Separator
370                 OptItem "Promote Section|r" "outline-out"
371                 OptItem "Demote Section|m" "outline-in"
372                 OptItem "Move Section Down|D" "outline-down"
373                 OptItem "Move Section Up|U" "outline-up"
374                 Arguments
375                 OptSubmenu "Insert Regular Expression" "context-edit-regexp"
376                 Separator
377                 OptItem "Accept Change|c" "change-accept"
378                 OptItem "Reject Change|j" "change-reject"
379                 Separator
380                 Submenu "Text Properties|x" "edit_textprops"
381                 OptSubmenu "Custom Text Styles|S" "edit_textstyles"
382                 Item "Paragraph Settings...|P" "layout-paragraph"
383                 OptItem "Unify Graphics Groups|U" "graphics-unify"
384                 LanguageSelector
385                 Separator
386                 Item "Fullscreen Mode" "ui-toggle fullscreen"
387                 OptItem "Close Current View" "tab-group-close"
388         End
389
390
391 #
392 # Regular Expression context menu
393 #
394         Menu "context-edit-regexp"
395                 Item "Anything|A" "command-sequence regexp-mode; self-insert .*"
396                 Item "Anything Non-Empty|o" "command-sequence regexp-mode; self-insert .+"
397                 Item "Any Word|W" "command-sequence regexp-mode; self-insert [a-z]+"
398                 Item "Any Number|N" "command-sequence regexp-mode; self-insert [0-9]+"
399                 Item "User Defined|U" "regexp-mode"
400         End
401
402
403 #
404 # Math Macro context menu
405 #
406
407         Menu "context-math-macro-definition"
408                 Item "Append Argument" "math-macro-add-param"
409                 Item "Remove Last Argument" "math-macro-remove-param"
410                 Separator
411                 Item "Make First Non-Optional Into Optional Argument" "math-macro-make-optional"
412                 Item "Make Last Optional Into Non-Optional Argument" "math-macro-make-nonoptional"
413                 Item "Insert Optional Argument" "math-macro-add-optional-param"
414                 Item "Remove Optional Argument" "math-macro-remove-optional-param"
415                 Separator
416                 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
417                 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
418                 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
419         End
420
421 #
422 # InsetGraphics context menu
423 #
424
425         Menu "context-graphics"
426                 Item "Settings...|S" "inset-settings"
427                 Item "Reload|R" "graphics-reload"
428                 Separator
429                 Item "Edit Externally...|x" "inset-edit"
430                 Separator
431                 GraphicsGroups
432         End
433
434 #
435 # InsetExternal context menu
436 #
437
438         Menu "context-external"
439                 Item "Settings...|S" "inset-settings"
440                 Separator
441                 Item "Edit Externally...|x" "inset-edit"
442         End
443
444 #
445 # InsetTabular context menu
446 #
447
448         Menu "table-borders"
449                 Item "Top|T" "tabular-feature toggle-line-top"
450                 Item "Bottom|B" "tabular-feature toggle-line-bottom"
451                 Item "Left|L" "tabular-feature toggle-line-left"
452                 Item "Right|R" "tabular-feature toggle-line-right"
453                 OptItem "Reset Formal Defaults|F" "tabular-feature reset-formal-default"
454         End
455
456         Menu "table-alignment"
457                 Item "Left|f" "command-alternatives tabular-feature m-align-left;tabular-feature align-left"
458                 Item "Center|C" "command-alternatives tabular-feature m-align-center;tabular-feature align-center"
459                 Item "Right|h" "command-alternatives tabular-feature m-align-right;tabular-feature align-right"
460                 Item "Decimal" "tabular-feature align-decimal"
461                 Separator
462                 Item "Top" "tabular-feature valign-top"
463                 Item "Middle" "tabular-feature valign-middle"
464                 Item "Bottom" "tabular-feature valign-bottom"
465         End
466
467         Menu "table-cols-rows"
468                 Item "Multicolumn|u" "tabular-feature multicolumn"
469                 Item "Multirow|w" "tabular-feature multirow"
470                 Separator
471                 Item "Append Row|A" "tabular-feature append-row"
472                 Item "Delete Row|D" "tabular-feature delete-row"
473                 Item "Copy Row|o" "tabular-feature copy-row"
474                 Item "Move Row Up" "tabular-feature move-row-up"
475                 Item "Move Row Down" "tabular-feature move-row-down"
476                 Separator
477                 Item "Append Column|p" "tabular-feature append-column"
478                 Item "Delete Column|e" "tabular-feature delete-column"
479                 Item "Copy Column|y" "tabular-feature copy-column"
480                 Item "Move Column Right|v" "tabular-feature move-column-right"
481                 Item "Move Column Left" "tabular-feature move-column-left"
482         End
483
484         Menu "context-tabular"
485                 Item "Multi-page Table|g" "tabular-feature toggle-longtabular"
486                 Item "Formal Style|m" "tabular-feature toggle-booktabs"
487                 Separator
488                 Submenu "Borders|d" "table-borders"
489                 Submenu "Alignment|i" "table-alignment"
490                 Submenu "Columns/Rows|C" "table-cols-rows"
491                 Separator
492                 Item "Settings...|S" "inset-settings tabular"
493         End
494
495 #
496 # InsetInfo context menu
497 #
498
499         Menu "context-info"
500                 InfoArguments
501                 Separator
502                 Item "Transform Field to Static Text|T" "inset-dissolve"
503                 Item "Copy Text|o" "inset-copy-as"
504                 Item "Settings...|S" "inset-settings info"
505         End
506
507 #
508 # InsetBranch context menu
509 #
510
511         Menu "context-branch"
512                 OptItem "Activate Branch|A" "branch-activate"
513                 OptItem "Deactivate Branch|e" "branch-deactivate"
514                 OptItem "Activate Branch in Master|M" "branch-master-activate"
515                 OptItem "Deactivate Branch in Master|v" "branch-master-deactivate"
516                 OptItem "Invert Inset|I" "branch-invert"
517                 OptItem "Add Unknown Branch|w" "branch-add"
518         End
519
520 #
521 # Toc Labels and References context menu
522 #
523
524         Menu "context-toc-label"
525                 OptItem "Copy as Reference|C" "label-copy-as-reference"
526                 OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference"
527                 Separator
528                 Item "Settings...|S" "inset-settings"
529         End
530
531 #
532 # Toc Branches context menu
533 #
534
535         Menu "context-toc-branch"
536                 OptItem "Activate Branch|A" "branch-activate"
537                 OptItem "Deactivate Branch|e" "branch-deactivate"
538                 Separator
539                 Item "Settings...|S" "inset-settings"
540         End
541
542 #
543 # Toc Graphics context menu
544 #
545
546         Menu "context-toc-graphics"
547                 Item "Settings...|S" "inset-settings"
548                 Separator
549                 Item "Edit Externally...|x" "inset-edit"
550         End
551
552 #
553 # Toc Citation context menu
554 #
555
556         Menu "context-toc-citation"
557                 Item "Settings...|S" "inset-settings"
558         End
559
560 #
561 # Toc Figures context menu
562 #
563
564         Menu "context-toc-figure"
565                 Item "Settings...|S" "inset-settings"
566         End
567
568 #
569 # Toc Listings context menu
570 #
571
572         Menu "context-toc-listing"
573                 Item "Settings...|S" "inset-settings"
574         End
575
576 #
577 # Toc Tables context menu
578 #
579
580         Menu "context-toc-table"
581                 Item "Settings...|S" "inset-settings"
582         End
583
584 #
585 # Toc Childs context menu
586 #
587         Menu "context-toc-child"
588                 Item "Include|c" "inset-modify changetype include"
589                 Item "Input|p" "inset-modify changetype input"
590                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
591                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
592                 Item "Listing|L" "inset-modify changetype lstinputlisting"
593                 Separator
594                 Item "Settings...|S" "inset-settings"
595                 Separator
596                 Item "Edit Included File...|E" "inset-edit"
597         End
598
599 #
600 # Toc Indices context menu
601 #
602
603         Menu "context-toc-index"
604                 OptItem "Settings...|S" "inset-settings"
605         End
606
607 #
608 # Index context menu
609 #
610
611         Menu "context-index"
612                 IndicesContext
613         End
614
615 #
616 # Index Lists context menu
617 #
618
619         Menu "context-indexprint"
620                 Item "All Indexes|A" "inset-modify check-printindex*"
621                 IndicesListsContext
622                 Separator
623                 Item "Subindex|b" "inset-modify toggle-subindex"
624                 Separator
625                 OptItem "Settings...|S" "inset-settings"
626         End
627
628 #
629 # Nomencl List context menu
630 #
631
632         Menu "context-nomenclprint"
633                 OptItem "Settings...|S" "inset-settings"
634         End
635
636
637 # InsetPreview context menu
638 #
639
640         Menu "context-preview"
641                 Item "Dissolve Inset|D" "inset-dissolve"
642         End
643
644
645 #
646 # Toc Changes context menu
647 #
648
649         Menu "context-toc-change"
650                 Item "Accept Change|c" "change-accept"
651                 Item "Reject Change|R" "change-reject"
652         End
653         
654 #
655 # Toc Table of Context context menu
656 #
657
658         Menu "context-toc-tableofcontents"
659                 Item "Promote Section|P" "outline-out"
660                 Item "Demote Section|D" "outline-in"
661                 Item "Move Section Up|U" "outline-up"
662                 Item "Move Section Down|w" "outline-down"
663                 Separator
664                 Item "Select Section|S" "section-select"
665         End
666
667 #
668 # InsetERT context menu
669 #
670         Menu "context-ert"
671                 # repeat 1 is added as a work-around to not indicate this action as toggable
672                 Item "Wrap by Preview|y" "command-sequence repeat 1;inset-toggle;char-forward;char-backward;char-forward-select;preview-insert;char-backward;char-backward;inset-toggle"
673         End
674
675 #
676 # InsetHyperlink context menu
677 #
678         Menu "context-hyperlink"
679                 Item "Settings...|S" "inset-settings"
680                 Separator
681                 Item "Open Target...|O" "inset-edit"
682         End
683
684 #
685 # InsetCounter context menu
686 #
687         Menu "context-counter"
688                 Item "Settings...|S" "inset-settings"
689         End
690
691 #
692 # Toolbar context menu
693 #
694         Menu "context-toolbars"
695                 Toolbars
696                 Separator
697                 Item "Lock Toolbars|L" "toolbar-movable *"
698                 Separator
699                 Item "Small-sized Icons" "icon-size small"
700                 Item "Normal-sized Icons" "icon-size normal"
701                 Item "Big-sized Icons" "icon-size big"
702                 Item "Huge-sized Icons" "icon-size huge"
703                 Item "Giant-sized Icons" "icon-size giant"
704         End
705
706 End