]> git.lyx.org Git - lyx.git/blob - lib/ui/stdcontext.inc
* id.po: update from Waluyo.
[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 # 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 1
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; inset-modify tabular append-column"
33                 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; inset-modify tabular append-column"
34                 Item "Gathered Environment|h" "math-insert \gathered"
35                 Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular 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" "copy-label-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" "inset-modify tabular add-hline-above"
66                 OptItem "Add Line Below|B" "inset-modify tabular add-hline-below"
67                 OptItem "Delete Line Above|v" "inset-modify tabular delete-hline-above"
68                 OptItem "Delete Line Below|w" "inset-modify tabular delete-hline-below"
69                 Separator
70                 OptItem "Add Line to Left" "inset-modify tabular add-vline-left"
71                 OptItem "Add Line to Right" "inset-modify tabular add-vline-right"
72                 OptItem "Delete Line to Left" "inset-modify tabular delete-vline-left"
73                 OptItem "Delete Line to Right" "inset-modify tabular 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" "copy-label-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 #
135 # InsetCollapsable context menu
136 #
137         Menu "context-collapsable"
138                 OptItem "Open Inset|O" "inset-toggle open"
139                 OptItem "Close Inset|C" "inset-toggle close"
140                 Separator
141                 Item "Dissolve Inset|D" "inset-dissolve"
142                 OptItem "Settings...|S" "inset-settings"
143         End
144
145         Menu "context-conglomerate"
146                 Item "Show Label|L" "inset-toggle"
147                 Item "Dissolve Inset|D" "inset-dissolve charstyle"
148                 Separator
149                 OptItem "Settings...|S" "inset-settings"
150         End
151
152 #
153 # InsetBox context menu
154 #
155
156         Menu "context-box"
157                 Item "Frameless|l" "inset-modify changetype Frameless"
158                 Item "Simple Frame|F" "inset-modify changetype Boxed"
159                 Item "Simple Frame, Page Breaks|P" "inset-modify changetype Framed"
160                 Item "Oval, Thin|a" "inset-modify changetype ovalbox"
161                 Item "Oval, Thick|v" "inset-modify changetype Ovalbox"
162                 Item "Drop Shadow|w" "inset-modify changetype Shadowbox"
163                 Item "Shaded Background|B" "inset-modify changetype Shaded"
164                 Item "Double Frame|u" "inset-modify changetype Doublebox"
165         End
166
167 #
168 # InsetNote context menu
169 #
170
171         Menu "context-note"
172                 Item "LyX Note|N" "inset-modify note Note Note"
173                 Item "Comment|m" "inset-modify note Note Comment"
174                 Item "Greyed Out|G" "inset-modify note Note Greyedout"
175                 Separator
176                 Item "Open All Notes|A" "inset-forall Note inset-toggle open"
177                 Item "Close All Notes|l" "inset-forall Note inset-toggle close"
178         End
179
180 #
181 # InsetPhantom context menu
182 #
183
184         Menu "context-phantom"
185                 Item "Phantom|P" "inset-modify phantom Phantom Phantom"
186                 Item "Horizontal Phantom|H" "inset-modify phantom Phantom HPhantom"
187                 Item "Vertical Phantom|V" "inset-modify phantom Phantom VPhantom"
188                 Separator
189                 Item "Dissolve Inset|D" "inset-dissolve"
190         End
191
192 #
193 # InsetSpace context menu
194 #
195         Menu "context-space"
196                 Item "Interword Space|w" "inset-modify space \space{}"
197                 Item "Protected Space|o" "inset-modify space ~"
198                 Item "Thin Space|T" "inset-modify space \thinspace{}"
199                 Item "Negative Thin Space|N" "inset-modify space \negthinspace{}"
200                 Item "Half Quad Space (Enskip)|k" "inset-modify space \enskip{}"
201                 Item "Protected Half Quad Space (Enspace)|E" "inset-modify space \enspace{}"
202                 Item "Quad Space|Q" "inset-modify space \quad{}"
203                 Item "Double Quad Space|u" "inset-modify space \qquad{}"
204                 Item "Horizontal Fill|F" "inset-modify space \hfill{}"
205                 Item "Protected Horizontal Fill|i" "inset-modify space \hspace*{\fill}"
206                 Item "Horizontal Fill (Dots)|D" "inset-modify space \dotfill{}"
207                 Item "Horizontal Fill (Rule)|R" "inset-modify space \hrulefill{}"
208                 Item "Horizontal Fill (Left Arrow)|L" "inset-modify space \leftarrowfill{}"
209                 Item "Horizontal Fill (Right Arrow)|g" "inset-modify space \rightarrowfill{}"
210                 Item "Horizontal Fill (Up Brace)|p" "inset-modify space \upbracefill{}"
211                 Item "Horizontal Fill (Down Brace)|B" "inset-modify space \downbracefill{}"
212                 Item "Custom Length|C" "command-sequence inset-modify space \hspace{} \length 1in; inset-settings"
213                 Separator
214                 Item "Settings...|S" "inset-settings"
215         End
216
217 #
218 # InsetMathSpace context menu
219 #
220         Menu "context-mathspace"
221                 Item "Thin Space|T" "inset-modify mathspace \thinspace{}"
222                 Item "Medium Space|M" "inset-modify mathspace \medspace{}"
223                 Item "Thick Space|h" "inset-modify mathspace \thickspace{}"
224                 Item "Negative Thin Space|N" "inset-modify mathspace \negthinspace{}"
225                 Item "Negative Medium Space|u" "inset-modify mathspace \negmedspace{}"
226                 Item "Negative Thick Space|i" "inset-modify mathspace \negthickspace{}"
227                 Item "Half Quad Space (Enskip)|k" "inset-modify mathspace \enskip{}"
228                 Item "Quad Space|Q" "inset-modify mathspace \quad{}"
229                 Item "Double Quad Space|u" "inset-modify mathspace \qquad{}"
230                 Item "Custom Length|C" "command-sequence inset-modify mathspace \hspace{} \length 1in; inset-settings"
231                 Separator
232                 Item "Settings...|S" "inset-settings"
233         End
234
235 #
236 # InsetVSpace context menu
237 #
238         Menu "context-vspace"
239                 Item "DefSkip|D" "inset-modify vspace defskip"
240                 Item "SmallSkip|S" "inset-modify vspace smallskip"
241                 Item "MedSkip|M" "inset-modify vspace medskip"
242                 Item "BigSkip|B" "inset-modify vspace bigskip"
243                 Item "VFill|F" "inset-modify vspace vfill"
244                 Item "Custom|C" "command-sequence inset-modify vspace 1in; inset-settings"
245                 Separator
246                 Item "Settings...|e" "inset-settings"
247         End
248
249 #
250 # InsetInclude context menu
251 #
252         Menu "context-include"
253                 Item "Include|c" "inset-modify changetype include"
254                 Item "Input|p" "inset-modify changetype input"
255                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
256                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
257                 Item "Listing|L" "inset-modify changetype lstinputlisting"
258                 Separator
259                 Item "Settings...|S" "inset-settings"
260                 Separator
261                 Item "Edit Included File...|E" "inset-edit"
262         End
263
264 #
265 # InsetNewpage context menu
266 #
267         Menu "context-newpage"
268                 Item "New Page|N" "inset-modify newpage newpage"
269                 Item "Page Break|a" "inset-modify newpage pagebreak"
270                 Item "Clear Page|C" "inset-modify newpage clearpage"
271                 Item "Clear Double Page|D" "inset-modify newpage cleardoublepage"
272         End
273
274 #
275 # InsetNewline context menu
276 #
277         Menu "context-newline"
278                 Item "Ragged Line Break|R" "inset-modify newline newline"
279                 Item "Justified Line Break|J" "inset-modify newline linebreak"
280         End
281
282 #
283 # Edit context menu
284 #
285         Menu "context-edit"
286                 spellingsuggestions
287                 Separator
288                 Item "Cut" "cut"
289                 Item "Copy" "copy"
290                 Item "Paste" "paste"
291                 Submenu "Paste Recent|e" "edit_pasterecent"
292                 Separator
293                 Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
294                 OptItem "Forward search|F" "forward-search"
295                 Separator
296                 Item "Move Paragraph Up|o" "paragraph-move-up"
297                 Item "Move Paragraph Down|v" "paragraph-move-down"
298                 Separator
299                 OptItem "Promote Section|r" "outline-out"
300                 OptItem "Demote Section|m" "outline-in"
301                 OptItem "Move Section Down|D" "outline-down"
302                 OptItem "Move Section Up|U" "outline-up"
303                 OptItem "Insert Short Title|T" "argument-insert"
304                 OptSubMenu "Insert Regular Expression..." "context-edit-regexp"
305                 Separator
306                 OptItem "Accept Change|c" "change-accept"
307                 OptItem "Reject Change|j" "change-reject"
308                 Separator
309                 Item "Apply Last Text Style|A" "textstyle-apply"
310                 Submenu "Text Style|S" "edit_textstyles"
311                 Item "Paragraph Settings...|P" "layout-paragraph"
312                 LanguageSelector
313                 Separator
314                 Item "Fullscreen Mode" "ui-toggle fullscreen"
315         End
316
317
318 #
319 # Regular Expression context menu
320 #
321         Menu "context-edit-regexp"
322                 Item "Anything|A" "command-sequence regexp-mode; self-insert .*"
323                 Item "Anything Non-Empty|o" "command-sequence regexp-mode; self-insert .+"
324                 Item "Any Word|W" "command-sequence regexp-mode; self-insert [a-z]+"
325                 Item "Any Number|N" "command-sequence regexp-mode; self-insert [0-9]+"
326                 Item "User Defined|U" "regexp-mode"
327         End
328
329
330 #
331 # Math Macro context menu
332 #
333
334         Menu "context-math-macro-definition"
335                 Item "Append Argument" "math-macro-add-param"
336                 Item "Remove Last Argument" "math-macro-remove-param"
337                 Separator
338                 Item "Make First Non-Optional Into Optional Argument" "math-macro-make-optional"
339                 Item "Make Last Optional Into Non-Optional Argument" "math-macro-make-nonoptional"
340                 Item "Insert Optional Argument" "math-macro-add-optional-param"
341                 Item "Remove Optional Argument" "math-macro-remove-optional-param"
342                 Separator
343                 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
344                 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
345                 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
346         End
347
348 #
349 # InsetGraphics context menu
350 #
351
352         Menu "context-graphics"
353                 Item "Settings...|S" "inset-settings"
354                 Item "Reload|R" "graphics-reload"
355                 Separator
356                 Item "Edit Externally...|x" "inset-edit"
357                 Separator
358                 GraphicsGroups
359         End
360
361 #
362 # InsetExternal context menu
363 #
364
365         Menu "context-external"
366                 Item "Settings...|S" "inset-settings"
367                 Separator
368                 Item "Edit Externally...|x" "inset-edit"
369         End
370
371 #
372 # InsetTabular context menu
373 #
374
375         Menu "context-tabular"
376                 Item "Multicolumn|u" "inset-modify tabular multicolumn"
377                 Item "Multirow|w" "inset-modify tabular multirow"
378                 Separator
379                 Item "Top Line|n" "inset-modify tabular toggle-line-top"
380                 Item "Bottom Line|i" "inset-modify tabular toggle-line-bottom"
381                 Item "Left Line|L" "inset-modify tabular toggle-line-left"
382                 Item "Right Line|R" "inset-modify tabular toggle-line-right"
383                 Separator
384                 Item "Left|f" "command-alternatives inset-modify tabular m-align-left;inset-modify tabular align-left"
385                 Item "Center|C" "command-alternatives inset-modify tabular m-align-center;inset-modify tabular align-center"
386                 Item "Right|h" "command-alternatives inset-modify tabular m-align-right;inset-modify tabular align-right"
387                 Item "Decimal" "inset-modify tabular align-decimal"
388                 Separator
389                 Item "Top|T" "inset-modify tabular valign-top"
390                 Item "Middle|M" "inset-modify tabular valign-middle"
391                 Item "Bottom|B" "inset-modify tabular valign-bottom"
392                 Separator
393                 Item "Append Row|A" "inset-modify tabular append-row"
394                 Item "Delete Row|D" "inset-modify tabular delete-row"
395                 Item "Copy Row|o" "inset-modify tabular copy-row"
396                 # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
397                 Separator
398                 Item "Append Column|p" "inset-modify tabular append-column"
399                 Item "Delete Column|e" "inset-modify tabular delete-column"
400                 Item "Copy Column|y" "inset-modify tabular copy-column"
401                 # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
402                 Separator
403                 Item "Settings...|g" "inset-settings tabular"
404         End
405
406 #
407 # InsetInfo context menu
408 #
409
410         Menu "buffer-info"
411                 Item "File|F" "inset-modify buffer name"
412                 Item "Path|P" "inset-modify buffer path"
413                 Item "Class|C" "inset-modify buffer class"
414                 Separator
415                 Item "File Revision|R" "inset-modify buffer vcs-revision"
416                 Item "Tree Revision|T" "inset-modify buffer vcs-tree-revision"
417                 Item "Revision Author|A" "inset-modify buffer vcs-author"
418                 Item "Revision Date|D" "inset-modify buffer vcs-date"
419                 Item "Revision Time|i" "inset-modify buffer vcs-time"
420                 Separator
421                 Item "LyX Version|X" "inset-modify lyxinfo version"
422         End
423
424         Menu "context-info"
425                 Submenu "Document Info|D" "buffer-info"
426                 Separator
427                 Item "Copy Text|o" "inset-copy-as"
428                 Item "Settings...|S" "inset-settings info"
429         End
430
431 #
432 # InsetBranch context menu
433 #
434
435         Menu "context-branch"
436                 OptItem "Activate Branch|A" "branch-activate"
437                 OptItem "Deactivate Branch|e" "branch-deactivate"
438         End
439
440 #
441 # Toc Labels and References context menu
442 #
443
444         Menu "context-toc-label"
445                 OptItem "Copy as Reference|C" "copy-label-as-reference"
446                 OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference"
447                 Separator
448                 Item "Settings...|S" "inset-settings"
449         End
450
451 #
452 # Toc Branches context menu
453 #
454
455         Menu "context-toc-branch"
456                 OptItem "Activate Branch|A" "branch-activate"
457                 OptItem "Deactivate Branch|e" "branch-deactivate"
458                 Separator
459                 Item "Settings...|S" "inset-settings"
460         End
461
462 #
463 # Toc Graphics context menu
464 #
465
466         Menu "context-toc-graphics"
467                 Item "Settings...|S" "inset-settings"
468                 Separator
469                 Item "Edit Externally...|x" "inset-edit"
470         End
471
472 #
473 # Toc Citation context menu
474 #
475
476         Menu "context-toc-citation"
477                 Item "Settings...|S" "inset-settings"
478         End
479
480 #
481 # Toc Figures context menu
482 #
483
484         Menu "context-toc-figure"
485                 Item "Settings...|S" "inset-settings"
486         End
487
488 #
489 # Toc Listings context menu
490 #
491
492         Menu "context-toc-listing"
493                 Item "Settings...|S" "inset-settings"
494         End
495
496 #
497 # Toc Tables context menu
498 #
499
500         Menu "context-toc-table"
501                 Item "Settings...|S" "inset-settings"
502         End
503
504 #
505 # Toc Childs context menu
506 #
507         Menu "context-toc-child"
508                 Item "Include|c" "inset-modify changetype include"
509                 Item "Input|p" "inset-modify changetype input"
510                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
511                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
512                 Item "Listing|L" "inset-modify changetype lstinputlisting"
513                 Separator
514                 Item "Settings...|S" "inset-settings"
515                 Separator
516                 Item "Edit Included File...|E" "inset-edit"
517         End
518
519 #
520 # Toc Indices context menu
521 #
522
523         Menu "context-toc-index"
524                 OptItem "Settings...|S" "inset-settings"
525         End
526
527 #
528 # Index context menu
529 #
530
531         Menu "context-index"
532                 IndicesContext
533         End
534
535 #
536 # Index Lists context menu
537 #
538
539         Menu "context-indexprint"
540                 Item "All Indexes|A" "inset-modify check-printindex*"
541                 IndicesListsContext
542                 Separator
543                 Item "Subindex|b" "inset-modify toggle-subindex"
544                 Separator
545                 OptItem "Settings...|S" "inset-settings"
546         End
547
548 #
549 # Nomencl List context menu
550 #
551
552         Menu "context-nomenclprint"
553                 OptItem "Settings...|S" "inset-settings"
554         End
555
556
557 # InsetPreview context menu
558 #
559
560         Menu "context-preview"
561                 Item "Dissolve Inset|D" "inset-dissolve"
562         End
563
564
565 #
566 # Toc Changes context menu
567 #
568
569         Menu "context-toc-change"
570                 Item "Accept Change|c" "change-accept"
571                 Item "Reject Change|R" "change-reject"
572         End     
573         
574 #
575 # Toc Table of Context context menu
576 #
577
578         Menu "context-toc-tableofcontents"
579                 Item "Promote Section|P" "outline-out"
580                 Item "Demote Section|D" "outline-in"
581                 Item "Move Section Up|U" "outline-up"
582                 Item "Move Section Down|w" "outline-down"
583                 Separator
584                 Item "Select Section|S" "section-select"
585         End     
586
587 #
588 # InsetERT context menu
589 #
590         Menu "context-ert"
591                 Item "Wrap by Preview|P" "command-sequence inset-toggle;char-forward;char-backward;char-forward-select;preview-insert;char-backward;char-backward;inset-toggle"
592         End
593
594 #
595 # InsetHyperlink context menu
596 #
597         Menu "context-hyperlink"
598                 Item "Settings...|S" "inset-settings"
599         End
600
601 End