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