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