]> git.lyx.org Git - lyx.git/blob - lib/ui/default.ui
do not display obsolete layouts in combox + small stuff
[lyx.git] / lib / ui / default.ui
1 # This is the default LyX user interface definition file.         -*- text -*- 
2 # The syntax should be straightforward enough. The menubar
3 # "main_nobuffer" (if it exists) is used when there is no buffer open;
4 # otherwise, the menubar "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" "file-open"
32         Separator
33         Submenu "Import|I" "file_import"
34         Separator
35         Item "Exit|x" "lyx-quit"
36         Separator
37         Lastfiles
38     End
39
40     Menu "file"
41         Item "New...|N" "buffer-new"
42         Item "New from Template...|T" "buffer-new-template"
43         Item "Open...|O" "file-open"
44         Separator
45         Item "Close|C" "buffer-close"
46         Item "Save|S" "buffer-write"
47         Item "Save As...|A" "buffer-write-as"
48         Item "Revert to Saved|R" "buffer-reload"
49         Submenu "Version Control|V" "file_vc"
50         Separator
51         Submenu "Import|I" "file_import"
52         Submenu "Export|E" "file_export"
53         Item "Print...|P" "buffer-print"
54         OptItem "Fax...|F" "buffer-export fax"
55         Separator
56         Item "Exit|x" "lyx-quit"
57         Separator
58         Lastfiles
59     End
60
61     Menu "file_vc"
62         OptItem "Register|R" "vc-register"
63         OptItem "Check In Changes|I" "vc-check-in"
64         OptItem "Check Out for Edit|O" "vc-check-out"
65         OptItem "Revert to Last Version|L" "vc-revert"
66         OptItem "Undo Last Check In|U" "vc-undo-last"
67         OptItem "Show History|H" "vc-history"
68     End
69
70     Menu "file_import"
71         ImportFormats
72     End
73
74     Menu "file_export"
75         ExportFormats
76         Item "Custom...|C" "buffer-export custom"
77     End
78
79 #
80 # EDIT MENU
81 #
82     Menu "edit_nobuffer"
83         Item "Preferences...|P" "dialog-preferences"
84         Item "Reconfigure|R" "reconfigure"
85     End
86
87     Menu "edit"
88         Item "Undo|U" "undo"
89         Item "Redo|d" "redo"
90         Separator
91         Item "Cut|C" "cut"
92         Item "Copy|o" "copy"
93         Item "Paste|a" "paste"
94         Submenu "Paste External Selection|x" "edit_paste"
95         Separator
96         Item "Find & Replace...|F" "find-replace"
97         Submenu "Tabular|T" "edit_tabular"
98         Submenu "Floats & Insets|I" "edit_floats"
99         Item "Math Panel|l" "math-panel"
100         Submenu "Math|M" "edit_math"
101         Separator
102         #Item "Read Only" "buffer-toggle-read-only"
103         Item "Spellchecker...|S" "spellchecker"
104         Item "Thesaurus" "thesaurus-entry"
105         Item "Check TeX|h" "buffer-chktex"
106         Item "Remove All Error Boxes|E" "error-remove-all"
107         Separator
108         Item "Preferences...|P" "dialog-preferences"
109         Item "Reconfigure|R" "reconfigure"
110     End
111
112     Menu "edit_paste"
113         Item "as Lines|L" "primary-selection-paste"
114         Item "as Paragraphs|P" "primary-selection-paste paragraph"
115     End
116
117     Menu "edit_floats"
118         Item "Open/Close|O" "inset-toggle"
119 #       Item "Melt|M" "melt"
120 #       Item "Open All Figures/Tables|F" "floats-operate openfig"
121 #       Item "Close All Figures/Tables|T" "floats-operate closefig"
122 #       Item "Open All Footnotes/Marginal Notes|A" "floats-operate openfoot"
123 #       Item "Close All Footnotes/Marginal Notes|C" "floats-operate closefoot"
124     End
125
126     Menu "edit_tabular"
127         Item "Multicolumn|M" "tabular-feature multicolumn"
128         Separator
129         Item "Line Top|T" "tabular-feature toggle-line-top"
130         Item "Line Bottom|B" "tabular-feature toggle-line-bottom"
131         Item "Line Left|L" "tabular-feature toggle-line-left"
132         Item "Line Right|R" "tabular-feature toggle-line-right"
133         Separator
134         Item "Align Left|e" "tabular-feature align-left"
135         Item "Align Center|C" "tabular-feature align-center"
136         Item "Align Right|i" "tabular-feature align-right"
137         Separator
138         Item "V.Align Top|o" "tabular-feature valign-top"
139         Item "V.Align Center|n" "tabular-feature valign-center"
140         Item "V.Align Bottom|V" "tabular-feature valign-bottom"
141         Separator
142         Item "Add Row|A" "tabular-feature append-row"
143         Item "Delete Row|w" "tabular-feature delete-row"
144         Separator
145         Item "Add Column|u" "tabular-feature append-column"
146         Item "Delete Column|D" "tabular-feature delete-column"
147     End
148
149     Menu "edit_math"
150 #       Item "Make eqnarray|e" "break-line e"
151 #       Item "Make multline|m" "break-line m"
152 #       Item "Make align 1 column|1"  "break-line 1"
153 #       Item "Make align 2 columns|2"  "break-line 2"
154 #       Item "Make align 3 columns|3"  "break-line 3"
155 #       Item "Make alignat 2 columns|2"  "break-line B"
156 #       Item "Make alignat 3 columns|3"  "break-line C"
157 #       Separator
158         Item "Toggle numbering|n" "math-number"
159         Item "Toggle numbering of line|u" "math-nonumber"
160         Item "Toggle limits|l" "math-limits"
161         Separator
162         Item "Inline formula|I" "math-mutate inline"
163         Item "Displayed formula|D" "math-mutate display"
164         Item "Eqnarray environment|q" "math-mutate eqnarray"
165         Item "Align environment|A" "math-mutate align"
166         Separator
167         Item "Align Left|f" "math-halign left"
168         Item "Align Center|C" "math-halign center"
169         Item "Align Right|R" "math-halign right"
170         Separator
171         Item "V.Align Top|T" "math-valign top"
172         Item "V.Align Center|e" "math-valign center"
173         Item "V.Align Bottom|B" "math-valign bottom"
174         Separator
175         Item "Add Row" "math-row-insert"
176         Item "Delete Row" "math-row-delete"
177         Separator
178         Item "Add Column" "math-column-insert"
179         Item "Delete Column" "math-column-delete"
180     End
181
182 #
183 # INSERT MENU
184 #
185     Menu "insert"
186         Item "Math Formula|h" "math-mode"
187         Item "Display Formula|D" "math-display"
188         #Item "Display Formula|D" "math-mode display"
189         #Item "Change to Inline Math Formula|q" "math-mutate simple"
190         #Item "Change to Displayed Math Formula|q" "math-mutate equation"
191         #Item "Change to Eqnarray Environment|q" "math-mutate eqnarray"
192         #Item "Change to Align Environment|g" "math-mutate align"
193         Separator
194         Submenu "Special Character|S" "insert_special"
195         Item "Citation Reference...|C" "citation-insert"
196         Item "Cross Reference...|R" "reference-insert"
197         Item "Label...|L" "label-insert"
198         Item "Footnote|F" "footnote-insert"
199         Item "Marginal Note|M" "marginalnote-insert"
200         Item "Index Entry...|I" "index-insert"
201         Item "Index Entry of Preceding Word|W" "index-insert-last"
202         Item "URL...|U" "url-insert"
203         Item "Note...|N" "note-insert"
204         Submenu "Lists & TOC|O" "insert_toc"
205         Separator
206         Item "TeX|T" "ert-insert"
207         Item "Minipage|p" "minipage-insert"
208         Item "Old-Graphics..." "figure-insert"
209         Item "Graphics...|G" "graphics-insert"
210         Item "Tabular Material...|b" "dialog-tabular-insert"
211         Submenu "Floats|a" "insert_floats"
212         Separator
213         Item "Include File|e" "buffer-child-insert"
214         Submenu "Insert File|t" "insert_file"
215         Item "External Material...|x" "external-insert"
216     End
217
218     Menu "insert_special"
219         Item "Superscript|S" "command-sequence math-insert ^;math-mode;"
220         Item "Subscript|u" "command-sequence math-insert _;math-mode;"
221         Item "HFill|H" "hfill-insert"
222         Item "Hyphenation Point|P" "hyphenation-point-insert"
223         Item "Ligature break|k" "ligature-break-insert"
224         Item "Protected Blank|B" "protected-space-insert"
225         Item "Linebreak|L" "break-line"
226         Item "Ellipsis|i" "dots-insert"
227         Item "End of Sentence|E" "end-of-sentence-period-insert"
228         Item "Ordinary Quote|Q" "self-insert \""
229         Item "Menu Separator|M" "menu-separator-insert"
230     End
231
232     Menu "insert_floats"
233         FloatInsert
234     End
235
236     Menu "insert_toc"
237         Item "Table of Contents|C" "toc-insert"
238         FloatListInsert
239         Item "Index List|I" "index-print"
240         Item "BibTeX Reference...|B" "bibtex-insert"
241     End
242
243     Menu "insert_file"
244         Item "LyX Document...|X" "file-insert"
245         Item "Ascii as Lines...|L" "file-insert-ascii"
246         Item "Ascii as Paragraphs...|P" "file-insert-ascii-para"
247     End
248
249 #
250 # LAYOUT MENU
251 #
252     Menu "layout"
253         Item "Character...|C" "layout-character"
254         Item "Paragraph...|P" "layout-paragraph"
255         Item "Document...|D" "layout-document"
256         OptItem "Tabular...|T" "layout-tabular"
257         Separator
258         Item "Emphasize Style|E" "font-emph"
259         Item "Noun Style|N" "font-noun"
260         Item "Bold Style|B" "font-bold"
261 #       Item "TeX Style|X" "tex-mode"
262         Separator
263         Item "Change Environment Depth|v" "depth-increment"
264         Item "LaTeX Preamble...|L" "layout-preamble"
265         Item "Start Appendix here|A" "appendix"
266         Separator
267         Item "Save Layout as Default|S" "layout-save-default"
268     End
269
270
271 #
272 # VIEW MENU
273 #
274     Menu "view"
275         ViewFormats
276         OptItem "Build Program|B" "build-program"
277         Submenu "Update|U" "update"
278         Separator
279         Item "LaTeX Logfile|L" "latex-view-log"
280         Item "Table of Contents|T" "toc-view"
281     End
282
283     Menu "update"
284         UpdateFormats
285     End
286
287 #
288 # NAVIGATE MENU
289 #
290     Menu "navigate"
291         Toc
292         Separator
293         Item "Error|E" "error-next"
294         Item "Note|N" "note-next"
295         Item "Refs|R" "reference-next"
296         Submenu "Bookmarks|B" "navigate_bookmarks"
297     End
298
299     Menu "navigate_bookmarks"
300         Item "Save Bookmark 1|S" "bookmark-save 1"
301         Item "Save Bookmark 2" "bookmark-save 2"
302         Item "Save Bookmark 3" "bookmark-save 3"
303         Separator
304         Item "Goto Bookmark 1|1" "bookmark-goto 1"
305         Item "Goto Bookmark 2|2" "bookmark-goto 2"
306         Item "Goto Bookmark 3|3" "bookmark-goto 3"
307     End
308
309 #
310 # DOCUMENTS MENU
311 #
312
313     Menu "documents"
314         Documents
315     End
316
317 #
318 # HELP MENU
319 #
320     Menu "help"
321         Item "Introduction|I" "help-open Intro"
322         Item "Tutorial|T" "help-open Tutorial"
323         Item "User's Guide|U" "help-open UserGuide"
324         Item "Extended Features|E" "help-open Extended"
325         Item "Customization|C" "help-open Customization"
326 #       Item "Reference Manual|R" "help-open Reference"
327         Item "FAQ|F" "help-open FAQ"
328         Item "Table of Contents|a" "help-open TOC"
329         Item "Known Bugs|K" "help-open BUGS"
330         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
331         Separator
332         Item "About LyX|X" "help-aboutlyx"
333     End
334
335 End
336
337 # Setup your favorite Toolbar here:
338 # Only three commands are allowed inside the begin_toolbar and end_toolbar
339 # directives: 
340 #   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
341 #          "<action> <parameter>"
342 #      Examples:
343 #      Icon "font-size small"
344 #      Icon set-emph
345 #
346 #   Layouts adds the layouts combo-box to the toolbar
347 #
348 #   Separator adds some spacing to the toolbar
349 #
350 # The icons are found in the lib/image direcory under the name
351 # action.xpm or action_parameter.xpm.
352 #
353 #  All other lyx commands will get a "unknown" icon.
354 #
355 # This is the default toolbar:
356
357 Toolbar
358     Layouts
359     Icon "file-open"
360     Icon "buffer-write"
361     Icon "buffer-print"
362     Separator
363     Icon "cut"
364     Icon "copy"
365     Icon "paste"
366     Separator
367     Icon "font-emph"
368     Icon "font-noun"
369     Icon "font-free"
370     Separator
371 #    Icon "tex-mode"
372     Icon "ert-insert"
373     Icon "math-mode"
374     Separator
375     Icon "footnote-insert"
376     Icon "marginalnote-insert"
377     Icon "depth-next"
378     Separator
379     Icon "figure-insert"
380     Icon "dialog-tabular-insert"
381 End