4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
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/)
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"
27 Item "Delimiters...|r" "dialog-show mathdelimiter"
28 Item "Matrix...|x" "dialog-show mathmatrix"
29 Item "Macro|o" "math-macro newmacroname newcommand"
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"
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"
46 OptItem "Equation Label|L" "label-insert"
47 OptItem "Toggle Labeling/Numbering|T" "math-number-toggle"
49 Item "Split Cell|C" "cell-split"
51 Submenu "Insert|n" "insert_math_context"
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"
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"
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"
70 # InsetRef context menu
73 Item "Next Cross-Reference|N" "reference-next"
74 Item "Go to Label|G" "label-goto"
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"
83 Item "Settings...|S" "inset-settings"
87 # InsetLabel context menu
90 Item "Next Cross-Reference|N" "reference-next"
91 Item "Go back|G" "bookmark-goto 0"
93 Item "Copy as Reference|C" "copy-label-as-reference"
95 Item "Settings...|S" "inset-settings"
100 # InsetCitation context menu
102 Menu "context-citation"
105 Item "Settings...|S" "inset-settings"
110 # InsetBibtex context menu
112 Menu "context-bibtex"
113 Item "Settings...|S" "inset-settings"
115 Item "Edit Database(s) externally...|x" "inset-edit"
120 # InsetCollapsable context menu
122 Menu "context-collapsable"
123 OptItem "Open Inset|O" "inset-toggle open"
124 OptItem "Close Inset|C" "inset-toggle close"
126 Item "Dissolve Inset|D" "inset-dissolve"
127 OptItem "Settings...|S" "inset-settings"
130 Menu "context-conglomerate"
131 Item "Toggle Label|L" "inset-toggle"
132 Item "Dissolve Inset|D" "inset-dissolve charstyle"
134 OptItem "Settings...|S" "inset-settings"
138 # InsetBox context menu
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"
151 OptItem "Open Inset|O" "inset-toggle open"
152 OptItem "Close Inset|C" "inset-toggle close"
154 Item "Dissolve Inset|D" "inset-dissolve"
155 Item "Settings...|S" "inset-settings box"
159 # InsetNote context menu
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"
167 OptItem "Open Inset|O" "inset-toggle open"
168 OptItem "Close Inset|C" "inset-toggle close"
170 Item "Dissolve Inset|D" "inset-dissolve"
174 # InsetPhantom context menu
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"
182 Item "Dissolve Inset|D" "inset-dissolve"
186 # InsetSpace context menu
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"
207 Item "Settings...|S" "inset-settings"
211 # InsetMathSpace context menu
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"
225 Item "Settings...|S" "inset-settings"
229 # InsetVSpace context menu
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"
239 Item "Settings...|e" "inset-settings"
243 # InsetInclude context menu
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"
252 Item "Settings...|S" "inset-settings"
254 Item "Edit included file...|E" "inset-edit"
258 # InsetNewpage context menu
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"
268 # InsetNewline context menu
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"
282 Submenu "Paste Recent|e" "edit_pasterecent"
284 Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
286 Item "Move Paragraph Up|o" "paragraph-move-up"
287 Item "Move Paragraph Down|v" "paragraph-move-down"
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"
295 Item "Apply Last Text Style|A" "textstyle-apply"
296 Submenu "Text Style|S" "edit_textstyles"
297 Item "Paragraph Settings...|P" "layout-paragraph"
299 Item "Fullscreen Mode" "ui-toggle fullscreen"
303 # Math Macro context menu
306 Menu "context-math-macro-definition"
307 Item "Append Argument" "math-macro-add-param"
308 Item "Remove Last Argument" "math-macro-remove-param"
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"
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"
321 # InsetListing context menu
324 Menu "context-listings"
328 Submenu "Paste Recent|e" "edit_pasterecent"
330 OptItem "Open Inset|O" "inset-toggle open"
331 OptItem "Close Inset|C" "inset-toggle close"
333 Item "Dissolve Inset|D" "inset-dissolve"
334 Item "Settings...|S" "inset-settings listings"
338 # InsetGraphics context menu
341 Menu "context-graphics"
342 Item "Settings...|S" "inset-settings"
344 Item "Edit externally...|x" "inset-edit"
350 # InsetExternal context menu
353 Menu "context-external"
354 Item "Settings...|S" "inset-settings"
356 Item "Edit externally...|x" "inset-edit"
360 # InsetTabular context menu
363 Menu "context-tabular"
364 Item "Multicolumn|M" "tabular-feature multicolumn"
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"
371 Item "Left|L" "tabular-feature align-left"
372 Item "Center|C" "tabular-feature align-center"
373 Item "Right|R" "tabular-feature align-right"
375 Item "Top|T" "tabular-feature valign-top"
376 Item "Middle|M" "tabular-feature valign-middle"
377 Item "Bottom|B" "tabular-feature valign-bottom"
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
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
389 Item "Settings...|S" "inset-settings tabular"
394 # InsetInfo context menu
398 Item "Settings...|S" "inset-settings info"
402 # InsetBranch context menu
405 Menu "context-branch"
406 OptItem "Open Inset|O" "inset-toggle open"
407 OptItem "Close Inset|C" "inset-toggle close"
409 OptItem "Activate Branch|A" "branch-activate"
410 OptItem "Deactivate Branch|e" "branch-deactivate"
412 Item "Dissolve Inset|D" "inset-dissolve"
413 OptItem "Settings...|S" "inset-settings"
417 # Toc Labels and References context menu
420 Menu "context-toc-label"
421 Item "Copy Label as Reference|C" "copy-label-as-reference"
422 Item "Insert Reference at Cursor Position|I" "insert-label-as-reference"
424 Item "Settings...|S" "inset-settings"
428 # Toc Branches context menu
431 Menu "context-toc-branch"
432 Item "Activate Branch|A" "branch-activate"
433 Item "Deactivate Branch|e" "branch-deactivate"
434 Item "Settings...|S" "inset-settings"
438 # Toc Graphics context menu
441 Menu "context-toc-graphics"
442 Item "Settings...|S" "inset-settings"
444 Item "Edit externally...|x" "inset-edit"
448 # Toc Citation context menu
451 Menu "context-toc-citation"
452 Item "Settings...|S" "inset-settings"
456 # Toc Figures context menu
459 Menu "context-toc-figure"
460 Item "Settings...|S" "inset-settings"
464 # Toc Tables context menu
467 Menu "context-toc-table"
468 Item "Settings...|S" "inset-settings"