]> git.lyx.org Git - lyx.git/blob - lib/ui/stdcontext.inc
873710e663b992bcac5bc5c5d894d558a7845de1
[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 Menuset
15
16 #
17 # InsetMath context menu
18 #
19         Menu "context-math"
20                 Item "Equation Label|L" "label-insert"
21                 Item "Toggle Labeling/Numbering|T" "math-number-toggle"
22         End
23
24
25 #
26 # InsetRef context menu
27 #
28         Menu "context-ref"
29                 Item "Next Cross-Reference|N" "reference-next"
30                 Item "Go to Label|G" "label-goto"
31                 Submenu "Change Type|y" "edit_reftype"
32                 Item "Edit...|E" "next-inset-toggle"
33         End
34
35         Menu "edit_reftype"
36                 Item "<reference>|r" "next-inset-modify changetype ref"
37                 Item "(<reference>)|e" "next-inset-modify changetype eqref"
38                 Item "<page>|p" "next-inset-modify changetype pageref"
39                 Item "on page <page>|o" "next-inset-modify changetype vpageref"
40                 Item "<reference> on page <page>|f" "next-inset-modify changetype vref"
41                 Item "Formatted reference|t" "next-inset-modify changetype prettyref"
42         End
43
44 #
45 # InsetLabel context menu
46 #
47         Menu "context-label"
48                 Item "Next Cross-Reference|N" "reference-next"
49                 Item "Go back to Reference|G" "bookmark-goto 0"
50                 Item "Edit...|E" "next-inset-toggle"
51         End
52
53 #
54 # InsetCollapsable context menu
55 #
56         Menu "context-collapsable"
57                 OptItem "Open Inset|O" "next-inset-toggle open"
58                 OptItem "Close Inset|C" "next-inset-toggle close"
59                 Separator
60                 OptItem "Settings...|S" "inset-settings"
61         End
62
63         Menu "context-conglomerate"
64                 Item "Toggle Label|L" "next-inset-toggle"
65                 Item "Dissolve Inset|D" "inset-dissolve charstyle"
66                 Separator
67                 OptItem "Settings...|S" "inset-settings"
68         End
69
70 #
71 # InsetBox context menu
72 #
73
74         Menu "context-box"
75                 Submenu "Change Type|y" "edit_boxtype"
76                 Item "Settings...|S" "inset-settings box"
77         End
78
79         Menu "edit_boxtype"
80                 Item "Frameless|l" "next-inset-modify changetype Frameless"
81                 Item "Simple frame|f" "next-inset-modify changetype Boxed"
82                 Item "Simple frame, page breaks|p" "next-inset-modify changetype Framed"
83                 Item "Oval, thin|O" "next-inset-modify changetype ovalbox"
84                 Item "Oval, thick|v" "next-inset-modify changetype Ovalbox"
85                 Item "Drop Shadow|w" "next-inset-modify changetype Shadowbox"
86                 Item "Shaded background|b" "next-inset-modify changetype Shaded"
87                 Item "Double frame|D" "next-inset-modify changetype Doublebox"
88         End
89
90
91 #
92 # InsetNote context menu
93 #
94
95         Menu "context-note"
96                 Item "LyX Note|N" "next-inset-modify note Note Note"
97                 Item "Comment|C" "next-inset-modify note Note Comment"
98                 Item "Greyed Out|G" "next-inset-modify note Note Greyedout"
99         End
100
101
102 #
103 # InsetSpace context menu
104 #
105         Menu "context-space"
106                 Submenu "Change Type|y" "edit_spacetype"
107                 Item "Edit...|E" "next-inset-toggle"
108         End
109
110         Menu "edit_spacetype"
111                 Item "Interword Space|w" "next-inset-modify space \space{}"
112                 Item "Protected Space|P" "next-inset-modify space ~"
113                 Item "Thin Space|T" "next-inset-modify space \thinspace{}"
114                 Item "Quad Space|Q" "next-inset-modify space \quad{}"
115                 Item "QQuad Space|u" "next-inset-modify space \qquad{}"
116                 Item "Enspace|E" "next-inset-modify space \enspace{}"
117                 Item "Enskip|k" "next-inset-modify space \enskip{}"
118                 Item "Negative Thin Space|N" "next-inset-modify space \negthinspace{}"
119                 Item "Horizontal Fill|F" "next-inset-modify space \hfill{}"
120                 Item "Protected Horizontal Fill|i" "next-inset-modify space \hspace*{\fill}"
121                 Item "Horizontal Fill (Dots)|D" "next-inset-modify space \dotfill{}"
122                 Item "Horizontal Fill (Rule)|R" "next-inset-modify space \hrulefill{}"
123                 Item "Custom Length|C" "command-sequence next-inset-modify space \hspace{} \length 1in; next-inset-toggle"
124         End
125
126 #
127 # InsetVSpace context menu
128 #
129         Menu "context-vspace"
130                 Submenu "Change Type|y" "edit_vspacetype"
131                 Item "Edit...|E" "next-inset-toggle"
132         End
133
134         Menu "edit_vspacetype"
135                 Item "DefSkip|D" "next-inset-modify vspace defskip"
136                 Item "SmallSkip|S" "next-inset-modify vspace smallskip"
137                 Item "MedSkip|M" "next-inset-modify vspace medskip"
138                 Item "BigSkip|B" "next-inset-modify vspace bigskip"
139                 Item "VFill|F" "next-inset-modify vspace vfill"
140                 Item "Custom|C" "command-sequence next-inset-modify vspace 1in; next-inset-toggle"
141         End
142
143 #
144 # InsetNewpage context menu
145 #
146         Menu "context-newpage"
147                 Item "New Page|N" "next-inset-modify newpage newpage"
148                 Item "Page Break|a" "next-inset-modify newpage pagebreak"
149                 Item "Clear Page|C" "next-inset-modify newpage clearpage"
150                 Item "Clear Double Page|D" "next-inset-modify newpage cleardoublepage"
151         End
152
153 #
154 # Edit context menu
155 #
156         Menu "context-edit"
157                 Item "Cut" "cut"
158                 Item "Copy" "copy"
159                 Item "Paste" "paste"
160                 Submenu "Paste Recent|e" "edit_pasterecent"
161                 Separator
162                 Item "Jump to Saved Bookmark|B" "bookmark-goto 0"
163                 Separator
164                 Item "Move Paragraph Up|o" "paragraph-move-up"
165                 Item "Move Paragraph Down|v" "paragraph-move-down"
166                 Separator
167                 Item "Apply Last Text Style|A" "font-free-apply"
168                 Submenu "Text Style|S" "edit_textstyles"
169                 Item "Paragraph Settings...|P" "layout-paragraph"
170                 Separator
171                 Item "Fullscreen Mode" "ui-toggle fullscreen"
172         End
173
174 #
175 # Math Macro context menu
176 #
177
178         Menu "context-math-macro-definition"
179                 Item "Append Parameter" "math-macro-add-param"
180                 Item "Remove Last Parameter" "math-macro-remove-param"
181                 Separator
182                 Item "Make First Non-Optional into Optional Parameter" "math-macro-make-optional"
183                 Item "Make Last Optional into Non-Optional Parameter" "math-macro-make-nonoptional"
184                 Item "Insert Optional Parameter" "math-macro-add-optional-param"
185                 Item "Remove Optional Parameter" "math-macro-remove-optional-param"
186                 Separator
187                 Item "Append Parameter Eating From The Right" "math-macro-append-greedy-param"
188                 Item "Append Optional Parameter Eating From The Right" "math-macro-add-greedy-optional-param"
189                 Item "Remove Last Parameter Spitting Out To The Right" "math-macro-remove-greedy-param"
190         End
191
192 #
193 # InsetListing context menu
194 #
195
196         Menu "context-listings"
197                 Item "Cut" "cut"
198                 Item "Copy" "copy"
199                 Item "Paste" "paste"
200                 Submenu "Paste Recent|e" "edit_pasterecent"
201                 Separator
202                 Item "Settings...|S" "inset-settings listings"
203         End
204
205 #
206 # InsetGraphics context menu
207 #
208
209         Menu "context-graphics"
210                 Item "Edit...|E" "graphics-edit"
211                 Separator
212                 Item "Settings...|S" "next-inset-toggle"
213         End
214
215 End