A GUI for nomencl settings. Adds the possibility to enter a custom length.
[lyx.git] / lib / ui / stdcontext.inc
blob5794c52b905f6200f6020fc3a8c3bcc21349bb74
1 # -*- text -*-
3 # file stdcontext.inc
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
7 # author The LyX Team
9 # Full author contact details are available in file CREDITS.
11 # The interface is designed (partially) following the KDE Human Interface
12 # Guidelines (http://usability.kde.org/hig/)
14 Menuset
17 # InsetMath context menu
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
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 "Number whole Formula|N" "math-number-toggle"
47                 OptItem "Number this Line|u" "math-number-line-toggle"
48                 OptItem "Equation Label|L" "label-insert"
49                 OptItem "Copy as Reference|R" "copy-label-as-reference"
50                 Separator
51                 Item "Split Cell|C" "cell-split"
52                 Separator
53                 Submenu "Insert|n" "insert_math_context"
54                 Separator
55                 OptItem "Add Line Above|o" "tabular-feature add-hline-above"
56                 OptItem "Add Line Below|B" "tabular-feature add-hline-below"
57                 OptItem "Delete Line Above|D" "tabular-feature delete-hline-above"
58                 OptItem "Delete Line Below|e" "tabular-feature delete-hline-below"
59                 Separator
60                 OptItem "Add Line to Left" "tabular-feature add-vline-left"
61                 OptItem "Add Line to Right" "tabular-feature add-vline-right"
62                 OptItem "Delete Line to Left" "tabular-feature delete-vline-left"
63                 OptItem "Delete Line to Right" "tabular-feature delete-vline-right"
64                 Separator
65                 Item "Show Math Toolbar" "toolbar-toggle math toggle"
66                 Item "Show Math-Panels Toolbar" "toolbar-toggle math_panels toggle"
67                 Item "Show Table Toolbar" "toolbar-toggle table toggle"
68         End
72 # InsetRef context menu
74         Menu "context-ref"
75                 Item "Next Cross-Reference|N" "reference-next"
76                 Item "Go to Label|G" "label-goto"
77                 Separator
78                 Item "<reference>|r" "next-inset-modify changetype ref"
79                 Item "(<reference>)|e" "next-inset-modify changetype eqref"
80                 Item "<page>|p" "next-inset-modify changetype pageref"
81                 Item "on page <page>|o" "next-inset-modify changetype vpageref"
82                 Item "<reference> on page <page>|f" "next-inset-modify changetype vref"
83                 Item "Formatted reference|t" "next-inset-modify changetype prettyref"
84                 Separator
85                 Item "Settings...|S" "inset-settings"
86         End
89 # InsetLabel context menu
91         Menu "context-label"
92                 Item "Next Cross-Reference|N" "reference-next"
93                 Item "Go back|G" "bookmark-goto 0"
94                 Separator
95                 Item "Copy as Reference|C" "copy-label-as-reference"
96                 Separator
97                 Item "Settings...|S" "inset-settings"
98         End
102 # InsetCitation context menu
104         Menu "context-citation"
105                 CiteStyles
106                 Separator
107                 Item "Settings...|S" "inset-settings"
108         End
112 # InsetBibtex context menu
114         Menu "context-bibtex"
115                 Item "Settings...|S" "inset-settings"
116                 Separator
117                 Item "Edit Database(s) externally...|x" "inset-edit"
118         End
122 # InsetCollapsable context menu
124         Menu "context-collapsable"
125                 OptItem "Open Inset|O" "inset-toggle open"
126                 OptItem "Close Inset|C" "inset-toggle close"
127                 Separator
128                 Item "Dissolve Inset|D" "inset-dissolve"
129                 OptItem "Settings...|S" "inset-settings"
130         End
132         Menu "context-conglomerate"
133                 Item "Toggle Label|L" "inset-toggle"
134                 Item "Dissolve Inset|D" "inset-dissolve charstyle"
135                 Separator
136                 OptItem "Settings...|S" "inset-settings"
137         End
140 # InsetBox context menu
143         Menu "context-box"
144                 Item "Frameless|l" "next-inset-modify changetype Frameless"
145                 Item "Simple frame|f" "next-inset-modify changetype Boxed"
146                 Item "Simple frame, page breaks|p" "next-inset-modify changetype Framed"
147                 Item "Oval, thin|a" "next-inset-modify changetype ovalbox"
148                 Item "Oval, thick|v" "next-inset-modify changetype Ovalbox"
149                 Item "Drop Shadow|w" "next-inset-modify changetype Shadowbox"
150                 Item "Shaded background|b" "next-inset-modify changetype Shaded"
151                 Item "Double frame|u" "next-inset-modify changetype Doublebox"
152                 Separator
153                 OptItem "Open Inset|O" "inset-toggle open"
154                 OptItem "Close Inset|C" "inset-toggle close"
155                 Separator
156                 Item "Dissolve Inset|D" "inset-dissolve"
157                 Item "Settings...|S" "inset-settings box"
158         End
161 # InsetNote context menu
164         Menu "context-note"
165                 Item "LyX Note|N" "next-inset-modify note Note Note"
166                 Item "Comment|m" "next-inset-modify note Note Comment"
167                 Item "Greyed Out|G" "next-inset-modify note Note Greyedout"
168                 Separator
169                 OptItem "Open Inset|O" "inset-toggle open"
170                 OptItem "Close Inset|C" "inset-toggle close"
171                 Separator
172                 Item "Dissolve Inset|D" "inset-dissolve"
173         End
176 # InsetPhantom context menu
179         Menu "context-phantom"
180                 Item "Phantom" "next-inset-modify phantom Phantom Phantom"
181                 Item "Horiz. Phantom" "next-inset-modify phantom Phantom HPhantom"
182                 Item "Vert. Phantom" "next-inset-modify phantom Phantom VPhantom"
183                 Separator
184                 Item "Dissolve Inset|D" "inset-dissolve"
185         End
188 # InsetSpace context menu
190         Menu "context-space"
191                 Item "Interword Space|w" "next-inset-modify space \space{}"
192                 Item "Protected Space|o" "next-inset-modify space ~"
193                 Item "Thin Space|T" "next-inset-modify space \thinspace{}"
194                 Item "Negative Thin Space|N" "next-inset-modify space \negthinspace{}"
195                 Item "Half Quad Space (Enskip)|k" "next-inset-modify space \enskip{}"
196                 Item "Protected Half Quad Space (Enspace)|E" "next-inset-modify space \enspace{}"
197                 Item "Quad Space|Q" "next-inset-modify space \quad{}"
198                 Item "Double Quad Space|u" "next-inset-modify space \qquad{}"
199                 Item "Horizontal Fill|F" "next-inset-modify space \hfill{}"
200                 Item "Protected Horizontal Fill|i" "next-inset-modify space \hspace*{\fill}"
201                 Item "Horizontal Fill (Dots)|D" "next-inset-modify space \dotfill{}"
202                 Item "Horizontal Fill (Rule)|R" "next-inset-modify space \hrulefill{}"
203                 Item "Horizontal Fill (Left Arrow)|L" "next-inset-modify space \leftarrowfill{}"
204                 Item "Horizontal Fill (Right Arrow)|g" "next-inset-modify space \rightarrowfill{}"
205                 Item "Horizontal Fill (Up Brace)|p" "next-inset-modify space \upbracefill{}"
206                 Item "Horizontal Fill (Down Brace)|B" "next-inset-modify space \downbracefill{}"
207                 Item "Custom Length|C" "command-sequence next-inset-modify space \hspace{} \length 1in; inset-settings"
208                 Separator
209                 Item "Settings...|S" "inset-settings"
210         End
213 # InsetMathSpace context menu
215         Menu "context-mathspace"
216                 Item "Thin Space|T" "next-inset-modify mathspace \thinspace{}"
217                 Item "Medium Space|M" "next-inset-modify mathspace \medspace{}"
218                 Item "Thick Space|h" "next-inset-modify mathspace \thickspace{}"
219                 Item "Negative Thin Space|N" "next-inset-modify mathspace \negthinspace{}"
220                 Item "Negative Medium Space|u" "next-inset-modify mathspace \negmedspace{}"
221                 Item "Negative Thick Space|i" "next-inset-modify mathspace \negthickspace{}"
222                 Item "Half Quad Space (Enskip)|k" "next-inset-modify mathspace \enskip{}"
223                 Item "Quad Space|Q" "next-inset-modify mathspace \quad{}"
224                 Item "Double Quad Space|u" "next-inset-modify mathspace \qquad{}"
225                 Item "Custom Length|C" "command-sequence next-inset-modify mathspace \hspace{} \length 1in; inset-settings"
226                 Separator
227                 Item "Settings...|S" "inset-settings"
228         End
231 # InsetVSpace context menu
233         Menu "context-vspace"
234                 Item "DefSkip|D" "next-inset-modify vspace defskip"
235                 Item "SmallSkip|S" "next-inset-modify vspace smallskip"
236                 Item "MedSkip|M" "next-inset-modify vspace medskip"
237                 Item "BigSkip|B" "next-inset-modify vspace bigskip"
238                 Item "VFill|F" "next-inset-modify vspace vfill"
239                 Item "Custom|C" "command-sequence next-inset-modify vspace 1in; inset-settings"
240                 Separator
241                 Item "Settings...|e" "inset-settings"
242         End
245 # InsetInclude context menu
247         Menu "context-include"
248                 Item "Include|c" "next-inset-modify changetype include"
249                 Item "Input|p" "next-inset-modify changetype input"
250                 Item "Verbatim|V" "next-inset-modify changetype verbatiminput"
251                 Item "Verbatim (marked blanks)|b" "next-inset-modify changetype verbatiminput*"
252                 Item "Listing|L" "next-inset-modify changetype lstinputlisting"
253                 Separator
254                 Item "Settings...|S" "inset-settings"
255                 Separator
256                 Item "Edit included file...|E" "inset-edit"
257         End
260 # InsetNewpage context menu
262         Menu "context-newpage"
263                 Item "New Page|N" "next-inset-modify newpage newpage"
264                 Item "Page Break|a" "next-inset-modify newpage pagebreak"
265                 Item "Clear Page|C" "next-inset-modify newpage clearpage"
266                 Item "Clear Double Page|D" "next-inset-modify newpage cleardoublepage"
267         End
270 # InsetNewline context menu
272         Menu "context-newline"
273                 Item "Ragged Line Break|R" "next-inset-modify newline newline"
274                 Item "Justified Line Break|J" "next-inset-modify newline linebreak"
275         End
278 # Edit context menu
280         Menu "context-edit"
281                 Item "Cut" "cut"
282                 Item "Copy" "copy"
283                 Item "Paste" "paste"
284                 spellingsuggestions
285                 Submenu "Paste Recent|e" "edit_pasterecent"
286                 Separator
287                 Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
288                 Separator
289                 Item "Move Paragraph Up|o" "paragraph-move-up"
290                 Item "Move Paragraph Down|v" "paragraph-move-down"
291                 Separator
292                 OptItem "Promote Section|r" "outline-out"
293                 OptItem "Demote Section|m" "outline-in"
294                 OptItem "Move Section down|d" "outline-down"
295                 OptItem "Move Section up|u" "outline-up"
296                 OptItem "Insert Short Title|T" "optional-insert"
297                 Separator
298                 OptItem "Accept Change|c" "change-accept"
299                 OptItem "Reject Change|j" "change-reject"
300                 Separator
301                 Item "Apply Last Text Style|A" "textstyle-apply"
302                 Submenu "Text Style|S" "edit_textstyles"
303                 Item "Paragraph Settings...|P" "layout-paragraph"
304                 Separator
305                 Item "Fullscreen Mode" "ui-toggle fullscreen"
306         End
309 # Math Macro context menu
312         Menu "context-math-macro-definition"
313                 Item "Append Argument" "math-macro-add-param"
314                 Item "Remove Last Argument" "math-macro-remove-param"
315                 Separator
316                 Item "Make First Non-Optional into Optional Argument" "math-macro-make-optional"
317                 Item "Make Last Optional into Non-Optional Argument" "math-macro-make-nonoptional"
318                 Item "Insert Optional Argument" "math-macro-add-optional-param"
319                 Item "Remove Optional Argument" "math-macro-remove-optional-param"
320                 Separator
321                 Item "Append Argument Eating From The Right" "math-macro-append-greedy-param"
322                 Item "Append Optional Argument Eating From The Right" "math-macro-add-greedy-optional-param"
323                 Item "Remove Last Argument Spitting Out To The Right" "math-macro-remove-greedy-param"
324         End
327 # InsetListing context menu
330         Menu "context-listings"
331                 Item "Cut" "cut"
332                 Item "Copy" "copy"
333                 Item "Paste" "paste"
334                 Submenu "Paste Recent|e" "edit_pasterecent"
335                 Separator
336                 OptItem "Open Inset|O" "inset-toggle open"
337                 OptItem "Close Inset|C" "inset-toggle close"
338                 Separator
339                 Item "Dissolve Inset|D" "inset-dissolve"
340                 Item "Settings...|S" "inset-settings listings"
341         End
344 # InsetGraphics context menu
347         Menu "context-graphics"
348                 Item "Settings...|S" "inset-settings"
349                 Separator
350                 Item "Edit externally...|x" "inset-edit"
351                 Separator
352                 GraphicsGroups
353         End
356 # InsetExternal context menu
359         Menu "context-external"
360                 Item "Settings...|S" "inset-settings"
361                 Separator
362                 Item "Edit externally...|x" "inset-edit"
363         End
366 # InsetTabular context menu
369         Menu "context-tabular"
370                 Item "Multicolumn|M" "tabular-feature multicolumn"
371                 Separator
372                 Item "Top Line|T" "tabular-feature toggle-line-top"
373                 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
374                 Item "Left Line|L" "tabular-feature toggle-line-left"
375                 Item "Right Line|R" "tabular-feature toggle-line-right"
376                 Separator
377                 Item "Left|L" "tabular-feature align-left"
378                 Item "Center|C" "tabular-feature align-center"
379                 Item "Right|R" "tabular-feature align-right"
380                 Separator
381                 Item "Top|T" "tabular-feature valign-top"
382                 Item "Middle|M" "tabular-feature valign-middle"
383                 Item "Bottom|B" "tabular-feature valign-bottom"
384                 Separator
385                 Item "Add Row|A" "tabular-feature append-row"
386                 Item "Delete Row|D" "tabular-feature delete-row"
387                 Item "Copy Row|o" "tabular-feature copy-row"
388                 # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken
389                 Separator
390                 Item "Add Column|u" "tabular-feature append-column"
391                 Item "Delete Column|e" "tabular-feature delete-column"
392                 Item "Copy Column|p" "tabular-feature copy-column"
393                 # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken
394                 Separator
395                 Item "Settings...|S" "inset-settings tabular"
396         End
400 # InsetInfo context menu
403         Menu "context-info"
404                 Item "Settings...|S" "inset-settings info"
405         End
408 # InsetBranch context menu
411         Menu "context-branch"
412                 OptItem "Open Inset|O" "inset-toggle open"
413                 OptItem "Close Inset|C" "inset-toggle close"
414                 Separator
415                 OptItem "Activate Branch|A" "branch-activate"
416                 OptItem "Deactivate Branch|e" "branch-deactivate"
417                 Separator
418                 Item "Dissolve Inset|D" "inset-dissolve"
419                 OptItem "Settings...|S" "inset-settings"
420         End
423 # Toc Labels and References context menu
426         Menu "context-toc-label"
427                 OptItem "Copy as Reference|C" "copy-label-as-reference"
428                 OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference"
429                 Separator
430                 Item "Settings...|S" "inset-settings"
431         End
434 # Toc Branches context menu
437         Menu "context-toc-branch"
438                 OptItem "Activate Branch|A" "branch-activate"
439                 OptItem "Deactivate Branch|e" "branch-deactivate"
440                 Separator
441                 Item "Settings...|S" "inset-settings"
442         End
445 # Toc Graphics context menu
448         Menu "context-toc-graphics"
449                 Item "Settings...|S" "inset-settings"
450                 Separator
451                 Item "Edit externally...|x" "inset-edit"
452         End
455 # Toc Citation context menu
458         Menu "context-toc-citation"
459                 Item "Settings...|S" "inset-settings"
460         End
463 # Toc Figures context menu
466         Menu "context-toc-figure"
467                 Item "Settings...|S" "inset-settings"
468         End
471 # Toc Listings context menu
474         Menu "context-toc-listing"
475                 Item "Settings...|S" "inset-settings"
476         End
479 # Toc Tables context menu
482         Menu "context-toc-table"
483                 Item "Settings...|S" "inset-settings"
484         End
487 # Toc Childs context menu
489         Menu "context-toc-child"
490                 Item "Include|c" "inset-modify changetype include"
491                 Item "Input|p" "inset-modify changetype input"
492                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
493                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
494                 Item "Listing|L" "inset-modify changetype lstinputlisting"
495                 Separator
496                 Item "Settings...|S" "inset-settings"
497                 Separator
498                 Item "Edit included file...|E" "inset-edit"
499         End
502 # Toc Indices context menu
505         Menu "context-toc-index"
506                 OptItem "Settings...|S" "inset-settings"
507         End
510 # Index context menu
513         Menu "context-index"
514                 IndicesContext
515                 Separator
516                 OptItem "Open Inset|O" "inset-toggle open"
517                 OptItem "Close Inset|C" "inset-toggle close"
518                 Separator
519                 Item "Dissolve Inset|D" "inset-dissolve"
520                 Separator
521                 OptItem "Settings...|S" "inset-settings"
522         End
525 # Index Lists context menu
528         Menu "context-indexprint"
529                 Item "All Indexes|A" "next-inset-modify check-printindex*"
530                 IndicesListsContext
531                 Separator
532                 Item "Subindex|b" "next-inset-modify toggle-subindex"
533                 Separator
534                 OptItem "Settings...|S" "inset-settings"
535         End
538 # Nomencl List context menu
541         Menu "context-nomenclprint"
542                 OptItem "Settings...|S" "inset-settings"
543         End
547 # Toc Changes context menu
550         Menu "context-toc-change"
551                 Item "Accept Change|C" "change-accept"
552                 Item "Reject Change|R" "change-reject"
553         End     
554         
556 # Toc Table of Context context menu
559         Menu "context-toc-tableofcontents"
560                 Item "Promote Section|P" "outline-out"
561                 Item "Demote Section|D" "outline-in"
562                 Item "Move Section Up|U" "outline-up"
563                 Item "Move Section Down|w" "outline-down"
564                 Separator
565                 Item "Select Section|S" "section-select"
566         End