]> git.lyx.org Git - lyx.git/blob - lib/ui/stdcontext.inc
UserGuide.lyx: fix some typographic issues spotted by Mike
[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://techbase.kde.org/Projects/Usability/HIG)
13
14 # Casing Rules:
15 # Capitalize all words in the element, with the following exceptions: 
16 # * Articles: a, an, the. 
17 # * Conjunctions: and, but, for, not, so, yet ...  
18 # * Prepositions of three or fewer letters: at, for, by, in, to ...
19 #   (except when the preposition is part of a verb phrase, such as "Check In")
20 # (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en)
21
22 Format 4
23
24 Menuset
25
26 #
27 # InsetMath context menu
28 #
29         Menu "insert_math_context"
30                 Item "Array Environment|y" "math-matrix 2 2"
31                 Item "Cases Environment|C" "math-insert \cases"
32                 Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column"
33                 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
34                 Item "Gathered Environment|h" "math-insert \gathered"
35                 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
36                 Separator
37                 Item "Delimiters...|r" "dialog-show mathdelimiter"
38                 Item "Matrix...|x" "dialog-show mathmatrix"
39                 Item "Macro|o" "math-macro newmacroname newcommand"
40         End
41
42         Menu "ams_environment"
43                 Item "AMS align Environment|a" "math-mutate align"
44                 Item "AMS alignat Environment|t" "math-mutate alignat"
45                 Item "AMS flalign Environment|f" "math-mutate flalign"
46                 Item "AMS gather Environment|g" "math-mutate gather"
47                 Item "AMS multline Environment|m" "math-mutate multline"
48         End
49
50         Menu "context-math"
51                 Item "Inline Formula|I" "math-mutate simple"
52                 Item "Displayed Formula|D" "math-mutate equation"
53                 Item "Eqnarray Environment|E" "math-mutate eqnarray"
54                 Submenu "AMS Environment|A" "ams_environment"
55                 Separator
56                 OptItem "Number Whole Formula|N" "math-number-toggle"
57                 OptItem "Number This Line|u" "math-number-line-toggle"
58                 OptItem "Equation Label|L" "label-insert"
59                 OptItem "Copy as Reference|R" "label-copy-as-reference"
60                 Separator
61                 Item "Split Cell|C" "cell-split"
62                 Separator
63                 Submenu "Insert|s" "insert_math_context"
64                 Separator
65                 OptItem "Add Line Above|o" "tabular-feature add-hline-above"
66                 OptItem "Add Line Below|B" "tabular-feature add-hline-below"
67                 OptItem "Delete Line Above|v" "tabular-feature delete-hline-above"
68                 OptItem "Delete Line Below|w" "tabular-feature delete-hline-below"
69                 Separator
70                 OptItem "Add Line to Left" "tabular-feature add-vline-left"
71                 OptItem "Add Line to Right" "tabular-feature add-vline-right"
72                 OptItem "Delete Line to Left" "tabular-feature delete-vline-left"
73                 OptItem "Delete Line to Right" "tabular-feature delete-vline-right"
74                 Separator
75                 Item "Show Math Toolbar" "toolbar-toggle math toggle"
76                 Item "Show Math-Panels Toolbar" "toolbar-toggle math_panels toggle"
77                 Item "Show Table Toolbar" "toolbar-toggle table toggle"
78                 Separator
79                 Submenu "Use Computer Algebra System|m" "edit_math_extern"
80         End
81
82
83 #
84 # InsetRef context menu
85 #
86         Menu "context-ref"
87                 Item "Next Cross-Reference|N" "reference-next"
88                 Item "Go to Label|G" "label-goto"
89                 Separator
90                 Item "<Reference>|R" "inset-modify changetype ref"
91                 Item "(<Reference>)|e" "inset-modify changetype eqref"
92                 Item "<Page>|P" "inset-modify changetype pageref"
93                 Item "On Page <Page>|O" "inset-modify changetype vpageref"
94                 Item "<Reference> on Page <Page>|f" "inset-modify changetype vref"
95                 Item "Formatted Reference|t" "inset-modify changetype formatted"
96                 Item "Textual Reference|x" "inset-modify changetype nameref"
97                 Separator
98                 Item "Settings...|S" "inset-settings"
99         End
100
101 #
102 # InsetLabel context menu
103 #
104         Menu "context-label"
105                 Item "Next Cross-Reference|N" "reference-next"
106                 Item "Go Back|G" "bookmark-goto 0"
107                 Separator
108                 Item "Copy as Reference|C" "label-copy-as-reference"
109                 Separator
110                 Item "Settings...|S" "inset-settings"
111         End
112
113
114 #
115 # InsetCitation context menu
116 #
117         Menu "context-citation"
118                 CiteStyles
119                 Separator
120                 Item "Settings...|S" "inset-settings"
121         End
122
123
124 #
125 # InsetBibtex context menu
126 #
127         Menu "context-bibtex"
128                 Item "Settings...|S" "inset-settings"
129                 Separator
130                 Item "Edit Database(s) Externally...|x" "inset-edit"
131         End
132
133 #
134 # InsetBibItem context menu
135 #
136         Menu "context-bibitem"
137                 Item "Settings...|S" "inset-settings"
138         End
139
140 #
141 # InsetCollapsable context menu
142 #
143         Menu "context-collapsable"
144                 OptItem "Open Inset|O" "inset-toggle open"
145                 OptItem "Close Inset|C" "inset-toggle close"
146                 Separator
147                 Item "Dissolve Inset|D" "inset-dissolve"
148                 OptItem "Settings...|S" "inset-settings"
149         End
150
151         Menu "context-conglomerate"
152                 Item "Show Label|L" "inset-toggle"
153                 Item "Dissolve Inset|D" "inset-dissolve charstyle"
154                 Separator
155                 OptItem "Settings...|S" "inset-settings"
156         End
157
158 #
159 # InsetArgument context menu
160 #
161         Menu "context-argument"
162                 SwitchArguments
163         End
164
165
166 #
167 # InsetBox context menu
168 #
169
170         Menu "context-box"
171                 Item "Frameless|l" "inset-modify changetype Frameless"
172                 Item "Simple Frame|F" "inset-modify changetype Boxed"
173                 Item "Simple Frame, Page Breaks|P" "inset-modify changetype Framed"
174                 Item "Oval, Thin|a" "inset-modify changetype ovalbox"
175                 Item "Oval, Thick|v" "inset-modify changetype Ovalbox"
176                 Item "Drop Shadow|w" "inset-modify changetype Shadowbox"
177                 Item "Shaded Background|B" "inset-modify changetype Shaded"
178                 Item "Double Frame|u" "inset-modify changetype Doublebox"
179         End
180
181
182 #
183 # InsetCaption context menu
184 #
185         Menu "context-caption"
186                 SwitchCaptions
187         End
188
189
190 #
191 # InsetNote context menu
192 #
193
194         Menu "context-note"
195                 Item "LyX Note|N" "inset-modify note Note Note"
196                 Item "Comment|m" "inset-modify note Note Comment"
197                 Item "Greyed Out|G" "inset-modify note Note Greyedout"
198                 Separator
199                 Item "Open All Notes|A" "inset-forall Note inset-toggle open"
200                 Item "Close All Notes|l" "inset-forall Note inset-toggle close"
201         End
202
203 #
204 # InsetPhantom context menu
205 #
206
207         Menu "context-phantom"
208                 Item "Phantom|P" "inset-modify phantom Phantom Phantom"
209                 Item "Horizontal Phantom|H" "inset-modify phantom Phantom HPhantom"
210                 Item "Vertical Phantom|V" "inset-modify phantom Phantom VPhantom"
211         End
212
213 #
214 # InsetSpace context menu
215 #
216         Menu "context-space"
217                 Item "Interword Space|w" "inset-modify space \space{}"
218                 Item "Protected Space|o" "inset-modify space ~"
219                 Item "Visible Space|a" "inset-modify space \textvisiblespace{}"
220                 Item "Thin Space|T" "inset-modify space \thinspace{}"
221                 Item "Negative Thin Space|N" "inset-modify space \negthinspace{}"
222                 Item "Half Quad Space (Enskip)|k" "inset-modify space \enskip{}"
223                 Item "Protected Half Quad Space (Enspace)|E" "inset-modify space \enspace{}"
224                 Item "Quad Space|Q" "inset-modify space \quad{}"
225                 Item "Double Quad Space|u" "inset-modify space \qquad{}"
226                 Item "Horizontal Fill|F" "inset-modify space \hfill{}"
227                 Item "Protected Horizontal Fill|i" "inset-modify space \hspace*{\fill}"
228                 Item "Horizontal Fill (Dots)|D" "inset-modify space \dotfill{}"
229                 Item "Horizontal Fill (Rule)|R" "inset-modify space \hrulefill{}"
230                 Item "Horizontal Fill (Left Arrow)|L" "inset-modify space \leftarrowfill{}"
231                 Item "Horizontal Fill (Right Arrow)|g" "inset-modify space \rightarrowfill{}"
232                 Item "Horizontal Fill (Up Brace)|p" "inset-modify space \upbracefill{}"
233                 Item "Horizontal Fill (Down Brace)|B" "inset-modify space \downbracefill{}"
234                 Item "Custom Length|C" "command-sequence inset-modify space \hspace{}; inset-settings"
235                 Separator
236                 Item "Settings...|S" "inset-settings"
237         End
238
239 #
240 # InsetMathSpace context menu
241 #
242         Menu "context-mathspace"
243                 Item "Thin Space|T" "inset-modify mathspace \thinspace{}"
244                 Item "Medium Space|M" "inset-modify mathspace \medspace{}"
245                 Item "Thick Space|h" "inset-modify mathspace \thickspace{}"
246                 Item "Negative Thin Space|N" "inset-modify mathspace \negthinspace{}"
247                 Item "Negative Medium Space|u" "inset-modify mathspace \negmedspace{}"
248                 Item "Negative Thick Space|i" "inset-modify mathspace \negthickspace{}"
249                 Item "Half Quad Space (Enskip)|k" "inset-modify mathspace \enskip{}"
250                 Item "Quad Space|Q" "inset-modify mathspace \quad{}"
251                 Item "Double Quad Space|u" "inset-modify mathspace \qquad{}"
252                 Item "Custom Length|C" "command-sequence inset-modify mathspace \hspace{} \length 1in; inset-settings"
253                 Separator
254                 Item "Settings...|S" "inset-settings"
255         End
256
257 #
258 # InsetVSpace context menu
259 #
260         Menu "context-vspace"
261                 Item "DefSkip|D" "inset-modify vspace defskip"
262                 Item "SmallSkip|S" "inset-modify vspace smallskip"
263                 Item "MedSkip|M" "inset-modify vspace medskip"
264                 Item "BigSkip|B" "inset-modify vspace bigskip"
265                 Item "VFill|F" "inset-modify vspace vfill"
266                 Item "Custom|C" "command-sequence inset-modify vspace custom; inset-settings"
267                 Separator
268                 Item "Settings...|e" "inset-settings"
269         End
270
271 #
272 # InsetInclude context menu
273 #
274         Menu "context-include"
275                 Item "Include|c" "inset-modify changetype include"
276                 Item "Input|p" "inset-modify changetype input"
277                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
278                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
279                 Item "Listing|L" "inset-modify changetype lstinputlisting"
280                 Separator
281                 Item "Settings...|S" "inset-settings"
282                 Separator
283                 Item "Edit Included File...|E" "inset-edit"
284         End
285
286 #
287 # InsetNewpage context menu
288 #
289         Menu "context-newpage"
290                 Item "New Page|N" "inset-modify newpage newpage"
291                 Item "Page Break|a" "inset-modify newpage pagebreak"
292                 Item "Clear Page|C" "inset-modify newpage clearpage"
293                 Item "Clear Double Page|D" "inset-modify newpage cleardoublepage"
294         End
295
296 #
297 # InsetNewline context menu
298 #
299         Menu "context-newline"
300                 Item "Ragged Line Break|R" "inset-modify newline newline"
301                 Item "Justified Line Break|J" "inset-modify newline linebreak"
302         End
303
304 #
305 # InsetNewline context menu
306 #
307         Menu "context-separator"
308                 Item "Plain Separator|P" "inset-modify separator plain"
309                 Item "Paragraph Break|B" "inset-modify separator parbreak"
310         End
311
312 #
313 # Edit context menu
314 #
315         Menu "context-edit"
316                 spellingsuggestions
317                 Separator
318                 Item "Cut" "cut"
319                 Item "Copy" "copy"
320                 Item "Paste" "paste"
321                 Submenu "Paste Recent|e" "edit_pasterecent"
322                 Separator
323                 Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
324                 OptItem "Forward Search|F" "forward-search"
325                 Separator
326                 Item "Move Paragraph Up|o" "paragraph-move-up"
327                 Item "Move Paragraph Down|v" "paragraph-move-down"
328                 Separator
329                 EnvironmentSeparators
330                 Separator
331                 OptItem "Promote Section|r" "outline-out"
332                 OptItem "Demote Section|m" "outline-in"
333                 OptItem "Move Section Down|D" "outline-down"
334                 OptItem "Move Section Up|U" "outline-up"
335                 Arguments
336                 OptSubmenu "Insert Regular Expression" "context-edit-regexp"
337                 Separator
338                 OptItem "Accept Change|c" "change-accept"
339                 OptItem "Reject Change|j" "change-reject"
340                 Separator
341                 Item "Apply Last Text Style|A" "textstyle-apply"
342                 Submenu "Text Style|x" "edit_textstyles"
343                 Item "Paragraph Settings...|P" "layout-paragraph"
344                 LanguageSelector
345                 Separator
346                 Item "Fullscreen Mode" "ui-toggle fullscreen"
347                 OptItem "Close Current View" "tab-group-close"
348         End
349
350
351 #
352 # Regular Expression context menu
353 #
354         Menu "context-edit-regexp"
355                 Item "Anything|A" "command-sequence regexp-mode; self-insert .*"
356                 Item "Anything Non-Empty|o" "command-sequence regexp-mode; self-insert .+"
357                 Item "Any Word|W" "command-sequence regexp-mode; self-insert [a-z]+"
358                 Item "Any Number|N" "command-sequence regexp-mode; self-insert [0-9]+"
359                 Item "User Defined|U" "regexp-mode"
360         End
361
362
363 #
364 # Math Macro context menu
365 #
366
367         Menu "context-math-macro-definition"
368                 Item "Append Argument" "math-macro-add-param"
369                 Item "Remove Last Argument" "math-macro-remove-param"
370                 Separator
371                 Item "Make First Non-Optional Into Optional Argument" "math-macro-make-optional"
372                 Item "Make Last Optional Into Non-Optional Argument" "math-macro-make-nonoptional"
373                 Item "Insert Optional Argument" "math-macro-add-optional-param"
374                 Item "Remove Optional Argument" "math-macro-remove-optional-param"
375                 Separator
376                 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
377                 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
378                 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
379         End
380
381 #
382 # InsetGraphics context menu
383 #
384
385         Menu "context-graphics"
386                 Item "Settings...|S" "inset-settings"
387                 Item "Reload|R" "graphics-reload"
388                 Separator
389                 Item "Edit Externally...|x" "inset-edit"
390                 Separator
391                 GraphicsGroups
392         End
393
394 #
395 # InsetExternal context menu
396 #
397
398         Menu "context-external"
399                 Item "Settings...|S" "inset-settings"
400                 Separator
401                 Item "Edit Externally...|x" "inset-edit"
402         End
403
404 #
405 # InsetTabular context menu
406 #
407
408         Menu "table-borders"
409                 Item "Top|T" "tabular-feature toggle-line-top"
410                 Item "Bottom|B" "tabular-feature toggle-line-bottom"
411                 Item "Left|L" "tabular-feature toggle-line-left"
412                 Item "Right|R" "tabular-feature toggle-line-right"
413         End
414
415         Menu "table-alignment"
416                 Item "Left|f" "command-alternatives tabular-feature m-align-left;tabular-feature align-left"
417                 Item "Center|C" "command-alternatives tabular-feature m-align-center;tabular-feature align-center"
418                 Item "Right|h" "command-alternatives tabular-feature m-align-right;tabular-feature align-right"
419                 Item "Decimal" "tabular-feature align-decimal"
420                 Separator
421                 Item "Top" "tabular-feature valign-top"
422                 Item "Middle" "tabular-feature valign-middle"
423                 Item "Bottom" "tabular-feature valign-bottom"
424         End
425
426         Menu "table-cols-rows"
427                 Item "Multicolumn|u" "tabular-feature multicolumn"
428                 Item "Multirow|w" "tabular-feature multirow"
429                 Separator
430                 Item "Append Row|A" "tabular-feature append-row"
431                 Item "Delete Row|D" "tabular-feature delete-row"
432                 Item "Copy Row|o" "tabular-feature copy-row"
433                 Item "Move Row Up" "tabular-feature move-row-up"
434                 Item "Move Row Down" "tabular-feature move-row-down"
435                 Separator
436                 Item "Append Column|p" "tabular-feature append-column"
437                 Item "Delete Column|e" "tabular-feature delete-column"
438                 Item "Copy Column|y" "tabular-feature copy-column"
439                 Item "Move Column Right|v" "tabular-feature move-column-right"
440                 Item "Move Column Left" "tabular-feature move-column-left"
441         End
442
443         Menu "context-tabular"
444                 Item "Multi-page Table|g" "tabular-feature toggle-longtabular"
445                 Item "Formal Style|m" "tabular-feature toggle-booktabs"
446                 Separator
447                 Submenu "Borders|d" "table-borders"
448                 Submenu "Alignment|i" "table-alignment"
449                 Submenu "Columns/Rows|C" "table-cols-rows"
450                 Separator
451                 Item "Settings...|S" "inset-settings tabular"
452         End
453
454 #
455 # InsetInfo context menu
456 #
457
458         Menu "buffer-info"
459                 Item "File|F" "inset-modify buffer name"
460                 Item "Path|P" "inset-modify buffer path"
461                 Item "Class|C" "inset-modify buffer class"
462                 Separator
463                 Item "File Revision|R" "inset-modify buffer vcs-revision"
464                 Item "Tree Revision|T" "inset-modify buffer vcs-tree-revision"
465                 Item "Revision Author|A" "inset-modify buffer vcs-author"
466                 Item "Revision Date|D" "inset-modify buffer vcs-date"
467                 Item "Revision Time|i" "inset-modify buffer vcs-time"
468                 Separator
469                 Item "LyX Version|X" "inset-modify lyxinfo version"
470         End
471
472         Menu "context-info"
473                 Submenu "Document Info|D" "buffer-info"
474                 Separator
475                 Item "Copy Text|o" "inset-copy-as"
476                 Item "Settings...|S" "inset-settings info"
477         End
478
479 #
480 # InsetBranch context menu
481 #
482
483         Menu "context-branch"
484                 OptItem "Activate Branch|A" "branch-activate"
485                 OptItem "Deactivate Branch|e" "branch-deactivate"
486                 OptItem "Activate Branch in Master|M" "branch-master-activate"
487                 OptItem "Deactivate Branch in Master|v" "branch-master-deactivate"
488                 OptItem "Add Unknown Branch|w" "branch-add"
489         End
490
491 #
492 # Toc Labels and References context menu
493 #
494
495         Menu "context-toc-label"
496                 OptItem "Copy as Reference|C" "label-copy-as-reference"
497                 OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference"
498                 Separator
499                 Item "Settings...|S" "inset-settings"
500         End
501
502 #
503 # Toc Branches context menu
504 #
505
506         Menu "context-toc-branch"
507                 OptItem "Activate Branch|A" "branch-activate"
508                 OptItem "Deactivate Branch|e" "branch-deactivate"
509                 Separator
510                 Item "Settings...|S" "inset-settings"
511         End
512
513 #
514 # Toc Graphics context menu
515 #
516
517         Menu "context-toc-graphics"
518                 Item "Settings...|S" "inset-settings"
519                 Separator
520                 Item "Edit Externally...|x" "inset-edit"
521         End
522
523 #
524 # Toc Citation context menu
525 #
526
527         Menu "context-toc-citation"
528                 Item "Settings...|S" "inset-settings"
529         End
530
531 #
532 # Toc Figures context menu
533 #
534
535         Menu "context-toc-figure"
536                 Item "Settings...|S" "inset-settings"
537         End
538
539 #
540 # Toc Listings context menu
541 #
542
543         Menu "context-toc-listing"
544                 Item "Settings...|S" "inset-settings"
545         End
546
547 #
548 # Toc Tables context menu
549 #
550
551         Menu "context-toc-table"
552                 Item "Settings...|S" "inset-settings"
553         End
554
555 #
556 # Toc Childs context menu
557 #
558         Menu "context-toc-child"
559                 Item "Include|c" "inset-modify changetype include"
560                 Item "Input|p" "inset-modify changetype input"
561                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
562                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
563                 Item "Listing|L" "inset-modify changetype lstinputlisting"
564                 Separator
565                 Item "Settings...|S" "inset-settings"
566                 Separator
567                 Item "Edit Included File...|E" "inset-edit"
568         End
569
570 #
571 # Toc Indices context menu
572 #
573
574         Menu "context-toc-index"
575                 OptItem "Settings...|S" "inset-settings"
576         End
577
578 #
579 # Index context menu
580 #
581
582         Menu "context-index"
583                 IndicesContext
584         End
585
586 #
587 # Index Lists context menu
588 #
589
590         Menu "context-indexprint"
591                 Item "All Indexes|A" "inset-modify check-printindex*"
592                 IndicesListsContext
593                 Separator
594                 Item "Subindex|b" "inset-modify toggle-subindex"
595                 Separator
596                 OptItem "Settings...|S" "inset-settings"
597         End
598
599 #
600 # Nomencl List context menu
601 #
602
603         Menu "context-nomenclprint"
604                 OptItem "Settings...|S" "inset-settings"
605         End
606
607
608 # InsetPreview context menu
609 #
610
611         Menu "context-preview"
612                 Item "Dissolve Inset|D" "inset-dissolve"
613         End
614
615
616 #
617 # Toc Changes context menu
618 #
619
620         Menu "context-toc-change"
621                 Item "Accept Change|c" "change-accept"
622                 Item "Reject Change|R" "change-reject"
623         End     
624         
625 #
626 # Toc Table of Context context menu
627 #
628
629         Menu "context-toc-tableofcontents"
630                 Item "Promote Section|P" "outline-out"
631                 Item "Demote Section|D" "outline-in"
632                 Item "Move Section Up|U" "outline-up"
633                 Item "Move Section Down|w" "outline-down"
634                 Separator
635                 Item "Select Section|S" "section-select"
636         End     
637
638 #
639 # InsetERT context menu
640 #
641         Menu "context-ert"
642                 # repeat 1 is added as a work-around to not indicate this action as toggable
643                 Item "Wrap by Preview|y" "command-sequence repeat 1;inset-toggle;char-forward;char-backward;char-forward-select;preview-insert;char-backward;char-backward;inset-toggle"
644         End
645
646 #
647 # InsetHyperlink context menu
648 #
649         Menu "context-hyperlink"
650                 Item "Settings...|S" "inset-settings"
651         End
652
653 End