]> git.lyx.org Git - features.git/blob - lib/ui/default.ui
Implement the Edit>Floats menu
[features.git] / lib / ui / default.ui
1 # This is the default LyX user interface definition file. The syntax
2 # should be straightforward enough. The menubar "main_nobuffer" (if it
3 # exists) is used when there is no buffer open; otherwise, the menubar
4 # "main" is used. 
5
6 Menuset
7
8     Menubar "main_nobuffer"
9         Submenu "File|F" "file_nobuffer"
10         Submenu "Edit|E" "edit_nobuffer"
11         Submenu "Help|H" "help"
12     End
13
14     Menubar "main"
15         Submenu "File|F" "file"
16         Submenu "Edit|E" "edit"
17         Submenu "Insert|I" "insert"
18         Submenu "Layout|L" "layout"
19         Submenu "View|V" "view"
20         Submenu "Navigate|N" "navigate"
21         Submenu "Documents|D" "documents"
22         Submenu "Help|H" "help"
23     End
24
25 #
26 # FILE MENU
27 #
28     Menu "file_nobuffer"
29         Item "New...|N" "buffer-new"
30         Item "New from template...|t" "buffer-new-template"
31         Item "Open...|O" "buffer-open"
32         Submenu "Import|I" "fileimport"
33         Separator
34         Item "Exit|x" "lyx-quit"
35         Separator
36         Lastfiles
37     End
38
39     Menu "file"
40         Item "New...|N" "buffer-new"
41         Item "New from template...|t" "buffer-new-template"
42         Item "Open...|O" "buffer-open"
43         Separator
44         Item "Close|C" "buffer-close"
45         Item "Save|S" "buffer-write"
46         Item "Save As...|A" "buffer-write-as"
47         Item "Revert to saved|R" "buffer-reload"
48         Submenu "Version control|V" "file_vc"
49         Separator
50         Submenu "Import|m" "fileimport"
51         Submenu "Insert|I" "fileinsert"
52         Separator
53         Submenu "Export|E" "exportfile"
54         Item "Print...|P" "buffer-print"
55         Separator
56         Item "Exit|x" "lyx-quit"
57         Separator
58         Lastfiles
59     End
60
61     Menu "fileimport"
62         OptItem "LaTeX...|L" "buffer-import latex"
63         OptItem "Ascii text as lines...|A" "buffer-import text"
64         OptItem "Ascii text as paragraphs...|p" "buffer-import textparagraph"
65         OptItem "HTML...|H" "buffer-import html"
66         OptItem "Noweb...|N" "buffer-import literate"
67         OptItem "LinuxDoc...|D" "buffer-import linuxdoc"
68     End
69
70     Menu "fileinsert"
71         Item "File...|F" "buffer-child-insert"
72         Item "LyX file...|X" "file-insert"
73         Item "Ascii as lines...|l" "file-insert-ascii lines"
74         Item "Ascii as paragraphs...|p" "file-insert-ascii paragraphs"
75         Item "External material...|E" "external-insert"
76     End
77
78
79     Menu "file_vc"
80         OptItem "Register|R" "vc-register"
81         OptItem "Check In Changes|I" "vc-check-in"
82         OptItem "Check Out for Edit|O" "vc-check-out"
83         OptItem "Revert to last version|l" "vc-revert"
84         OptItem "Undo last check in|U" "vc-undo-last"
85         OptItem "Show History|H" "vc-history"
86     End
87
88     Menu "exportfile"
89         ExportFormats
90     End
91
92 #
93 # EDIT MENU
94 #
95     Menu "edit_nobuffer"
96         Item "Reconfigure|R"    "reconfigure"
97         Item "Preferences...|P" "dialog-preferences"
98     End
99
100     Menu "edit"
101         Item "Undo|U" "undo"
102         Item "Redo|R" "redo"
103         Separator
104         Item "Cut|C" "cut"
105         Item "Copy|o" "copy"
106         Item "Paste|P" "paste"
107         Submenu "Paste external selection|x" "edit_paste"
108         Separator
109         Item "Find & Replace...|F" "find-replace"
110         Separator
111         Submenu "Floats & Insets|I" "edit_floats"
112         Submenu "Tabular|T" "edit_tabular"
113         Item "Spellchecker...|S" "spellchecker"
114         Item "Check TeX|h" "buffer-chktex"
115         Separator
116         Item "Preferences...|e" "dialog-preferences"
117         Item "Reconfigure|g" "reconfigure"
118     End
119
120     Menu "edit_paste"
121         Item "as Lines|L" "primary-selection-paste"
122         Item "as Paragraphs|P" "primary-selection-paste paragraph"
123     End
124
125     Menu "edit_floats"
126         Item "Open/Close|O" "open-stuff"
127         Item "Melt|M" "melt"
128         Item "Open All Footnotes/Margin Notes|A" "floats-operate openfoot"
129         Item "Close All Footnotes/Margin Notes|C" "floats-operate closefoot"
130         Item "Open All Figures/Tables|F" "floats-operate openfig"
131         Item "Close All Figures/Tables|T" "floats-operate closefig"
132         Separator
133         Item "Remove all Error Boxes|R" "error-remove-all"
134     End
135
136     Menu "edit_tabular"
137         Item "Multicolumn|M" "tabular-feature multicolumn"
138         Separator
139         Item "Line Top|T" "tabular-feature toggle-line-top"
140         Item "Line Bottom|B" "tabular-feature toggle-line-bottom"
141         Item "Line Left|L" "tabular-feature toggle-line-left"
142         Item "Line Right|R" "tabular-feature toggle-line-right"
143         Separator
144         Item "Align Left|e" "tabular-feature align-left"
145         Item "Align Center|C" "tabular-feature align-center"
146         Item "Align Right|i" "tabular-feature align-right"
147         Separator
148         Item "V.Align Top|o" "tabular-feature valign-top"
149         Item "V.Align Center|n" "tabular-feature valign-center"
150         Item "V.Align Bottom|V" "tabular-feature valign-bottom"
151         Separator
152         Item "Append Row|A" "tabular-feature append-row"
153         Item "Append Column|u" "tabular-feature append-column"
154         Separator
155         Item "Delete Row|w" "tabular-feature delete-row"
156         Item "Delete Column|D" "tabular-feature delete-column"
157     End
158
159 #
160 # INSERT MENU
161 #
162     Menu "insert"
163         Item "Math text|M" "math-mode"
164         Item "Math Display|D" "math-display"
165         Item "Math Panel...|P" "math-panel"
166         Separator
167         Submenu "Special character|S" "insert_special"
168         Item "Citation reference...|C" "citation-insert"
169         Item "Cross reference...|r" "reference-insert"
170         Item "Label...|L" "label-insert"
171         Item "Footnote|F" "footnote-insert"
172         Item "Marginal note|n" "marginpar-insert"
173         Item "Index entry...|x" "index-insert"
174         Item "Index entry of last word|w" "index-insert-last"
175         Item "URL...|U" "url-insert"
176         Item "Note...|o" "note-insert"
177         Separator
178         Item "Figure...|g" "figure-insert"
179         Item "Tabular...|T" "dialog-tabular-insert"
180         Submenu "Floats|a" "insert_floats"
181         Separator
182         Submenu "Lists & TOC|i" "insert_toc"
183     End
184
185     Menu "insert_floats"
186         Item "Figure float|F" "buffer-float-insert figure"
187         Item "Table float|T" "buffer-float-insert table"
188         Item "Wide figure float|W" "buffer-float-insert wide-fig"
189         Item "Wide table float|d" "buffer-float-insert wide-tab"
190         Separator
191         Item "Algorithm float|A" "buffer-float-insert algorithm"
192     End
193
194     Menu "insert_toc"
195         Item "Table of Contents|C" "toc-insert"
196         Item "List of Figures|F" "lof-insert"
197         Item "List of Tables|T" "lot-insert"
198         Item "List of Algorithms|A" "loa-insert"
199         Item "Index List|I" "index-print"
200         Item "BibTeX reference...|B" "bibtex-insert"
201     End
202
203     Menu "insert_special"
204         Item "HFill|H" "hfill-insert"
205         Item "Hyphenation point|p" "hyphenation-point-insert"
206         Item "Protected blank|b" "protected-space-insert"
207         Item "Linebreak|L" "break-line"
208         Item "Ellipsis|i" "dots-insert"
209         Item "End of sentence|E" "end-of-sentence-period-insert"
210         Item "Ordinary Quote|Q" "quote-insert"
211         Item "Menu Separator|M" "menu-separator-insert"
212     End
213
214 #
215 # LAYOUT MENU
216 #
217     Menu "layout"
218         Item "Character...|C" "layout-character"
219         Item "Paragraph...|P" "layout-paragraph"
220         Item "Document...|D" "layout-document"
221         OptItem "Tabular...|T" "layout-tabular"
222         Separator
223         Item "Emphasize Style|E" "font-emph"
224         Item "Noun Style|N" "font-noun"
225         Item "Bold Style|B" "font-bold"
226         Item "TeX Style|X" "tex-mode"
227         Separator
228         Item "Change environment depth|v" "depth-increment"
229         Item "LaTeX preamble...|L" "layout-preamble"
230         Item "Toggle Appendix|A" "appendix"
231         Separator
232         Item "Save layout as default|S" "layout-save-default"
233     End
234
235
236 #
237 # VIEW MENU
238 #
239     Menu "view"
240         ViewFormats
241         OptItem "Build program|B" "build-program"
242         Submenu "Update|U" "update"
243         Separator
244         Item "LaTeX log file|L" "latex-view-log"
245         Item "Table of Contents|T" "toc-view"
246     End
247
248     Menu "update"
249         UpdateFormats
250     End
251
252 #
253 # NAVIGATE MENU
254 #
255     Menu "navigate"
256         Item "Error|E" "error-next"
257         Item "Note|N" "note-next"
258         Separator
259         Toc
260     End
261
262     Menu "documents"
263         Documents
264     End
265
266     Menu "help"
267         Item "Introduction|I" "help-open Intro"
268         Item "Tutorial|T" "help-open Tutorial"
269         Item "User's Guide|U" "help-open UserGuide"
270         Item "Extended Features|x" "help-open Extended"
271         Item "Customization|C" "help-open Customization"
272         Item "Reference Manual|R" "help-open Reference"
273         Item "FAQ|F" "help-open FAQ"
274         Item "Table of contents|a" "help-open TOC"
275         Item "Known Bugs|K" "help-open BUGS"
276         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
277         Separator
278         Item "Copyright and Warranty...|o" "help-copyright"
279         Item "Credits...|e" "help-credits"
280         Item "Version...|V" "help-version"
281     End
282
283 End
284
285 # Setup your favorite Toolbar here:
286 # Only three commands are allowed inside the begin_toolbar and end_toolbar
287 # directives: 
288 #   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
289 #          "<action> <parameter>"
290 #      Examples:
291 #      Icon "font-size small"
292 #      Icon set-emph
293 #
294 #   Layouts adds the layouts combo-box to the toolbar
295 #
296 #   Separator adds some spacing to the toolbar
297 #
298 # The icons are found in the lib/image direcory under the name
299 # action.xpm or action_parameter.xpm.
300 #
301 #  All other lyx commands will get a "unknown" icon.
302 #
303 # This is the default toolbar:
304
305 Toolbar
306     Layouts
307     Icon "buffer-open"
308     Icon "buffer-write"
309     Icon "buffer-print"
310     Separator
311     Icon "cut"
312     Icon "copy"
313     Icon "paste"
314     Separator
315     Icon "font-emph"
316     Icon "font-noun"
317     Icon "font-free"
318     Separator
319     Icon "footnote-insert"
320     Icon "marginpar-insert"
321     Icon "depth-next"
322     Separator
323     Icon "tex-mode"
324     Icon "math-mode"
325     Separator
326     Icon "figure-insert"
327     Icon "dialog-tabular-insert"
328 End