]> git.lyx.org Git - lyx.git/blob - lib/ui/default.ui
7c5aa5bdebd4bdec1e2ef5617a177e518a6650a9
[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         Submenu "Math|M" "edit_math"
100         Separator
101         #Item "Read Only" "buffer-toggle-read-only"
102         Item "Spellchecker...|S" "spellchecker"
103         Item "Thesaurus..." "thesaurus-entry"
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" "inset-toggle"
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 "Add Row|A" "tabular-feature append-row"
142         Item "Delete Row|w" "tabular-feature delete-row"
143         Separator
144         Item "Add Column|u" "tabular-feature append-column"
145         Item "Delete Column|D" "tabular-feature delete-column"
146     End
147
148     Menu "edit_math"
149 #       Item "Make eqnarray|e" "break-line e"
150 #       Item "Make multline|m" "break-line m"
151 #       Item "Make align 1 column|1"  "break-line 1"
152 #       Item "Make align 2 columns|2"  "break-line 2"
153 #       Item "Make align 3 columns|3"  "break-line 3"
154 #       Item "Make alignat 2 columns|2"  "break-line B"
155 #       Item "Make alignat 3 columns|3"  "break-line C"
156 #       Separator
157         Item "Toggle numbering|n" "math-number"
158         Item "Toggle numbering of line|u" "math-nonumber"
159         Item "Toggle limits|l" "math-limits"
160         Separator
161         Item "Inline formula|I" "math-mutate inline"
162         Item "Displayed formula|D" "math-mutate display"
163         Item "Eqnarray environment|q" "math-mutate eqnarray"
164         Item "Align environment|A" "math-mutate align"
165         Separator
166         Item "Align Left|f" "math-halign left"
167         Item "Align Center|C" "math-halign center"
168         Item "Align Right|R" "math-halign right"
169         Separator
170         Item "V.Align Top|T" "math-valign top"
171         Item "V.Align Center|e" "math-valign center"
172         Item "V.Align Bottom|B" "math-valign bottom"
173         Separator
174         Item "Add Row" "math-row-insert"
175         Item "Delete Row" "math-row-delete"
176         Separator
177         Item "Add Column" "math-column-insert"
178         Item "Delete Column" "math-column-delete"
179     End
180
181 #
182 # INSERT MENU
183 #
184     Menu "insert"
185         Submenu "Math|h" "insert_math"
186         Separator
187         Submenu "Special Character|S" "insert_special"
188         Item "Citation Reference...|C" "citation-insert"
189         Item "Cross Reference...|R" "reference-insert"
190         Item "Label...|L" "label-insert"
191         Item "Footnote|F" "footnote-insert"
192         Item "Marginal Note|M" "marginalnote-insert"
193         Item "Index Entry...|I" "index-insert"
194         Item "Index Entry of Preceding Word|W" "index-insert-last"
195         Item "URL...|U" "url-insert"
196         Item "Note|N" "note-insert"
197         Submenu "Lists & TOC|O" "insert_toc"
198         Separator
199         Item "TeX|T" "ert-insert"
200         Item "Minipage|p" "minipage-insert"
201         Item "Graphics...|G" "graphics-insert"
202         Item "Tabular Material...|b" "dialog-tabular-insert"
203         Submenu "Floats|a" "insert_floats"
204         Separator
205         Item "Include File...|d" "buffer-child-insert"
206         Submenu "Insert File|e" "insert_file"
207         Item "External Material...|x" "external-insert"
208     End
209
210     Menu "insert_special"
211         Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free; "
212         Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free; "
213         Item "HFill|H" "hfill-insert"
214         Item "Hyphenation Point|P" "hyphenation-point-insert"
215         Item "Ligature break|k" "ligature-break-insert"
216         Item "Protected Blank|B" "protected-space-insert"
217         Item "Linebreak|L" "break-line"
218         Item "Ellipsis|i" "dots-insert"
219         Item "End of Sentence|E" "end-of-sentence-period-insert"
220         Item "Ordinary Quote|Q" "self-insert \""
221         Item "Menu Separator|M" "menu-separator-insert"
222     End
223
224     Menu "insert_math"
225         Item "Inline Formula|h" "math-mode"
226         Item "Display Formula|D" "math-display"
227         Item "Eqnarray environment|E" "command-sequence math-mode; math-mutate eqnarray;"
228         Item "AMS align environment|A" "command-sequence math-mode; math-mutate align;"
229         Item "AMS alignat environment|t" "command-sequence math-mode; math-mutate alignat;"
230         Item "AMS xalignat environment|x" "command-sequence math-mode; math-mutate xalignat;"
231         Item "AMS xxalignat environment" "command-sequence math-mode; math-mutate xxalignat;"
232   Separator
233         Item "Array environment|y" "math-insert matrix 2 2"
234         Item "Cases environment|C" "math-insert cases 2"
235         Separator
236         Submenu "Symbols|S" "insert_math_symbol"
237   Separator
238         Item "Math Panel...|l" "math-panel"
239     End
240
241     Menu "insert_math_symbol"
242         Item "Blackboard bold N (Natural)" "command-sequence math-mode; font-noun; math-insert N;"
243         Item "Blackboard bold Z (Integer)" "command-sequence math-mode; font-noun; math-insert Z;"
244         Item "Blackboard bold Q (Rational)" "command-sequence math-mode; font-noun; math-insert Q;"
245         Item "Blackboard bold R (Real)" "command-sequence math-mode; font-noun; math-insert R;"
246         Item "Blackboard bold C (Complex)" "command-sequence math-mode; font-noun; math-insert C;"
247         Item "Blackboard bold H (Quaternions)" "command-sequence math-mode; font-noun; math-insert H;"
248         Separator
249         Item "Calligraphic F (Fourier)" "command-sequence math-mode; font-emph; math-insert F;"
250         Item "Calligraphic L (Laplace)" "command-sequence math-mode; font-emph; math-insert L;"
251         Item "Calligraphic H (Hankel)" "command-sequence math-mode; font-emph; math-insert H;"
252         Item "Calligraphic O (Landau)" "command-sequence math-mode; font-emph; math-insert O;"
253     End
254
255     Menu "insert_floats"
256         FloatInsert
257     End
258
259     Menu "insert_toc"
260         Item "Table of Contents|C" "toc-insert"
261         FloatListInsert
262         Item "Index List|I" "index-print"
263         Item "BibTeX Reference...|B" "bibtex-insert"
264     End
265
266     Menu "insert_file"
267         Item "LyX Document...|X" "file-insert"
268         Item "Ascii as Lines...|L" "file-insert-ascii"
269         Item "Ascii as Paragraphs...|P" "file-insert-ascii-para"
270     End
271
272 #
273 # LAYOUT MENU
274 #
275     Menu "layout"
276         Item "Character...|C" "layout-character"
277         Item "Paragraph...|P" "layout-paragraph"
278         Item "Document...|D" "layout-document"
279         OptItem "Tabular...|T" "layout-tabular"
280         Separator
281         Item "Emphasize Style|E" "font-emph"
282         Item "Noun Style|N" "font-noun"
283         Item "Bold Style|B" "font-bold"
284 #       Item "TeX Style|X" "tex-mode"
285         Separator
286         Item "Change Environment Depth|v" "depth-increment"
287         Item "Preamble...|r" "layout-preamble"
288         Item "Start Appendix here|A" "appendix"
289     End
290
291
292 #
293 # VIEW MENU
294 #
295     Menu "view"
296         ViewFormats
297         OptItem "Build Program|B" "build-program"
298         Submenu "Update|U" "update"
299         Separator
300         Item "LaTeX Logfile|L" "latex-view-log"
301         Item "Table of Contents|T" "toc-view"
302     End
303
304     Menu "update"
305         UpdateFormats
306     End
307
308 #
309 # NAVIGATE MENU
310 #
311     Menu "navigate"
312         Toc
313         Separator
314         Item "Error|E" "error-next"
315         Item "Note|N" "note-next"
316         Item "Refs|R" "reference-next"
317         Submenu "Bookmarks|B" "navigate_bookmarks"
318     End
319
320     Menu "navigate_bookmarks"
321         Item "Save Bookmark 1|S" "bookmark-save 1"
322         Item "Save Bookmark 2" "bookmark-save 2"
323         Item "Save Bookmark 3" "bookmark-save 3"
324         Separator
325         Item "Goto Bookmark 1|1" "bookmark-goto 1"
326         Item "Goto Bookmark 2|2" "bookmark-goto 2"
327         Item "Goto Bookmark 3|3" "bookmark-goto 3"
328     End
329
330 #
331 # DOCUMENTS MENU
332 #
333
334     Menu "documents"
335         Documents
336     End
337
338 #
339 # HELP MENU
340 #
341     Menu "help"
342         Item "Introduction|I" "help-open Intro"
343         Item "Tutorial|T" "help-open Tutorial"
344         Item "User's Guide|U" "help-open UserGuide"
345         Item "Extended Features|E" "help-open Extended"
346         Item "Customization|C" "help-open Customization"
347 #       Item "Reference Manual|R" "help-open Reference"
348         Item "FAQ|F" "help-open FAQ"
349         Item "Table of Contents|a" "help-open TOC"
350         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
351         Separator
352         Item "About LyX|X" "help-aboutlyx"
353         Separator
354         Item "TeX Information" "help-Texinfo"
355     End
356
357 End
358
359 # Setup your favorite Toolbar here:
360 # Only three commands are allowed inside the begin_toolbar and end_toolbar
361 # directives: 
362 #   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
363 #          "<action> <parameter>"
364 #      Examples:
365 #      Icon "font-size small"
366 #      Icon set-emph
367 #
368 #   Layouts adds the layouts combo-box to the toolbar
369 #
370 #   Separator adds some spacing to the toolbar
371 #
372 # The icons are found in the lib/image direcory under the name
373 # action.xpm or action_parameter.xpm.
374 #
375 #  All other lyx commands will get a "unknown" icon.
376 #
377 # This is the default toolbar:
378
379 Toolbar
380     Layouts
381     Icon "file-open"
382     Icon "buffer-write"
383     Icon "buffer-print"
384     Separator
385     Icon "cut"
386     Icon "copy"
387     Icon "paste"
388     Separator
389     Icon "font-emph"
390     Icon "font-noun"
391     Icon "font-free"
392     Separator
393     Icon "ert-insert"
394     Icon "math-mode"
395     #Icon "math-panel"
396     Separator
397     Icon "footnote-insert"
398     Icon "marginalnote-insert"
399     Icon "depth-next"
400     Separator
401     Icon "graphics-insert"
402     Icon "dialog-tabular-insert"
403 End