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