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