]> git.lyx.org Git - lyx.git/blob - lib/ui/default.ui
07d37e3ff8d469bd84a20d7073bc41ac384ac1d0
[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|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 "Math|M" "edit_math"
99         Separator
100         #Item "Read Only" "buffer-toggle-read-only"
101         Item "Spellchecker|S" "spellchecker"
102         Item "Thesaurus" "thesaurus-entry"
103         Item "Check TeX|h" "buffer-chktex"
104         Item "Remove All Error Boxes|E" "error-remove-all"
105         Item "Open/Close float|l" "inset-toggle"
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_tabular"
117         Item "Multicolumn|M" "tabular-feature multicolumn"
118         Separator
119         Item "Line Top|T" "tabular-feature toggle-line-top"
120         Item "Line Bottom|B" "tabular-feature toggle-line-bottom"
121         Item "Line Left|L" "tabular-feature toggle-line-left"
122         Item "Line Right|R" "tabular-feature toggle-line-right"
123         Separator
124         Item "Align Left|e" "tabular-feature align-left"
125         Item "Align Center|C" "tabular-feature align-center"
126         Item "Align Right|i" "tabular-feature align-right"
127         Separator
128         Item "V.Align Top|o" "tabular-feature valign-top"
129         Item "V.Align Center|n" "tabular-feature valign-center"
130         Item "V.Align Bottom|V" "tabular-feature valign-bottom"
131         Separator
132         Item "Add Row|A" "tabular-feature append-row"
133         Item "Delete Row|w" "tabular-feature delete-row"
134         Separator
135         Item "Add Column|u" "tabular-feature append-column"
136         Item "Delete Column|D" "tabular-feature delete-column"
137     End
138
139     Menu "edit_math"
140 #       Item "Make eqnarray|e" "break-line e"
141 #       Item "Make multline|m" "break-line m"
142 #       Item "Make align 1 column|1"  "break-line 1"
143 #       Item "Make align 2 columns|2"  "break-line 2"
144 #       Item "Make align 3 columns|3"  "break-line 3"
145 #       Item "Make alignat 2 columns|2"  "break-line B"
146 #       Item "Make alignat 3 columns|3"  "break-line C"
147 #       Separator
148         Item "Toggle numbering|n" "math-number"
149         Item "Toggle numbering of line|u" "math-nonumber"
150         Item "Toggle limits|l" "math-limits"
151         Separator
152         Item "Inline formula|I" "math-mutate simple"
153         Item "Displayed formula|D" "math-mutate equation"
154         Item "Eqnarray environment|q" "math-mutate eqnarray"
155         Item "Align environment|A" "math-mutate align"
156         Item "AlignAt environment" "math-mutate alignat"
157         Item "XAlignAt environment" "math-mutate xalignat"
158         Item "XXAlignAt environment" "math-mutate xxalignat"
159         Separator
160         Item "Align Left|f" "math-halign left"
161         Item "Align Center|C" "math-halign center"
162         Item "Align Right|R" "math-halign right"
163         Separator
164         Item "V.Align Top|T" "math-valign top"
165         Item "V.Align Center|e" "math-valign center"
166         Item "V.Align Bottom|B" "math-valign bottom"
167         Separator
168         Item "Add Row" "math-row-insert"
169         Item "Delete Row" "math-row-delete"
170         Separator
171         Item "Add Column" "math-column-insert"
172         Item "Delete Column" "math-column-delete"
173     End
174
175 #
176 # INSERT MENU
177 #
178     Menu "insert"
179         Submenu "Math|h" "insert_math"
180         Separator
181         Submenu "Special Character|S" "insert_special"
182         Item "Citation Reference...|C" "citation-insert"
183         Item "Cross Reference...|R" "reference-insert"
184         Item "Label...|L" "label-insert"
185         Item "Footnote|F" "footnote-insert"
186         Item "Marginal Note|M" "marginalnote-insert"
187         Item "Index Entry|I" "index-insert"
188         Item "URL...|U" "url-insert"
189         Item "Note|N" "note-insert"
190         Submenu "Lists & TOC|O" "insert_toc"
191         Separator
192         Item "TeX|T" "ert-insert"
193         Item "Minipage|p" "minipage-insert"
194         Item "Graphics...|G" "graphics-insert"
195         Item "Tabular Material...|b" "dialog-tabular-insert"
196         Submenu "Floats|a" "insert_floats"
197         Separator
198         Item "Include File...|d" "buffer-child-insert"
199         Submenu "Insert File|e" "insert_file"
200         Item "External Material...|x" "external-insert"
201     End
202
203     Menu "insert_special"
204         Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free; "
205         Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free; "
206         Item "HFill|H" "hfill-insert"
207         Item "Hyphenation Point|P" "hyphenation-point-insert"
208         Item "Ligature break|k" "ligature-break-insert"
209         Item "Protected Blank|B" "protected-space-insert"
210         Item "Linebreak|L" "break-line"
211         Item "Ellipsis|i" "dots-insert"
212         Item "End of Sentence|E" "end-of-sentence-period-insert"
213         Item "Ordinary Quote|Q" "self-insert \""
214         Item "Menu Separator|M" "menu-separator-insert"
215     End
216
217     Menu "insert_math"
218         Item "Inline Formula|I" "math-mode"
219         Item "Display Formula|D" "math-display"
220         Item "Eqnarray environment|E" "command-sequence math-mode; math-mutate eqnarray;"
221         Item "AMS align environment|A" "command-sequence math-mode; math-mutate align;"
222         Item "AMS alignat environment|t" "command-sequence math-mode; math-mutate alignat;"
223         Item "AMS xalignat environment|x" "command-sequence math-mode; math-mutate xalignat;"
224         Item "AMS xxalignat environment" "command-sequence math-mode; math-mutate xxalignat;"
225   Separator
226         Item "Array environment|y" "math-insert matrix 2 2"
227         Item "Cases environment|C" "math-insert cases 2"
228   Separator
229         Item "Math Panel|l" "math-panel"
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 "Preamble|r" "layout-preamble"
265         Item "Start Appendix here|A" "appendix"
266     End
267
268
269 #
270 # VIEW MENU
271 #
272     Menu "view"
273         ViewFormats
274         OptItem "Build Program|B" "build-program"
275         Submenu "Update|U" "update"
276         Separator
277         Item "LaTeX Logfile|L" "latex-view-log"
278         Item "Table of Contents|T" "toc-view"
279         Item "Child processes|C" "show-forks"
280         Item "TeX Information|X" "help-Texinfo"
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 "Tooltips|o" "toggle-tooltips"
322         Separator
323         Item "Introduction|I" "help-open Intro"
324         Item "Tutorial|T" "help-open Tutorial"
325         Item "User's Guide|U" "help-open UserGuide"
326         Item "Extended Features|E" "help-open Extended"
327         Item "Customization|C" "help-open Customization"
328 #       Item "Reference Manual|R" "help-open Reference"
329         Item "FAQ|F" "help-open FAQ"
330         Item "Table of Contents|a" "help-open TOC"
331         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
332         Separator
333         Item "About LyX|X" "help-aboutlyx"
334     End
335
336 End
337
338 # Setup your favorite Toolbar here:
339 # Only three commands are allowed inside the begin_toolbar and end_toolbar
340 # directives: 
341 #   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
342 #          "<action> <parameter>"
343 #      Examples:
344 #      Icon "font-size small"
345 #      Icon set-emph
346 #
347 #   Layouts adds the layouts combo-box to the toolbar
348 #
349 #   Separator adds some spacing to the toolbar
350 #
351 # The icons are found in the lib/image direcory under the name
352 # action.xpm or action_parameter.xpm.
353 #
354 #  All other lyx commands will get a "unknown" icon.
355 #
356 # This is the default toolbar:
357
358 Toolbar
359     Layouts
360     Icon "file-open"
361     Icon "buffer-write"
362     Icon "buffer-print"
363     Separator
364     Icon "cut"
365     Icon "copy"
366     Icon "paste"
367     Separator
368     Icon "font-emph"
369     Icon "font-noun"
370     Icon "font-free"
371     Separator
372     Icon "ert-insert"
373     Icon "math-mode"
374     #Icon "math-panel"
375     Separator
376     Icon "footnote-insert"
377     Icon "marginalnote-insert"
378     Icon "depth-increment"
379     Separator
380     Icon "graphics-insert"
381     Icon "dialog-tabular-insert"
382 End