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