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"
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"
286 Submenu "Paste Recent|e" "edit_pasterecent"
288 Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
290 Item "Move Paragraph Up|o" "paragraph-move-up"
291 Item "Move Paragraph Down|v" "paragraph-move-down"
293 OptItem "Promote Section|r" "outline-out"
294 OptItem "Demote Section|m" "outline-in"
295 OptItem "Move Section down|d" "outline-down"
296 OptItem "Move Section up|u" "outline-up"
297 OptItem "Insert Short Title|T" "optional-insert"
299 OptItem "Accept Change|c" "change-accept"
300 OptItem "Reject Change|j" "change-reject"
302 Item "Apply Last Text Style|A" "textstyle-apply"
303 Submenu "Text Style|S" "edit_textstyles"
304 Item "Paragraph Settings...|P" "layout-paragraph"
306 Item "Fullscreen Mode" "ui-toggle fullscreen"
310 # Math Macro context menu
313 Menu "context-math-macro-definition"
314 Item "Append Argument" "math-macro-add-param"
315 Item "Remove Last Argument" "math-macro-remove-param"
317 Item "Make First Non-Optional into Optional Argument" "math-macro-make-optional"
318 Item "Make Last Optional into Non-Optional Argument" "math-macro-make-nonoptional"
319 Item "Insert Optional Argument" "math-macro-add-optional-param"
320 Item "Remove Optional Argument" "math-macro-remove-optional-param"
322 Item "Append Argument Eating From The Right" "math-macro-append-greedy-param"
323 Item "Append Optional Argument Eating From The Right" "math-macro-add-greedy-optional-param"
324 Item "Remove Last Argument Spitting Out To The Right" "math-macro-remove-greedy-param"
328 # InsetListing context menu
331 Menu "context-listings"
335 Submenu "Paste Recent|e" "edit_pasterecent"
337 OptItem "Open Inset|O" "inset-toggle open"
338 OptItem "Close Inset|C" "inset-toggle close"
340 Item "Dissolve Inset|D" "inset-dissolve"
341 Item "Settings...|S" "inset-settings listings"
345 # InsetGraphics context menu
348 Menu "context-graphics"
349 Item "Settings...|S" "inset-settings"
351 Item "Edit externally...|x" "inset-edit"
357 # InsetExternal context menu
360 Menu "context-external"
361 Item "Settings...|S" "inset-settings"
363 Item "Edit externally...|x" "inset-edit"
367 # InsetTabular context menu
370 Menu "context-tabular"
371 Item "Multicolumn|M" "tabular-feature multicolumn"
373 Item "Top Line|T" "tabular-feature toggle-line-top"
374 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
375 Item "Left Line|L" "tabular-feature toggle-line-left"
376 Item "Right Line|R" "tabular-feature toggle-line-right"
378 Item "Left|L" "tabular-feature align-left"
379 Item "Center|C" "tabular-feature align-center"
380 Item "Right|R" "tabular-feature align-right"
382 Item "Top|T" "tabular-feature valign-top"
383 Item "Middle|M" "tabular-feature valign-middle"
384 Item "Bottom|B" "tabular-feature valign-bottom"
386 Item "Add Row|A" "tabular-feature append-row"
387 Item "Delete Row|D" "tabular-feature delete-row"
388 Item "Copy Row|o" "tabular-feature copy-row"
389 # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken
391 Item "Add Column|u" "tabular-feature append-column"
392 Item "Delete Column|e" "tabular-feature delete-column"
393 Item "Copy Column|p" "tabular-feature copy-column"
394 # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken
396 Item "Settings...|S" "inset-settings tabular"
401 # InsetInfo context menu
405 Item "Settings...|S" "inset-settings info"
409 # InsetBranch context menu
412 Menu "context-branch"
413 OptItem "Open Inset|O" "inset-toggle open"
414 OptItem "Close Inset|C" "inset-toggle close"
416 OptItem "Activate Branch|A" "branch-activate"
417 OptItem "Deactivate Branch|e" "branch-deactivate"
419 Item "Dissolve Inset|D" "inset-dissolve"
420 OptItem "Settings...|S" "inset-settings"
424 # Toc Labels and References context menu
427 Menu "context-toc-label"
428 OptItem "Copy as Reference|C" "copy-label-as-reference"
429 OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference"
431 Item "Settings...|S" "inset-settings"
435 # Toc Branches context menu
438 Menu "context-toc-branch"
439 OptItem "Activate Branch|A" "branch-activate"
440 OptItem "Deactivate Branch|e" "branch-deactivate"
442 Item "Settings...|S" "inset-settings"
446 # Toc Graphics context menu
449 Menu "context-toc-graphics"
450 Item "Settings...|S" "inset-settings"
452 Item "Edit externally...|x" "inset-edit"
456 # Toc Citation context menu
459 Menu "context-toc-citation"
460 Item "Settings...|S" "inset-settings"
464 # Toc Figures context menu
467 Menu "context-toc-figure"
468 Item "Settings...|S" "inset-settings"
472 # Toc Listings context menu
475 Menu "context-toc-listing"
476 Item "Settings...|S" "inset-settings"
480 # Toc Tables context menu
483 Menu "context-toc-table"
484 Item "Settings...|S" "inset-settings"
488 # Toc Childs context menu
490 Menu "context-toc-child"
491 Item "Include|c" "inset-modify changetype include"
492 Item "Input|p" "inset-modify changetype input"
493 Item "Verbatim|V" "inset-modify changetype verbatiminput"
494 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
495 Item "Listing|L" "inset-modify changetype lstinputlisting"
497 Item "Settings...|S" "inset-settings"
499 Item "Edit included file...|E" "inset-edit"
503 # Toc Indices context menu
506 Menu "context-toc-index"
507 OptItem "Settings...|S" "inset-settings"
517 OptItem "Open Inset|O" "inset-toggle open"
518 OptItem "Close Inset|C" "inset-toggle close"
520 Item "Dissolve Inset|D" "inset-dissolve"
522 OptItem "Settings...|S" "inset-settings"
526 # Index Lists context menu
529 Menu "context-indexprint"
530 Item "All Indexes|A" "next-inset-modify check-printindex*"
533 Item "Subindex|b" "next-inset-modify toggle-subindex"
535 OptItem "Settings...|S" "inset-settings"
539 # Nomencl List context menu
542 Menu "context-nomenclprint"
543 OptItem "Settings...|S" "inset-settings"
548 # Toc Changes context menu
551 Menu "context-toc-change"
552 Item "Accept Change|c" "change-accept"
553 Item "Reject Change|R" "change-reject"
557 # Toc Table of Context context menu
560 Menu "context-toc-tableofcontents"
561 Item "Promote Section|P" "outline-out"
562 Item "Demote Section|D" "outline-in"
563 Item "Move Section Up|U" "outline-up"
564 Item "Move Section Down|w" "outline-down"
566 Item "Select Section|S" "section-select"