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