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