]> git.lyx.org Git - features.git/blob - lib/ui/stdcontext.inc
fix remaining bits of bug #6709
[features.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://usability.kde.org/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 Menuset
23
24 #
25 # InsetMath context menu
26 #
27         Menu "insert_math_context"
28                 Item "Array Environment|y" "math-matrix 2 2"
29                 Item "Cases Environment|C" "math-insert \cases"
30                 Item "Aligned Environment|l" "command-sequence math-insert \aligned; inset-modify tabular append-column"
31                 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; inset-modify tabular append-column"
32                 Item "Gathered Environment|h" "math-insert \gathered"
33                 Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular append-column"
34                 Separator
35                 Item "Delimiters...|r" "dialog-show mathdelimiter"
36                 Item "Matrix...|x" "dialog-show mathmatrix"
37                 Item "Macro|o" "math-macro newmacroname newcommand"
38         End
39
40         Menu "ams_environment"
41                 Item "AMS align Environment|a" "math-mutate align"
42                 Item "AMS alignat Environment|t" "math-mutate alignat"
43                 Item "AMS flalign Environment|f" "math-mutate flalign"
44                 Item "AMS gather Environment|g" "math-mutate gather"
45                 Item "AMS multline Environment|m" "math-mutate multline"
46         End
47
48         Menu "context-math"
49                 Item "Inline Formula|I" "math-mutate simple"
50                 Item "Displayed Formula|D" "math-mutate equation"
51                 Item "Eqnarray Environment|E" "math-mutate eqnarray"
52                 Submenu "AMS Environment|A" "ams_environment"
53                 Separator
54                 OptItem "Number Whole Formula|N" "math-number-toggle"
55                 OptItem "Number This Line|u" "math-number-line-toggle"
56                 OptItem "Equation Label|L" "label-insert"
57                 OptItem "Copy as Reference|R" "copy-label-as-reference"
58                 Separator
59                 Item "Split Cell|C" "cell-split"
60                 Separator
61                 Submenu "Insert|s" "insert_math_context"
62                 Separator
63                 OptItem "Add Line Above|o" "inset-modify tabular add-hline-above"
64                 OptItem "Add Line Below|B" "inset-modify tabular add-hline-below"
65                 OptItem "Delete Line Above|v" "inset-modify tabular delete-hline-above"
66                 OptItem "Delete Line Below|w" "inset-modify tabular delete-hline-below"
67                 Separator
68                 OptItem "Add Line to Left" "inset-modify tabular add-vline-left"
69                 OptItem "Add Line to Right" "inset-modify tabular add-vline-right"
70                 OptItem "Delete Line to Left" "inset-modify tabular delete-vline-left"
71                 OptItem "Delete Line to Right" "inset-modify tabular delete-vline-right"
72                 Separator
73                 Item "Show Math Toolbar" "toolbar-toggle math toggle"
74                 Item "Show Math-Panels Toolbar" "toolbar-toggle math_panels toggle"
75                 Item "Show Table Toolbar" "toolbar-toggle table toggle"
76                 Separator
77                 Submenu "Use Computer Algebra System|m" "edit_math_extern"
78         End
79
80
81 #
82 # InsetRef context menu
83 #
84         Menu "context-ref"
85                 Item "Next Cross-Reference|N" "reference-next"
86                 Item "Go to Label|G" "label-goto"
87                 Separator
88                 Item "<Reference>|R" "inset-modify changetype ref"
89                 Item "(<Reference>)|e" "inset-modify changetype eqref"
90                 Item "<Page>|P" "inset-modify changetype pageref"
91                 Item "On Page <Page>|O" "inset-modify changetype vpageref"
92                 Item "<Reference> on Page <Page>|f" "inset-modify changetype vref"
93                 Item "Formatted Reference|t" "inset-modify changetype formatted"
94                 Item "Textual Reference|x" "inset-modify changetype nameref"
95                 Separator
96                 Item "Settings...|S" "inset-settings"
97         End
98
99 #
100 # InsetLabel context menu
101 #
102         Menu "context-label"
103                 Item "Next Cross-Reference|N" "reference-next"
104                 Item "Go Back|G" "bookmark-goto 0"
105                 Separator
106                 Item "Copy as Reference|C" "copy-label-as-reference"
107                 Separator
108                 Item "Settings...|S" "inset-settings"
109         End
110
111
112 #
113 # InsetCitation context menu
114 #
115         Menu "context-citation"
116                 CiteStyles
117                 Separator
118                 Item "Settings...|S" "inset-settings"
119         End
120
121
122 #
123 # InsetBibtex context menu
124 #
125         Menu "context-bibtex"
126                 Item "Settings...|S" "inset-settings"
127                 Separator
128                 Item "Edit Database(s) Externally...|x" "inset-edit"
129         End
130
131
132 #
133 # InsetCollapsable context menu
134 #
135         Menu "context-collapsable"
136                 OptItem "Open Inset|O" "inset-toggle open"
137                 OptItem "Close Inset|C" "inset-toggle close"
138                 Separator
139                 Item "Dissolve Inset|D" "inset-dissolve"
140                 OptItem "Settings...|S" "inset-settings"
141         End
142
143         Menu "context-conglomerate"
144                 Item "Show Label|L" "inset-toggle"
145                 Item "Dissolve Inset|D" "inset-dissolve charstyle"
146                 Separator
147                 OptItem "Settings...|S" "inset-settings"
148         End
149
150 #
151 # InsetBox context menu
152 #
153
154         Menu "context-box"
155                 Item "Frameless|l" "inset-modify changetype Frameless"
156                 Item "Simple Frame|F" "inset-modify changetype Boxed"
157                 Item "Simple Frame, Page Breaks|P" "inset-modify changetype Framed"
158                 Item "Oval, Thin|a" "inset-modify changetype ovalbox"
159                 Item "Oval, Thick|v" "inset-modify changetype Ovalbox"
160                 Item "Drop Shadow|w" "inset-modify changetype Shadowbox"
161                 Item "Shaded Background|B" "inset-modify changetype Shaded"
162                 Item "Double Frame|u" "inset-modify changetype Doublebox"
163         End
164
165 #
166 # InsetNote context menu
167 #
168
169         Menu "context-note"
170                 Item "LyX Note|N" "inset-modify note Note Note"
171                 Item "Comment|m" "inset-modify note Note Comment"
172                 Item "Greyed Out|G" "inset-modify note Note Greyedout"
173                 Separator
174                 Item "Open All Notes|A" "inset-forall Note inset-toggle open"
175                 Item "Close All Notes|l" "inset-forall Note inset-toggle close"
176         End
177
178 #
179 # InsetPhantom context menu
180 #
181
182         Menu "context-phantom"
183                 Item "Phantom|P" "inset-modify phantom Phantom Phantom"
184                 Item "Horizontal Phantom|H" "inset-modify phantom Phantom HPhantom"
185                 Item "Vertical Phantom|V" "inset-modify phantom Phantom VPhantom"
186                 Separator
187                 Item "Dissolve Inset|D" "inset-dissolve"
188         End
189
190 #
191 # InsetSpace context menu
192 #
193         Menu "context-space"
194                 Item "Interword Space|w" "inset-modify space \space{}"
195                 Item "Protected Space|o" "inset-modify space ~"
196                 Item "Thin Space|T" "inset-modify space \thinspace{}"
197                 Item "Negative Thin Space|N" "inset-modify space \negthinspace{}"
198                 Item "Half Quad Space (Enskip)|k" "inset-modify space \enskip{}"
199                 Item "Protected Half Quad Space (Enspace)|E" "inset-modify space \enspace{}"
200                 Item "Quad Space|Q" "inset-modify space \quad{}"
201                 Item "Double Quad Space|u" "inset-modify space \qquad{}"
202                 Item "Horizontal Fill|F" "inset-modify space \hfill{}"
203                 Item "Protected Horizontal Fill|i" "inset-modify space \hspace*{\fill}"
204                 Item "Horizontal Fill (Dots)|D" "inset-modify space \dotfill{}"
205                 Item "Horizontal Fill (Rule)|R" "inset-modify space \hrulefill{}"
206                 Item "Horizontal Fill (Left Arrow)|L" "inset-modify space \leftarrowfill{}"
207                 Item "Horizontal Fill (Right Arrow)|g" "inset-modify space \rightarrowfill{}"
208                 Item "Horizontal Fill (Up Brace)|p" "inset-modify space \upbracefill{}"
209                 Item "Horizontal Fill (Down Brace)|B" "inset-modify space \downbracefill{}"
210                 Item "Custom Length|C" "command-sequence inset-modify space \hspace{} \length 1in; inset-settings"
211                 Separator
212                 Item "Settings...|S" "inset-settings"
213         End
214
215 #
216 # InsetMathSpace context menu
217 #
218         Menu "context-mathspace"
219                 Item "Thin Space|T" "inset-modify mathspace \thinspace{}"
220                 Item "Medium Space|M" "inset-modify mathspace \medspace{}"
221                 Item "Thick Space|h" "inset-modify mathspace \thickspace{}"
222                 Item "Negative Thin Space|N" "inset-modify mathspace \negthinspace{}"
223                 Item "Negative Medium Space|u" "inset-modify mathspace \negmedspace{}"
224                 Item "Negative Thick Space|i" "inset-modify mathspace \negthickspace{}"
225                 Item "Half Quad Space (Enskip)|k" "inset-modify mathspace \enskip{}"
226                 Item "Quad Space|Q" "inset-modify mathspace \quad{}"
227                 Item "Double Quad Space|u" "inset-modify mathspace \qquad{}"
228                 Item "Custom Length|C" "command-sequence inset-modify mathspace \hspace{} \length 1in; inset-settings"
229                 Separator
230                 Item "Settings...|S" "inset-settings"
231         End
232
233 #
234 # InsetVSpace context menu
235 #
236         Menu "context-vspace"
237                 Item "DefSkip|D" "inset-modify vspace defskip"
238                 Item "SmallSkip|S" "inset-modify vspace smallskip"
239                 Item "MedSkip|M" "inset-modify vspace medskip"
240                 Item "BigSkip|B" "inset-modify vspace bigskip"
241                 Item "VFill|F" "inset-modify vspace vfill"
242                 Item "Custom|C" "command-sequence inset-modify vspace 1in; inset-settings"
243                 Separator
244                 Item "Settings...|e" "inset-settings"
245         End
246
247 #
248 # InsetInclude context menu
249 #
250         Menu "context-include"
251                 Item "Include|c" "inset-modify changetype include"
252                 Item "Input|p" "inset-modify changetype input"
253                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
254                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
255                 Item "Listing|L" "inset-modify changetype lstinputlisting"
256                 Separator
257                 Item "Settings...|S" "inset-settings"
258                 Separator
259                 Item "Edit Included File...|E" "inset-edit"
260         End
261
262 #
263 # InsetNewpage context menu
264 #
265         Menu "context-newpage"
266                 Item "New Page|N" "inset-modify newpage newpage"
267                 Item "Page Break|a" "inset-modify newpage pagebreak"
268                 Item "Clear Page|C" "inset-modify newpage clearpage"
269                 Item "Clear Double Page|D" "inset-modify newpage cleardoublepage"
270         End
271
272 #
273 # InsetNewline context menu
274 #
275         Menu "context-newline"
276                 Item "Ragged Line Break|R" "inset-modify newline newline"
277                 Item "Justified Line Break|J" "inset-modify newline linebreak"
278         End
279
280 #
281 # Edit context menu
282 #
283         Menu "context-edit"
284                 spellingsuggestions
285                 Separator
286                 Item "Cut" "cut"
287                 Item "Copy" "copy"
288                 Item "Paste" "paste"
289                 Submenu "Paste Recent|e" "edit_pasterecent"
290                 Separator
291                 Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
292                 OptItem "Forward search|F" "forward-search"
293                 Separator
294                 Item "Move Paragraph Up|o" "paragraph-move-up"
295                 Item "Move Paragraph Down|v" "paragraph-move-down"
296                 Separator
297                 OptItem "Promote Section|r" "outline-out"
298                 OptItem "Demote Section|m" "outline-in"
299                 OptItem "Move Section Down|D" "outline-down"
300                 OptItem "Move Section Up|U" "outline-up"
301                 OptItem "Insert Short Title|T" "argument-insert"
302                 OptSubMenu "Insert Regular Expression..." "context-edit-regexp"
303                 Separator
304                 OptItem "Accept Change|c" "change-accept"
305                 OptItem "Reject Change|j" "change-reject"
306                 Separator
307                 Item "Apply Last Text Style|A" "textstyle-apply"
308                 Submenu "Text Style|S" "edit_textstyles"
309                 Item "Paragraph Settings...|P" "layout-paragraph"
310                 LanguageSelector
311                 Separator
312                 Item "Fullscreen Mode" "ui-toggle fullscreen"
313         End
314
315
316 #
317 # Regular Expression context menu
318 #
319         Menu "context-edit-regexp"
320                 Item "Anything|A" "command-sequence regexp-mode; self-insert .*"
321                 Item "Anything Non-Empty|o" "command-sequence regexp-mode; self-insert .+"
322                 Item "Any Word|W" "command-sequence regexp-mode; self-insert [a-z]+"
323                 Item "Any Number|N" "command-sequence regexp-mode; self-insert [0-9]+"
324                 Item "User Defined|U" "regexp-mode"
325         End
326
327
328 #
329 # Math Macro context menu
330 #
331
332         Menu "context-math-macro-definition"
333                 Item "Append Argument" "math-macro-add-param"
334                 Item "Remove Last Argument" "math-macro-remove-param"
335                 Separator
336                 Item "Make First Non-Optional Into Optional Argument" "math-macro-make-optional"
337                 Item "Make Last Optional Into Non-Optional Argument" "math-macro-make-nonoptional"
338                 Item "Insert Optional Argument" "math-macro-add-optional-param"
339                 Item "Remove Optional Argument" "math-macro-remove-optional-param"
340                 Separator
341                 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
342                 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
343                 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
344         End
345
346 #
347 # InsetGraphics context menu
348 #
349
350         Menu "context-graphics"
351                 Item "Settings...|S" "inset-settings"
352                 Item "Reload|R" "graphics-reload"
353                 Separator
354                 Item "Edit Externally...|x" "inset-edit"
355                 Separator
356                 GraphicsGroups
357         End
358
359 #
360 # InsetExternal context menu
361 #
362
363         Menu "context-external"
364                 Item "Settings...|S" "inset-settings"
365                 Separator
366                 Item "Edit Externally...|x" "inset-edit"
367         End
368
369 #
370 # InsetTabular context menu
371 #
372
373         Menu "context-tabular"
374                 Item "Multicolumn|u" "inset-modify tabular multicolumn"
375                 Item "Multirow|w" "inset-modify tabular multirow"
376                 Separator
377                 Item "Top Line|n" "inset-modify tabular toggle-line-top"
378                 Item "Bottom Line|i" "inset-modify tabular toggle-line-bottom"
379                 Item "Left Line|L" "inset-modify tabular toggle-line-left"
380                 Item "Right Line|R" "inset-modify tabular toggle-line-right"
381                 Separator
382                 Item "Left|f" "command-alternatives inset-modify tabular m-align-left;inset-modify tabular align-left"
383                 Item "Center|C" "command-alternatives inset-modify tabular m-align-center;inset-modify tabular align-center"
384                 Item "Right|h" "command-alternatives inset-modify tabular m-align-right;inset-modify tabular align-right"
385                 Item "Decimal" "inset-modify tabular align-decimal"
386                 Separator
387                 Item "Top|T" "inset-modify tabular valign-top"
388                 Item "Middle|M" "inset-modify tabular valign-middle"
389                 Item "Bottom|B" "inset-modify tabular valign-bottom"
390                 Separator
391                 Item "Append Row|A" "inset-modify tabular append-row"
392                 Item "Delete Row|D" "inset-modify tabular delete-row"
393                 Item "Copy Row|o" "inset-modify tabular copy-row"
394                 # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
395                 Separator
396                 Item "Append Column|p" "inset-modify tabular append-column"
397                 Item "Delete Column|e" "inset-modify tabular delete-column"
398                 Item "Copy Column|y" "inset-modify tabular copy-column"
399                 # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
400                 Separator
401                 Item "Settings...|g" "inset-settings tabular"
402         End
403
404 #
405 # InsetInfo context menu
406 #
407
408         Menu "buffer-info"
409                 Item "File|F" "inset-modify buffer name"
410                 Item "Path|P" "inset-modify buffer path"
411                 Item "Class|C" "inset-modify buffer class"
412                 Separator
413                 Item "File Revision|R" "inset-modify buffer vcs-revision"
414                 Item "Tree Revision|T" "inset-modify buffer vcs-tree-revision"
415                 Item "Revision Author|A" "inset-modify buffer vcs-author"
416                 Item "Revision Date|D" "inset-modify buffer vcs-date"
417                 Item "Revision Time|i" "inset-modify buffer vcs-time"
418                 Separator
419                 Item "LyX Version|X" "inset-modify lyxinfo version"
420         End
421
422         Menu "context-info"
423                 Submenu "Document Info|D" "buffer-info"
424                 Separator
425                 Item "Copy Text|o" "inset-copy-as"
426                 Item "Settings...|S" "inset-settings info"
427         End
428
429 #
430 # InsetBranch context menu
431 #
432
433         Menu "context-branch"
434                 OptItem "Activate Branch|A" "branch-activate"
435                 OptItem "Deactivate Branch|e" "branch-deactivate"
436         End
437
438 #
439 # Toc Labels and References context menu
440 #
441
442         Menu "context-toc-label"
443                 OptItem "Copy as Reference|C" "copy-label-as-reference"
444                 OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference"
445                 Separator
446                 Item "Settings...|S" "inset-settings"
447         End
448
449 #
450 # Toc Branches context menu
451 #
452
453         Menu "context-toc-branch"
454                 OptItem "Activate Branch|A" "branch-activate"
455                 OptItem "Deactivate Branch|e" "branch-deactivate"
456                 Separator
457                 Item "Settings...|S" "inset-settings"
458         End
459
460 #
461 # Toc Graphics context menu
462 #
463
464         Menu "context-toc-graphics"
465                 Item "Settings...|S" "inset-settings"
466                 Separator
467                 Item "Edit Externally...|x" "inset-edit"
468         End
469
470 #
471 # Toc Citation context menu
472 #
473
474         Menu "context-toc-citation"
475                 Item "Settings...|S" "inset-settings"
476         End
477
478 #
479 # Toc Figures context menu
480 #
481
482         Menu "context-toc-figure"
483                 Item "Settings...|S" "inset-settings"
484         End
485
486 #
487 # Toc Listings context menu
488 #
489
490         Menu "context-toc-listing"
491                 Item "Settings...|S" "inset-settings"
492         End
493
494 #
495 # Toc Tables context menu
496 #
497
498         Menu "context-toc-table"
499                 Item "Settings...|S" "inset-settings"
500         End
501
502 #
503 # Toc Childs context menu
504 #
505         Menu "context-toc-child"
506                 Item "Include|c" "inset-modify changetype include"
507                 Item "Input|p" "inset-modify changetype input"
508                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
509                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
510                 Item "Listing|L" "inset-modify changetype lstinputlisting"
511                 Separator
512                 Item "Settings...|S" "inset-settings"
513                 Separator
514                 Item "Edit Included File...|E" "inset-edit"
515         End
516
517 #
518 # Toc Indices context menu
519 #
520
521         Menu "context-toc-index"
522                 OptItem "Settings...|S" "inset-settings"
523         End
524
525 #
526 # Index context menu
527 #
528
529         Menu "context-index"
530                 IndicesContext
531         End
532
533 #
534 # Index Lists context menu
535 #
536
537         Menu "context-indexprint"
538                 Item "All Indexes|A" "inset-modify check-printindex*"
539                 IndicesListsContext
540                 Separator
541                 Item "Subindex|b" "inset-modify toggle-subindex"
542                 Separator
543                 OptItem "Settings...|S" "inset-settings"
544         End
545
546 #
547 # Nomencl List context menu
548 #
549
550         Menu "context-nomenclprint"
551                 OptItem "Settings...|S" "inset-settings"
552         End
553
554
555 # InsetPreview context menu
556 #
557
558         Menu "context-preview"
559                 Item "Dissolve Inset|D" "inset-dissolve"
560         End
561
562
563 #
564 # Toc Changes context menu
565 #
566
567         Menu "context-toc-change"
568                 Item "Accept Change|c" "change-accept"
569                 Item "Reject Change|R" "change-reject"
570         End     
571         
572 #
573 # Toc Table of Context context menu
574 #
575
576         Menu "context-toc-tableofcontents"
577                 Item "Promote Section|P" "outline-out"
578                 Item "Demote Section|D" "outline-in"
579                 Item "Move Section Up|U" "outline-up"
580                 Item "Move Section Down|w" "outline-down"
581                 Separator
582                 Item "Select Section|S" "section-select"
583         End     
584
585 #
586 # InsetERT context menu
587 #
588         Menu "context-ert"
589                 Item "Wrap by Preview|P" "command-sequence inset-begin;char-backward;char-forward-select;preview-insert"
590         End
591
592 #
593 # InsetHyperlink context menu
594 #
595         Menu "context-hyperlink"
596                 Item "Settings...|S" "inset-settings"
597                 Separator
598                 Item "Open Target...|O" "inset-edit"
599         End
600
601 End