]> git.lyx.org Git - lyx.git/blob - lib/ui/stdcontext.inc
b9a92c75f1e440e06b4f01fc33da5feea4ce0988
[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"\r
20                 Item "Array Environment|y" "math-matrix 2 2"\r
21                 Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"\r
22                 Item "Aligned Environment|l" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"\r
23                 Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"\r
24                 Item "Gathered Environment|h" "command-sequence math-mode on; math-insert \gathered"\r
25                 Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"\r
26                 Separator\r
27                 Item "Delimiters|r" "dialog-show mathdelimiter"\r
28                 Item "Matrix|x" "dialog-show mathmatrix"\r
29                 Item "Macro|o" "math-macro newmacroname newcommand"\r
30         End\r
31
32         Menu "ams_environment"\r
33                 Item "AMS align Environment|a" "math-mutate align"\r
34                 Item "AMS alignat Environment|t" "math-mutate alignat"\r
35                 Item "AMS flalign Environment|f" "math-mutate flalign"\r
36                 Item "AMS gather Environment|g" "math-mutate gather"\r
37                 Item "AMS multline Environment|m" "math-mutate multline"\r
38         End\r
39         \r
40         Menu "context-math"
41                 Item "Inline Formula|I" "math-mutate simple"\r
42                 Item "Displayed Formula|D" "math-mutate equation"\r
43                 Item "Eqnarray Environment|E" "math-mutate eqnarray"\r
44                 SubMenu "AMS Environment|A" "ams_environment"\r
45                 Separator               
46                 OptItem "Equation Label|L" "label-insert"
47                 OptItem "Toggle Labeling/Numbering|T" "math-number-toggle"
48                 Separator\r
49                 Item "Split Cell|C" "cell-split"\r
50                 Separator\r
51                 Submenu "Insert|n" "insert_math_context"\r
52                 Separator\r
53                 OptItem "Add Line Above|o" "tabular-feature add-hline-above"\r
54                 OptItem "Add Line Below|B" "tabular-feature add-hline-below"\r
55                 OptItem "Delete Line Above|D" "tabular-feature delete-hline-above"\r
56                 OptItem "Delete Line Below|e" "tabular-feature delete-hline-below"\r
57                 Separator\r
58                 OptItem "Add Line to Left" "tabular-feature add-vline-left"\r
59                 OptItem "Add Line to Right" "tabular-feature add-vline-right"\r
60                 OptItem "Delete Line to Left" "tabular-feature delete-vline-left"\r
61                 OptItem "Delete Line to Right" "tabular-feature delete-vline-right"\r
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         Menu "edit_reftype"
87                 
88         End
89
90 #
91 # InsetLabel context menu
92 #
93         Menu "context-label"
94                 Item "Next Cross-Reference|N" "reference-next"
95                 Item "Go back to Reference|G" "bookmark-goto 0"
96                 Separator
97                 Item "Settings...|S" "next-inset-toggle"
98         End
99
100 #
101 # InsetCollapsable context menu
102 #
103         Menu "context-collapsable"
104                 OptItem "Open Inset|O" "next-inset-toggle open"
105                 OptItem "Close Inset|C" "next-inset-toggle close"
106                 Separator
107                 OptItem "Settings...|S" "inset-settings"
108         End
109
110         Menu "context-conglomerate"
111                 Item "Toggle Label|L" "next-inset-toggle"
112                 Item "Dissolve Inset|D" "inset-dissolve charstyle"
113                 Separator
114                 OptItem "Settings...|S" "inset-settings"
115         End
116
117 #
118 # InsetBox context menu
119 #
120
121         Menu "context-box"
122                 Item "Frameless|l" "next-inset-modify changetype Frameless"
123                 Item "Simple frame|f" "next-inset-modify changetype Boxed"
124                 Item "Simple frame, page breaks|p" "next-inset-modify changetype Framed"
125                 Item "Oval, thin|O" "next-inset-modify changetype ovalbox"
126                 Item "Oval, thick|v" "next-inset-modify changetype Ovalbox"
127                 Item "Drop Shadow|w" "next-inset-modify changetype Shadowbox"
128                 Item "Shaded background|b" "next-inset-modify changetype Shaded"
129                 Item "Double frame|D" "next-inset-modify changetype Doublebox"
130                 Separator
131                 Item "Settings...|S" "inset-settings box"
132         End
133
134 #
135 # InsetNote context menu
136 #
137
138         Menu "context-note"
139                 Item "LyX Note|N" "next-inset-modify note Note Note"
140                 Item "Comment|C" "next-inset-modify note Note Comment"
141                 Item "Greyed Out|G" "next-inset-modify note Note Greyedout"
142         End
143
144
145 #
146 # InsetSpace context menu
147 #
148         Menu "context-space"
149                 Item "Interword Space|w" "next-inset-modify space \space{}"
150                 Item "Protected Space|o" "next-inset-modify space ~"
151                 Item "Thin Space|T" "next-inset-modify space \thinspace{}"
152                 Item "Quad Space|Q" "next-inset-modify space \quad{}"
153                 Item "QQuad Space|u" "next-inset-modify space \qquad{}"
154                 Item "Enspace|E" "next-inset-modify space \enspace{}"
155                 Item "Enskip|k" "next-inset-modify space \enskip{}"
156                 Item "Negative Thin Space|N" "next-inset-modify space \negthinspace{}"
157                 Item "Horizontal Fill|F" "next-inset-modify space \hfill{}"
158                 Item "Protected Horizontal Fill|i" "next-inset-modify space \hspace*{\fill}"
159                 Item "Horizontal Fill (Dots)|D" "next-inset-modify space \dotfill{}"
160                 Item "Horizontal Fill (Rule)|R" "next-inset-modify space \hrulefill{}"
161                 Item "Custom Length|C" "command-sequence next-inset-modify space \hspace{} \length 1in; next-inset-toggle"
162                 Separator
163                 Item "Settings...|S" "next-inset-toggle"
164         End
165
166 #
167 # InsetVSpace context menu
168 #
169         Menu "context-vspace"
170                 Item "DefSkip|D" "next-inset-modify vspace defskip"
171                 Item "SmallSkip|S" "next-inset-modify vspace smallskip"
172                 Item "MedSkip|M" "next-inset-modify vspace medskip"
173                 Item "BigSkip|B" "next-inset-modify vspace bigskip"
174                 Item "VFill|F" "next-inset-modify vspace vfill"
175                 Item "Custom|C" "command-sequence next-inset-modify vspace 1in; next-inset-toggle"
176                 Separator
177                 Item "Settings...|S" "next-inset-toggle"
178         End
179
180         Menu "edit_vspacetype"
181                 
182         End
183
184 #
185 # InsetNewpage context menu
186 #
187         Menu "context-newpage"
188                 Item "New Page|N" "next-inset-modify newpage newpage"
189                 Item "Page Break|a" "next-inset-modify newpage pagebreak"
190                 Item "Clear Page|C" "next-inset-modify newpage clearpage"
191                 Item "Clear Double Page|D" "next-inset-modify newpage cleardoublepage"
192         End
193
194 #
195 # InsetNewline context menu
196 #
197         Menu "context-newline"
198                 Item "Ragged Line Break|R" "next-inset-modify newline newline"
199                 Item "Justified Line Break|J" "next-inset-modify newline linebreak"
200         End
201
202 #
203 # Edit context menu
204 #
205         Menu "context-edit"
206                 Item "Cut" "cut"
207                 Item "Copy" "copy"
208                 Item "Paste" "paste"
209                 Submenu "Paste Recent|e" "edit_pasterecent"
210                 Separator
211                 Item "Jump to Saved Bookmark|B" "bookmark-goto 0"
212                 Separator
213                 Item "Move Paragraph Up|o" "paragraph-move-up"
214                 Item "Move Paragraph Down|v" "paragraph-move-down"
215                 Separator
216                 Item "Apply Last Text Style|A" "font-free-apply"
217                 Submenu "Text Style|S" "edit_textstyles"
218                 Item "Paragraph Settings...|P" "layout-paragraph"
219                 Separator
220                 Item "Fullscreen Mode" "ui-toggle fullscreen"
221         End
222
223 #
224 # Math Macro context menu
225 #
226
227         Menu "context-math-macro-definition"
228                 Item "Append Parameter" "math-macro-add-param"
229                 Item "Remove Last Parameter" "math-macro-remove-param"
230                 Separator
231                 Item "Make First Non-Optional into Optional Parameter" "math-macro-make-optional"
232                 Item "Make Last Optional into Non-Optional Parameter" "math-macro-make-nonoptional"
233                 Item "Insert Optional Parameter" "math-macro-add-optional-param"
234                 Item "Remove Optional Parameter" "math-macro-remove-optional-param"
235                 Separator
236                 Item "Append Parameter Eating From The Right" "math-macro-append-greedy-param"
237                 Item "Append Optional Parameter Eating From The Right" "math-macro-add-greedy-optional-param"
238                 Item "Remove Last Parameter Spitting Out To The Right" "math-macro-remove-greedy-param"
239         End
240
241 #
242 # InsetListing context menu
243 #
244
245         Menu "context-listings"
246                 Item "Cut" "cut"
247                 Item "Copy" "copy"
248                 Item "Paste" "paste"
249                 Submenu "Paste Recent|e" "edit_pasterecent"
250                 Separator
251                 Item "Settings...|S" "inset-settings listings"
252         End
253
254 #
255 # InsetGraphics context menu
256 #
257
258         Menu "context-graphics"
259                 Item "Settings...|S" "next-inset-toggle"
260                 Separator
261                 Item "Edit externally...|x" "graphics-edit"
262         End
263
264 #
265 # InsetTabular context menu
266 #
267
268         Menu "context-tabular"
269                 Item "Multicolumn|M" "tabular-feature multicolumn"\r
270                 Separator\r
271                 Item "Top Line|T" "tabular-feature toggle-line-top"\r
272                 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"\r
273                 Item "Left Line|L" "tabular-feature toggle-line-left"\r
274                 Item "Right Line|R" "tabular-feature toggle-line-right"\r
275                 Separator\r
276                 Item "Left|L" "tabular-feature align-left"\r
277                 Item "Center|C" "tabular-feature align-center"\r
278                 Item "Right|R" "tabular-feature align-right"\r
279                 Separator\r
280                 Item "Top|T" "tabular-feature valign-top"\r
281                 Item "Middle|M" "tabular-feature valign-middle"\r
282                 Item "Bottom|B" "tabular-feature valign-bottom"\r
283                 Separator\r
284                 Item "Add Row|A" "tabular-feature append-row"\r
285                 Item "Delete Row|D" "tabular-feature delete-row"\r
286                 Item "Copy Row|o" "tabular-feature copy-row"\r
287                 # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken\r
288                 Separator\r
289                 Item "Add Column|u" "tabular-feature append-column"\r
290                 Item "Delete Column|e" "tabular-feature delete-column"\r
291                 Item "Copy Column|p" "tabular-feature copy-column"\r
292                 # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken\r
293                 Separator
294                 Item "Settings...|S" "inset-settings tabular"
295         End
296
297 End