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