]> git.lyx.org Git - features.git/blob - lib/ui/stdcontext.inc
Forgot these. Thanks, Pavel.
[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; inset-modify tabular append-column"
31                 Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; inset-modify tabular 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; 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 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" "inset-forall Note inset-toggle open"
183                 Item "Close All Notes|l" "inset-forall Note inset-toggle close"
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                 OptItem "Forward search|F" "forward-search"
303                 Separator
304                 Item "Move Paragraph Up|o" "paragraph-move-up"
305                 Item "Move Paragraph Down|v" "paragraph-move-down"
306                 Separator
307                 OptItem "Promote Section|r" "outline-out"
308                 OptItem "Demote Section|m" "outline-in"
309                 OptItem "Move Section Down|D" "outline-down"
310                 OptItem "Move Section Up|U" "outline-up"
311                 OptItem "Insert Short Title|T" "optional-insert"
312                 OptSubMenu "Insert Regular Expression..." "context-edit-regexp"
313                 Separator
314                 OptItem "Accept Change|c" "change-accept"
315                 OptItem "Reject Change|j" "change-reject"
316                 Separator
317                 Item "Apply Last Text Style|A" "textstyle-apply"
318                 Submenu "Text Style|S" "edit_textstyles"
319                 Item "Paragraph Settings...|P" "layout-paragraph"
320                 LanguageSelector
321                 Separator
322                 Item "Fullscreen Mode" "ui-toggle fullscreen"
323         End
324
325
326 #
327 # Regular Expression context menu
328 #
329         Menu "context-edit-regexp"
330                 Item "Anything|A" "command-sequence regexp-mode; self-insert .*"
331                 Item "Anything Non-Empty|o" "command-sequence regexp-mode; self-insert .+"
332                 Item "Any Word|W" "command-sequence regexp-mode; self-insert [a-z]+"
333                 Item "Any Number|N" "command-sequence regexp-mode; self-insert [0-9]+"
334                 Item "User Defined|U" "regexp-mode"
335         End
336
337
338 #
339 # Math Macro context menu
340 #
341
342         Menu "context-math-macro-definition"
343                 Item "Append Argument" "math-macro-add-param"
344                 Item "Remove Last Argument" "math-macro-remove-param"
345                 Separator
346                 Item "Make First Non-Optional Into Optional Argument" "math-macro-make-optional"
347                 Item "Make Last Optional Into Non-Optional Argument" "math-macro-make-nonoptional"
348                 Item "Insert Optional Argument" "math-macro-add-optional-param"
349                 Item "Remove Optional Argument" "math-macro-remove-optional-param"
350                 Separator
351                 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
352                 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
353                 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
354         End
355
356 #
357 # InsetListing context menu
358 #
359
360         Menu "context-listings"
361                 Item "Cut" "cut"
362                 Item "Copy" "copy"
363                 Item "Paste" "paste"
364                 Submenu "Paste Recent|e" "edit_pasterecent"
365                 Separator
366                 OptItem "Open Inset|O" "inset-toggle open"
367                 OptItem "Close Inset|C" "inset-toggle close"
368                 Separator
369                 Item "Dissolve Inset|D" "inset-dissolve"
370                 Item "Settings...|S" "inset-settings listings"
371         End
372
373 #
374 # InsetGraphics context menu
375 #
376
377         Menu "context-graphics"
378                 Item "Settings...|S" "inset-settings"
379                 Item "Reload|R" "graphics-reload"
380                 Separator
381                 Item "Edit Externally...|x" "inset-edit"
382                 Separator
383                 GraphicsGroups
384         End
385
386 #
387 # InsetExternal context menu
388 #
389
390         Menu "context-external"
391                 Item "Settings...|S" "inset-settings"
392                 Separator
393                 Item "Edit Externally...|x" "inset-edit"
394         End
395
396 #
397 # InsetTabular context menu
398 #
399
400         Menu "context-tabular"
401                 Item "Multicolumn|M" "inset-modify tabular multicolumn"
402                 Item "Multirow|i" "inset-modify tabular multirow"
403                 Separator
404                 Item "Top Line|T" "inset-modify tabular toggle-line-top"
405                 Item "Bottom Line|B" "inset-modify tabular toggle-line-bottom"
406                 Item "Left Line|L" "inset-modify tabular toggle-line-left"
407                 Item "Right Line|R" "inset-modify tabular toggle-line-right"
408                 Separator
409                 Item "Left|f" "inset-modify tabular align-left"
410                 Item "Center|C" "inset-modify tabular align-center"
411                 Item "Right|h" "inset-modify tabular align-right"
412                 Separator
413                 Item "Top|T" "inset-modify tabular valign-top"
414                 Item "Middle|d" "inset-modify tabular valign-middle"
415                 Item "Bottom|B" "inset-modify tabular valign-bottom"
416                 Separator
417                 Item "Add Row|A" "inset-modify tabular append-row"
418                 Item "Delete Row|D" "inset-modify tabular delete-row"
419                 Item "Copy Row|o" "inset-modify tabular copy-row"
420                 # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
421                 Separator
422                 Item "Add Column|u" "inset-modify tabular append-column"
423                 Item "Delete Column|e" "inset-modify tabular delete-column"
424                 Item "Copy Column|p" "inset-modify tabular copy-column"
425                 # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
426                 Separator
427                 Item "Settings...|g" "inset-settings tabular"
428         End
429
430 #
431 # InsetInfo context menu
432 #
433
434         Menu "buffer-info"
435                 Item "File|F" "inset-modify buffer name"
436                 Item "Path|P" "inset-modify buffer path"
437                 Item "Class|C" "inset-modify buffer class"
438                 Separator
439                 Item "File Revision|R" "inset-modify buffer vcs-revision"
440                 Item "Tree Revision|T" "inset-modify buffer vcs-tree-revision"
441                 Item "Revision Author|A" "inset-modify buffer vcs-author"
442                 Item "Revision Date|D" "inset-modify buffer vcs-date"
443                 Item "Revision Time|i" "inset-modify buffer vcs-time"
444                 Separator
445                 Item "LyX Version|x" "inset-modify lyxinfo version"
446         End
447
448
449 #
450 # InsetInfo context menu
451 #
452
453         Menu "context-info"
454                 Submenu "Document Info|D" "buffer-info"
455                 Separator
456                 Item "Settings...|S" "inset-settings info"
457         End
458
459 #
460 # InsetBranch context menu
461 #
462
463         Menu "context-branch"
464                 OptItem "Open Inset|O" "inset-toggle open"
465                 OptItem "Close Inset|C" "inset-toggle close"
466                 Separator
467                 OptItem "Activate Branch|A" "branch-activate"
468                 OptItem "Deactivate Branch|e" "branch-deactivate"
469                 Separator
470                 Item "Dissolve Inset|D" "inset-dissolve"
471                 OptItem "Settings...|S" "inset-settings"
472         End
473
474 #
475 # Toc Labels and References context menu
476 #
477
478         Menu "context-toc-label"
479                 OptItem "Copy as Reference|C" "copy-label-as-reference"
480                 OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference"
481                 Separator
482                 Item "Settings...|S" "inset-settings"
483         End
484
485 #
486 # Toc Branches context menu
487 #
488
489         Menu "context-toc-branch"
490                 OptItem "Activate Branch|A" "branch-activate"
491                 OptItem "Deactivate Branch|e" "branch-deactivate"
492                 Separator
493                 Item "Settings...|S" "inset-settings"
494         End
495
496 #
497 # Toc Graphics context menu
498 #
499
500         Menu "context-toc-graphics"
501                 Item "Settings...|S" "inset-settings"
502                 Separator
503                 Item "Edit Externally...|x" "inset-edit"
504         End
505
506 #
507 # Toc Citation context menu
508 #
509
510         Menu "context-toc-citation"
511                 Item "Settings...|S" "inset-settings"
512         End
513
514 #
515 # Toc Figures context menu
516 #
517
518         Menu "context-toc-figure"
519                 Item "Settings...|S" "inset-settings"
520         End
521
522 #
523 # Toc Listings context menu
524 #
525
526         Menu "context-toc-listing"
527                 Item "Settings...|S" "inset-settings"
528         End
529
530 #
531 # Toc Tables context menu
532 #
533
534         Menu "context-toc-table"
535                 Item "Settings...|S" "inset-settings"
536         End
537
538 #
539 # Toc Childs context menu
540 #
541         Menu "context-toc-child"
542                 Item "Include|c" "inset-modify changetype include"
543                 Item "Input|p" "inset-modify changetype input"
544                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
545                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
546                 Item "Listing|L" "inset-modify changetype lstinputlisting"
547                 Separator
548                 Item "Settings...|S" "inset-settings"
549                 Separator
550                 Item "Edit Included File...|E" "inset-edit"
551         End
552
553 #
554 # Toc Indices context menu
555 #
556
557         Menu "context-toc-index"
558                 OptItem "Settings...|S" "inset-settings"
559         End
560
561 #
562 # Index context menu
563 #
564
565         Menu "context-index"
566                 IndicesContext
567                 Separator
568                 OptItem "Open Inset|O" "inset-toggle open"
569                 OptItem "Close Inset|C" "inset-toggle close"
570                 Separator
571                 Item "Dissolve Inset|D" "inset-dissolve"
572                 Separator
573                 OptItem "Settings...|S" "inset-settings"
574         End
575
576 #
577 # Index Lists context menu
578 #
579
580         Menu "context-indexprint"
581                 Item "All Indexes|A" "inset-modify check-printindex*"
582                 IndicesListsContext
583                 Separator
584                 Item "Subindex|b" "inset-modify toggle-subindex"
585                 Separator
586                 OptItem "Settings...|S" "inset-settings"
587         End
588
589 #
590 # Nomencl List context menu
591 #
592
593         Menu "context-nomenclprint"
594                 OptItem "Settings...|S" "inset-settings"
595         End
596
597
598 # InsetPreview context menu
599 #
600
601         Menu "context-preview"
602                 Item "Dissolve Inset|D" "inset-dissolve"
603         End
604
605
606 #
607 # Toc Changes context menu
608 #
609
610         Menu "context-toc-change"
611                 Item "Accept Change|c" "change-accept"
612                 Item "Reject Change|R" "change-reject"
613         End     
614         
615 #
616 # Toc Table of Context context menu
617 #
618
619         Menu "context-toc-tableofcontents"
620                 Item "Promote Section|P" "outline-out"
621                 Item "Demote Section|D" "outline-in"
622                 Item "Move Section Up|U" "outline-up"
623                 Item "Move Section Down|w" "outline-down"
624                 Separator
625                 Item "Select Section|S" "section-select"
626         End     
627
628 #
629 # InsetERT context menu
630 #
631         Menu "context-ert"
632                 OptItem "Open Inset|O" "inset-toggle open"
633                 OptItem "Close Inset|C" "inset-toggle close"
634                 Separator
635                 Item "Wrap by Preview|P" "command-sequence inset-begin;char-backward;char-forward-select;preview-insert"
636                 Separator
637                 Item "Dissolve Inset|D" "inset-dissolve"
638                 OptItem "Settings...|S" "inset-settings"
639         End
640
641 End