]> git.lyx.org Git - lyx.git/blob - lib/ui/stdcontext.inc
* Menus: these are dialogs.
[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" "next-inset-toggle"
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 to Reference|G" "bookmark-goto 0"
92                 Separator
93                 Item "Settings...|S" "next-inset-toggle"
94         End
95
96
97 #
98 # InsetCitation context menu
99 #
100         Menu "context-citation"
101                 CiteStyles
102                 Separator
103                 Item "Settings...|S" "next-inset-toggle"
104         End
105
106
107 #
108 # InsetBibtex context menu
109 #
110         Menu "context-bibtex"
111                 Item "Settings...|S" "next-inset-toggle"
112                 Separator
113                 Item "Edit Database(s) externally...|x" "inset-edit"
114         End
115
116
117 #
118 # InsetCollapsable context menu
119 #
120         Menu "context-collapsable"
121                 OptItem "Open Inset|O" "next-inset-toggle open"
122                 OptItem "Close Inset|C" "next-inset-toggle close"
123                 Separator
124                 Item "Dissolve Inset|D" "inset-dissolve"
125                 OptItem "Settings...|S" "inset-settings"
126         End
127
128         Menu "context-conglomerate"
129                 Item "Toggle Label|L" "next-inset-toggle"
130                 Item "Dissolve Inset|D" "inset-dissolve charstyle"
131                 Separator
132                 OptItem "Settings...|S" "inset-settings"
133         End
134
135 #
136 # InsetBox context menu
137 #
138
139         Menu "context-box"
140                 Item "Frameless|l" "next-inset-modify changetype Frameless"
141                 Item "Simple frame|f" "next-inset-modify changetype Boxed"
142                 Item "Simple frame, page breaks|p" "next-inset-modify changetype Framed"
143                 Item "Oval, thin|O" "next-inset-modify changetype ovalbox"
144                 Item "Oval, thick|v" "next-inset-modify changetype Ovalbox"
145                 Item "Drop Shadow|w" "next-inset-modify changetype Shadowbox"
146                 Item "Shaded background|b" "next-inset-modify changetype Shaded"
147                 Item "Double frame|D" "next-inset-modify changetype Doublebox"
148                 Separator
149                 Item "Dissolve Inset|D" "inset-dissolve"
150                 Item "Settings...|S" "inset-settings box"
151         End
152
153 #
154 # InsetNote context menu
155 #
156
157         Menu "context-note"
158                 Item "LyX Note|N" "next-inset-modify note Note Note"
159                 Item "Comment|C" "next-inset-modify note Note Comment"
160                 Item "Greyed Out|G" "next-inset-modify note Note Greyedout"
161                 Separator
162                 Item "Dissolve Inset|D" "inset-dissolve"
163         End
164
165
166 #
167 # InsetSpace context menu
168 #
169         Menu "context-space"
170                 Item "Interword Space|w" "next-inset-modify space \space{}"
171                 Item "Protected Space|o" "next-inset-modify space ~"
172                 Item "Thin Space|T" "next-inset-modify space \thinspace{}"
173                 Item "Negative Thin Space|N" "next-inset-modify space \negthinspace{}"
174                 Item "Half Quad Space (Enskip)|k" "next-inset-modify space \enskip{}"
175                 Item "Protected Half Quad Space (Enspace)|E" "next-inset-modify space \enspace{}"
176                 Item "Quad Space|Q" "next-inset-modify space \quad{}"
177                 Item "Double Quad Space|u" "next-inset-modify space \qquad{}"
178                 Item "Horizontal Fill|F" "next-inset-modify space \hfill{}"
179                 Item "Protected Horizontal Fill|i" "next-inset-modify space \hspace*{\fill}"
180                 Item "Horizontal Fill (Dots)|D" "next-inset-modify space \dotfill{}"
181                 Item "Horizontal Fill (Rule)|R" "next-inset-modify space \hrulefill{}"
182                 Item "Horizontal Fill (Left Arrow)|L" "next-inset-modify space \leftarrowfill{}"
183                 Item "Horizontal Fill (Right Arrow)|g" "next-inset-modify space \rightarrowfill{}"
184                 Item "Horizontal Fill (Up Brace)|p" "next-inset-modify space \upbracefill{}"
185                 Item "Horizontal Fill (Down Brace)|B" "next-inset-modify space \downbracefill{}"
186                 Item "Custom Length|C" "command-sequence next-inset-modify space \hspace{} \length 1in; next-inset-toggle"
187                 Separator
188                 Item "Settings...|S" "next-inset-toggle"
189         End
190
191 #
192 # InsetVSpace context menu
193 #
194         Menu "context-vspace"
195                 Item "DefSkip|D" "next-inset-modify vspace defskip"
196                 Item "SmallSkip|S" "next-inset-modify vspace smallskip"
197                 Item "MedSkip|M" "next-inset-modify vspace medskip"
198                 Item "BigSkip|B" "next-inset-modify vspace bigskip"
199                 Item "VFill|F" "next-inset-modify vspace vfill"
200                 Item "Custom|C" "command-sequence next-inset-modify vspace 1in; next-inset-toggle"
201                 Separator
202                 Item "Settings...|e" "next-inset-toggle"
203         End
204
205 #
206 # InsetInclude context menu
207 #
208         Menu "context-include"
209                 Item "Include|c" "next-inset-modify changetype include"
210                 Item "Input|p" "next-inset-modify changetype input"
211                 Item "Verbatim|V" "next-inset-modify changetype verbatiminput"
212                 Item "Verbatim (marked blanks)|b" "next-inset-modify changetype verbatiminput*"
213                 Item "Listing|L" "next-inset-modify changetype lstinputlisting"
214                 Separator
215                 Item "Settings...|S" "next-inset-toggle"
216                 Separator
217                 Item "Edit included file...|E" "inset-edit"
218         End
219
220 #
221 # InsetNewpage context menu
222 #
223         Menu "context-newpage"
224                 Item "New Page|N" "next-inset-modify newpage newpage"
225                 Item "Page Break|a" "next-inset-modify newpage pagebreak"
226                 Item "Clear Page|C" "next-inset-modify newpage clearpage"
227                 Item "Clear Double Page|D" "next-inset-modify newpage cleardoublepage"
228         End
229
230 #
231 # InsetNewline context menu
232 #
233         Menu "context-newline"
234                 Item "Ragged Line Break|R" "next-inset-modify newline newline"
235                 Item "Justified Line Break|J" "next-inset-modify newline linebreak"
236         End
237
238 #
239 # Edit context menu
240 #
241         Menu "context-edit"
242                 Item "Cut" "cut"
243                 Item "Copy" "copy"
244                 Item "Paste" "paste"
245                 Submenu "Paste Recent|e" "edit_pasterecent"
246                 Separator
247                 Item "Jump to Saved Bookmark|B" "bookmark-goto 0"
248                 Separator
249                 Item "Move Paragraph Up|o" "paragraph-move-up"
250                 Item "Move Paragraph Down|v" "paragraph-move-down"
251                 Separator
252                 OptItem "Promote Section|r" "outline-out"
253                 OptItem "Demote Section|m" "outline-in"
254                 OptItem "Move Section down|d" "outline-down"
255                 OptItem "Move Section up|u" "outline-up"
256                 Separator
257                 Item "Apply Last Text Style|A" "textstyle-apply"
258                 Submenu "Text Style|S" "edit_textstyles"
259                 Item "Paragraph Settings...|P" "layout-paragraph"
260                 Separator
261                 Item "Fullscreen Mode" "ui-toggle fullscreen"
262         End
263
264 #
265 # Math Macro context menu
266 #
267
268         Menu "context-math-macro-definition"
269                 Item "Append Parameter" "math-macro-add-param"
270                 Item "Remove Last Parameter" "math-macro-remove-param"
271                 Separator
272                 Item "Make First Non-Optional into Optional Parameter" "math-macro-make-optional"
273                 Item "Make Last Optional into Non-Optional Parameter" "math-macro-make-nonoptional"
274                 Item "Insert Optional Parameter" "math-macro-add-optional-param"
275                 Item "Remove Optional Parameter" "math-macro-remove-optional-param"
276                 Separator
277                 Item "Append Parameter Eating From The Right" "math-macro-append-greedy-param"
278                 Item "Append Optional Parameter Eating From The Right" "math-macro-add-greedy-optional-param"
279                 Item "Remove Last Parameter Spitting Out To The Right" "math-macro-remove-greedy-param"
280         End
281
282 #
283 # InsetListing context menu
284 #
285
286         Menu "context-listings"
287                 Item "Cut" "cut"
288                 Item "Copy" "copy"
289                 Item "Paste" "paste"
290                 Submenu "Paste Recent|e" "edit_pasterecent"
291                 Separator
292                 Item "Settings...|S" "inset-settings listings"
293         End
294
295 #
296 # InsetGraphics context menu
297 #
298
299         Menu "context-graphics"
300                 Item "Settings...|S" "next-inset-toggle"
301                 Separator
302                 Item "Edit externally...|x" "inset-edit"
303                 Separator
304                 GraphicsGroups
305         End
306
307 #
308 # InsetExternal context menu
309 #
310
311         Menu "context-external"
312                 Item "Settings...|S" "next-inset-toggle"
313                 Separator
314                 Item "Edit externally...|x" "inset-edit"
315         End
316
317 #
318 # InsetTabular context menu
319 #
320
321         Menu "context-tabular"
322                 Item "Multicolumn|M" "tabular-feature multicolumn"
323                 Separator
324                 Item "Top Line|T" "tabular-feature toggle-line-top"
325                 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
326                 Item "Left Line|L" "tabular-feature toggle-line-left"
327                 Item "Right Line|R" "tabular-feature toggle-line-right"
328                 Separator
329                 Item "Left|L" "tabular-feature align-left"
330                 Item "Center|C" "tabular-feature align-center"
331                 Item "Right|R" "tabular-feature align-right"
332                 Separator
333                 Item "Top|T" "tabular-feature valign-top"
334                 Item "Middle|M" "tabular-feature valign-middle"
335                 Item "Bottom|B" "tabular-feature valign-bottom"
336                 Separator
337                 Item "Add Row|A" "tabular-feature append-row"
338                 Item "Delete Row|D" "tabular-feature delete-row"
339                 Item "Copy Row|o" "tabular-feature copy-row"
340                 # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken
341                 Separator
342                 Item "Add Column|u" "tabular-feature append-column"
343                 Item "Delete Column|e" "tabular-feature delete-column"
344                 Item "Copy Column|p" "tabular-feature copy-column"
345                 # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken
346                 Separator
347                 Item "Settings...|S" "inset-settings tabular"
348         End
349
350
351 #
352 # InsetInfo context menu
353 #
354
355         Menu "context-info"
356                 Item "Settings...|S" "inset-settings info"
357         End
358
359 End