]> git.lyx.org Git - features.git/blob - lib/ui/default.ui
2f894a007ada2515e22f67856d84deaa53afd614
[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" "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|d" "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 "Check TeX|h" "buffer-chktex"
105         Item "Remove All Error Boxes|E" "error-remove-all"
106         Separator
107         Item "Preferences...|P" "dialog-preferences"
108         Item "Reconfigure|R" "reconfigure"
109     End
110
111     Menu "edit_paste"
112         Item "as Lines|L" "primary-selection-paste"
113         Item "as Paragraphs|P" "primary-selection-paste paragraph"
114     End
115
116     Menu "edit_floats"
117         Item "Open/Close|O" "open-stuff"
118 #       Item "Melt|M" "melt"
119 #       Item "Open All Figures/Tables|F" "floats-operate openfig"
120 #       Item "Close All Figures/Tables|T" "floats-operate closefig"
121 #       Item "Open All Footnotes/Marginal Notes|A" "floats-operate openfoot"
122 #       Item "Close All Footnotes/Marginal Notes|C" "floats-operate closefoot"
123     End
124
125     Menu "edit_tabular"
126         Item "Multicolumn|M" "tabular-feature multicolumn"
127         Separator
128         Item "Line Top|T" "tabular-feature toggle-line-top"
129         Item "Line Bottom|B" "tabular-feature toggle-line-bottom"
130         Item "Line Left|L" "tabular-feature toggle-line-left"
131         Item "Line Right|R" "tabular-feature toggle-line-right"
132         Separator
133         Item "Align Left|e" "tabular-feature align-left"
134         Item "Align Center|C" "tabular-feature align-center"
135         Item "Align Right|i" "tabular-feature align-right"
136         Separator
137         Item "V.Align Top|o" "tabular-feature valign-top"
138         Item "V.Align Center|n" "tabular-feature valign-center"
139         Item "V.Align Bottom|V" "tabular-feature valign-bottom"
140         Separator
141         Item "Append Row|A" "tabular-feature append-row"
142         Item "Append Column|u" "tabular-feature append-column"
143         Separator
144         Item "Delete Row|w" "tabular-feature delete-row"
145         Item "Delete Column|D" "tabular-feature delete-column"
146     End
147
148     Menu "edit_math"
149         Item "Toggle numbering|n" "math-number"
150         Item "Toggle numbering of line|u" "math-nonumber"
151         Item "Toggle limits|l" "math-limits"
152         Separator
153         Item "Inline formula|I" "math-mutate inline"
154         Item "Displayed formula|D" "math-mutate display"
155         Item "Eqnarray environment|q" "math-mutate eqnarray"
156         Item "Align environment|A" "math-mutate align"
157         Separator
158         Item "Align Left|f" "math-halign left"
159         Item "Align Center|C" "math-halign center"
160         Item "Align Right|R" "math-halign right"
161         Separator
162         Item "V.Align Top|T" "math-valign top"
163         Item "V.Align Center|e" "math-valign center"
164         Item "V.Align Bottom|B" "math-valign bottom"
165         Separator
166 #       Item "Make eqnarray|e" "break-line e"
167 #       Item "Make multline|m" "break-line m"
168 #       Item "Make align 1 column|1"  "break-line 1"
169 #       Item "Make align 2 columns|2"  "break-line 2"
170 #       Item "Make align 3 columns|3"  "break-line 3"
171 #       Item "Make alignat 2 columns|2"  "break-line B"
172 #       Item "Make alignat 3 columns|3"  "break-line C"
173 #       Separator
174     End
175
176 #
177 # INSERT MENU
178 #
179     Menu "insert"
180         Item "Math Formula|h" "math-mode simple"
181         Item "Display Formula|D" "math-mode display"
182         Separator
183         Submenu "Special Character|S" "insert_special"
184         Item "Citation Reference...|C" "citation-insert"
185         Item "Cross Reference...|R" "reference-insert"
186         Item "Label...|L" "label-insert"
187         Item "Footnote|F" "footnote-insert"
188         Item "Marginal Note|M" "marginalnote-insert"
189         Item "Index Entry...|I" "index-insert"
190         Item "Index Entry of Preceding Word|W" "index-insert-last"
191         Item "URL...|U" "url-insert"
192         Item "Note...|N" "note-insert"
193         Submenu "Lists & TOC|O" "insert_toc"
194         Separator
195         Item "Minipage|p" "minipage-insert"
196         Item "Graphics...|G" "figure-insert"
197         Item "Tabular Material...|b" "dialog-tabular-insert"
198         Submenu "Floats|a" "insert_floats"
199         Separator
200         Item "Include File|e" "buffer-child-insert"
201         Submenu "Insert File|t" "insert_file"
202         Item "External Material...|x" "external-insert"
203     End
204
205     Menu "insert_special"
206         Item "Superscript|S" "command-sequence math-insert ^;math-mode;"
207         Item "Subscript|u" "command-sequence math-insert _;math-mode;"
208         Item "HFill|H" "hfill-insert"
209         Item "Hyphenation Point|P" "hyphenation-point-insert"
210         Item "Protected Blank|B" "protected-space-insert"
211         Item "Linebreak|L" "break-line"
212         Item "Ellipsis|i" "dots-insert"
213         Item "End of Sentence|E" "end-of-sentence-period-insert"
214         Item "Ordinary Quote|Q" "quote-insert"
215         Item "Menu Separator|M" "menu-separator-insert"
216     End
217
218     Menu "insert_floats"
219         FloatInsert
220     End
221
222     Menu "insert_toc"
223         Item "Table of Contents|C" "toc-insert"
224         FloatListInsert
225         Item "Index List|I" "index-print"
226         Item "BibTeX Reference...|B" "bibtex-insert"
227     End
228
229     Menu "insert_file"
230         Item "LyX Document...|X" "file-insert"
231         Item "Ascii as Lines...|L" "file-insert-ascii"
232         Item "Ascii as Paragraphs...|P" "file-insert-ascii-para"
233     End
234
235 #
236 # LAYOUT MENU
237 #
238     Menu "layout"
239         Item "Character...|C" "layout-character"
240         Item "Paragraph...|P" "layout-paragraph"
241         Item "Document...|D" "layout-document"
242         OptItem "Tabular...|T" "layout-tabular"
243         Separator
244         Item "Emphasize Style|E" "font-emph"
245         Item "Noun Style|N" "font-noun"
246         Item "Bold Style|B" "font-bold"
247         Item "TeX Style|X" "tex-mode"
248         Separator
249         Item "Change Environment Depth|v" "depth-increment"
250         Item "LaTeX Preamble...|L" "layout-preamble"
251         Item "Toggle Appendix|A" "appendix"
252         Separator
253         Item "Save Layout as Default|S" "layout-save-default"
254     End
255
256
257 #
258 # VIEW MENU
259 #
260     Menu "view"
261         ViewFormats
262         OptItem "Build Program|B" "build-program"
263         Submenu "Update|U" "update"
264         Separator
265         Item "LaTeX Logfile|L" "latex-view-log"
266         Item "Table of Contents|T" "toc-view"
267     End
268
269     Menu "update"
270         UpdateFormats
271     End
272
273 #
274 # NAVIGATE MENU
275 #
276     Menu "navigate"
277         Toc
278         Separator
279         Item "Error|E" "error-next"
280         Item "Note|N" "note-next"
281         Item "Refs|R" "reference-next"
282         Submenu "Bookmarks|B" "navigate_bookmarks"
283     End
284
285     Menu "navigate_bookmarks"
286         Item "Save Bookmark 1|S" "bookmark-save 1"
287         Item "Save Bookmark 2" "bookmark-save 2"
288         Item "Save Bookmark 3" "bookmark-save 3"
289         Separator
290         Item "Goto Bookmark 1|1" "bookmark-goto 1"
291         Item "Goto Bookmark 2|2" "bookmark-goto 2"
292         Item "Goto Bookmark 3|3" "bookmark-goto 3"
293     End
294
295 #
296 # DOCUMENTS MENU
297 #
298
299     Menu "documents"
300         Documents
301     End
302
303 #
304 # HELP MENU
305 #
306     Menu "help"
307         Item "Introduction|I" "help-open Intro"
308         Item "Tutorial|T" "help-open Tutorial"
309         Item "User's Guide|U" "help-open UserGuide"
310         Item "Extended Features|E" "help-open Extended"
311         Item "Customization|C" "help-open Customization"
312         Item "Reference Manual|R" "help-open Reference"
313         Item "FAQ|F" "help-open FAQ"
314         Item "Table of Contents|a" "help-open TOC"
315         Item "Known Bugs|K" "help-open BUGS"
316         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
317         Separator
318         Item "Copyright and Warranty...|o" "help-copyright"
319         Item "Credits...|d" "help-credits"
320         Item "Version...|V" "help-version"
321     End
322
323 End
324
325 # Setup your favorite Toolbar here:
326 # Only three commands are allowed inside the begin_toolbar and end_toolbar
327 # directives: 
328 #   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
329 #          "<action> <parameter>"
330 #      Examples:
331 #      Icon "font-size small"
332 #      Icon set-emph
333 #
334 #   Layouts adds the layouts combo-box to the toolbar
335 #
336 #   Separator adds some spacing to the toolbar
337 #
338 # The icons are found in the lib/image direcory under the name
339 # action.xpm or action_parameter.xpm.
340 #
341 #  All other lyx commands will get a "unknown" icon.
342 #
343 # This is the default toolbar:
344
345 Toolbar
346     Layouts
347     Icon "file-open"
348     Icon "buffer-write"
349     Icon "buffer-print"
350     Separator
351     Icon "cut"
352     Icon "copy"
353     Icon "paste"
354     Separator
355     Icon "font-emph"
356     Icon "font-noun"
357     Icon "font-free"
358     Separator
359     Icon "tex-mode"
360     Icon "math-mode"
361     Separator
362     Icon "footnote-insert"
363     Icon "marginalnote-insert"
364     Icon "depth-next"
365     Separator
366     Icon "figure-insert"
367     Icon "dialog-tabular-insert"
368 End