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