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