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 "Number whole Formula|N" "math-number-toggle"
\r
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"
51 Item "Split Cell|C" "cell-split"
53 Submenu "Insert|n" "insert_math_context"
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"
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"
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"
72 # InsetRef context menu
75 Item "Next Cross-Reference|N" "reference-next"
76 Item "Go to Label|G" "label-goto"
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"
85 Item "Settings...|S" "inset-settings"
89 # InsetLabel context menu
92 Item "Next Cross-Reference|N" "reference-next"
93 Item "Go back|G" "bookmark-goto 0"
95 Item "Copy as Reference|C" "copy-label-as-reference"
97 Item "Settings...|S" "inset-settings"
102 # InsetCitation context menu
104 Menu "context-citation"
107 Item "Settings...|S" "inset-settings"
112 # InsetBibtex context menu
114 Menu "context-bibtex"
115 Item "Settings...|S" "inset-settings"
117 Item "Edit Database(s) externally...|x" "inset-edit"
122 # InsetCollapsable context menu
124 Menu "context-collapsable"
125 OptItem "Open Inset|O" "inset-toggle open"
126 OptItem "Close Inset|C" "inset-toggle close"
128 Item "Dissolve Inset|D" "inset-dissolve"
129 OptItem "Settings...|S" "inset-settings"
132 Menu "context-conglomerate"
133 Item "Toggle Label|L" "inset-toggle"
134 Item "Dissolve Inset|D" "inset-dissolve charstyle"
136 OptItem "Settings...|S" "inset-settings"
140 # InsetBox context menu
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"
153 OptItem "Open Inset|O" "inset-toggle open"
154 OptItem "Close Inset|C" "inset-toggle close"
156 Item "Dissolve Inset|D" "inset-dissolve"
157 Item "Settings...|S" "inset-settings box"
161 # InsetNote context menu
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"
169 OptItem "Open Inset|O" "inset-toggle open"
170 OptItem "Close Inset|C" "inset-toggle close"
172 Item "Dissolve Inset|D" "inset-dissolve"
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"
184 Item "Dissolve Inset|D" "inset-dissolve"
188 # InsetSpace context menu
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"
209 Item "Settings...|S" "inset-settings"
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"
227 Item "Settings...|S" "inset-settings"
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"
241 Item "Settings...|e" "inset-settings"
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"
254 Item "Settings...|S" "inset-settings"
256 Item "Edit included file...|E" "inset-edit"
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"
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"
285 Submenu "Paste Recent|e" "edit_pasterecent"
287 Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
289 Item "Move Paragraph Up|o" "paragraph-move-up"
290 Item "Move Paragraph Down|v" "paragraph-move-down"
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"
298 OptItem "Accept Change|c" "change-accept"
299 OptItem "Reject Change|j" "change-reject"
301 Item "Apply Last Text Style|A" "textstyle-apply"
302 Submenu "Text Style|S" "edit_textstyles"
303 Item "Paragraph Settings...|P" "layout-paragraph"
305 Item "Fullscreen Mode" "ui-toggle fullscreen"
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"
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"
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"
327 # InsetListing context menu
330 Menu "context-listings"
334 Submenu "Paste Recent|e" "edit_pasterecent"
336 OptItem "Open Inset|O" "inset-toggle open"
337 OptItem "Close Inset|C" "inset-toggle close"
339 Item "Dissolve Inset|D" "inset-dissolve"
340 Item "Settings...|S" "inset-settings listings"
344 # InsetGraphics context menu
347 Menu "context-graphics"
348 Item "Settings...|S" "inset-settings"
350 Item "Edit externally...|x" "inset-edit"
356 # InsetExternal context menu
359 Menu "context-external"
360 Item "Settings...|S" "inset-settings"
362 Item "Edit externally...|x" "inset-edit"
366 # InsetTabular context menu
369 Menu "context-tabular"
370 Item "Multicolumn|M" "tabular-feature multicolumn"
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"
377 Item "Left|L" "tabular-feature align-left"
378 Item "Center|C" "tabular-feature align-center"
379 Item "Right|R" "tabular-feature align-right"
381 Item "Top|T" "tabular-feature valign-top"
382 Item "Middle|M" "tabular-feature valign-middle"
383 Item "Bottom|B" "tabular-feature valign-bottom"
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
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
395 Item "Settings...|S" "inset-settings tabular"
400 # InsetInfo context menu
404 Item "Settings...|S" "inset-settings info"
408 # InsetBranch context menu
411 Menu "context-branch"
412 OptItem "Open Inset|O" "inset-toggle open"
413 OptItem "Close Inset|C" "inset-toggle close"
415 OptItem "Activate Branch|A" "branch-activate"
416 OptItem "Deactivate Branch|e" "branch-deactivate"
418 Item "Dissolve Inset|D" "inset-dissolve"
419 OptItem "Settings...|S" "inset-settings"
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"
430 Item "Settings...|S" "inset-settings"
434 # Toc Branches context menu
437 Menu "context-toc-branch"
438 OptItem "Activate Branch|A" "branch-activate"
439 OptItem "Deactivate Branch|e" "branch-deactivate"
441 Item "Settings...|S" "inset-settings"
445 # Toc Graphics context menu
448 Menu "context-toc-graphics"
449 Item "Settings...|S" "inset-settings"
451 Item "Edit externally...|x" "inset-edit"
455 # Toc Citation context menu
458 Menu "context-toc-citation"
459 Item "Settings...|S" "inset-settings"
463 # Toc Figures context menu
466 Menu "context-toc-figure"
467 Item "Settings...|S" "inset-settings"
471 # Toc Listings context menu
474 Menu "context-toc-listing"
475 Item "Settings...|S" "inset-settings"
479 # Toc Tables context menu
482 Menu "context-toc-table"
483 Item "Settings...|S" "inset-settings"
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"
496 Item "Settings...|S" "inset-settings"
498 Item "Edit included file...|E" "inset-edit"
502 # Toc Indices context menu
505 Menu "context-toc-index"
506 OptItem "Settings...|S" "inset-settings"
516 OptItem "Open Inset|O" "inset-toggle open"
517 OptItem "Close Inset|C" "inset-toggle close"
519 Item "Dissolve Inset|D" "inset-dissolve"
521 OptItem "Settings...|S" "inset-settings"
525 # Index Lists context menu
528 Menu "context-indexprint"
529 Item "All Indexes|A" "next-inset-modify check-printindex*"
532 Item "Subindex|b" "next-inset-modify toggle-subindex"
534 OptItem "Settings...|S" "inset-settings"
539 # Toc Changes context menu
542 Menu "context-toc-change"
543 Item "Accept Change|C" "change-accept"
544 Item "Reject Change|R" "change-reject"
548 # Toc Table of Context context menu
551 Menu "context-toc-tableofcontents"
552 Item "Promote Section|P" "outline-out"
553 Item "Demote Section|D" "outline-in"
554 Item "Move Section Up|U" "outline-up"
555 Item "Move Section Down|w" "outline-down"
557 Item "Select Section|S" "section-select"