]> git.lyx.org Git - lyx.git/blob - lib/ui/default.ui
fix insertion of raw double quote, reading of Info inset, initial width of collapsed...
[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|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         Item "Math Panel|l" "math-panel"
100         Submenu "Math|M" "edit_math"
101         Separator
102         #Item "Read Only" "buffer-toggle-read-only"
103         Item "Spellchecker...|S" "spellchecker"
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 "Append Row|A" "tabular-feature append-row"
142         Item "Append Column|u" "tabular-feature append-column"
143         Separator
144         Item "Delete Row|w" "tabular-feature delete-row"
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         Item "Add Column" "math-column-insert"
177         Item "Delete Column" "math-column-delete"
178     End
179
180 #
181 # INSERT MENU
182 #
183     Menu "insert"
184         Item "Math Formula|h" "math-mode"
185         Item "Display Formula|D" "math-display"
186         #Item "Display Formula|D" "math-mode display"
187         #Item "Change to Inline Math Formula|q" "math-mutate simple"
188         #Item "Change to Displayed Math Formula|q" "math-mutate equation"
189         #Item "Change to Eqnarray Environment|q" "math-mutate eqnarray"
190         #Item "Change to Align Environment|g" "math-mutate align"
191         Separator
192         Submenu "Special Character|S" "insert_special"
193         Item "Citation Reference...|C" "citation-insert"
194         Item "Cross Reference...|R" "reference-insert"
195         Item "Label...|L" "label-insert"
196         Item "Footnote|F" "footnote-insert"
197         Item "Marginal Note|M" "marginalnote-insert"
198         Item "Index Entry...|I" "index-insert"
199         Item "Index Entry of Preceding Word|W" "index-insert-last"
200         Item "URL...|U" "url-insert"
201         Item "Note...|N" "note-insert"
202         Submenu "Lists & TOC|O" "insert_toc"
203         Separator
204         Item "TeX|T" "ert-insert"
205         Item "Minipage|p" "minipage-insert"
206         Item "Graphics...|G" "figure-insert"
207         Item "Tabular Material...|b" "dialog-tabular-insert"
208         Submenu "Floats|a" "insert_floats"
209         Separator
210         Item "Include File|e" "buffer-child-insert"
211         Submenu "Insert File|t" "insert_file"
212         Item "External Material...|x" "external-insert"
213     End
214
215     Menu "insert_special"
216         Item "Superscript|S" "command-sequence math-insert ^;math-mode;"
217         Item "Subscript|u" "command-sequence math-insert _;math-mode;"
218         Item "HFill|H" "hfill-insert"
219         Item "Hyphenation Point|P" "hyphenation-point-insert"
220         Item "Ligature break|k" "ligature-break-insert"
221         Item "Protected Blank|B" "protected-space-insert"
222         Item "Linebreak|L" "break-line"
223         Item "Ellipsis|i" "dots-insert"
224         Item "End of Sentence|E" "end-of-sentence-period-insert"
225         Item "Ordinary Quote|Q" "self-insert \""
226         Item "Menu Separator|M" "menu-separator-insert"
227     End
228
229     Menu "insert_floats"
230         FloatInsert
231     End
232
233     Menu "insert_toc"
234         Item "Table of Contents|C" "toc-insert"
235         FloatListInsert
236         Item "Index List|I" "index-print"
237         Item "BibTeX Reference...|B" "bibtex-insert"
238     End
239
240     Menu "insert_file"
241         Item "LyX Document...|X" "file-insert"
242         Item "Ascii as Lines...|L" "file-insert-ascii"
243         Item "Ascii as Paragraphs...|P" "file-insert-ascii-para"
244     End
245
246 #
247 # LAYOUT MENU
248 #
249     Menu "layout"
250         Item "Character...|C" "layout-character"
251         Item "Paragraph...|P" "layout-paragraph"
252         Item "Document...|D" "layout-document"
253         OptItem "Tabular...|T" "layout-tabular"
254         Separator
255         Item "Emphasize Style|E" "font-emph"
256         Item "Noun Style|N" "font-noun"
257         Item "Bold Style|B" "font-bold"
258 #       Item "TeX Style|X" "tex-mode"
259         Separator
260         Item "Change Environment Depth|v" "depth-increment"
261         Item "LaTeX Preamble...|L" "layout-preamble"
262         Item "Toggle Appendix|A" "appendix"
263         Separator
264         Item "Save Layout as Default|S" "layout-save-default"
265     End
266
267
268 #
269 # VIEW MENU
270 #
271     Menu "view"
272         ViewFormats
273         OptItem "Build Program|B" "build-program"
274         Submenu "Update|U" "update"
275         Separator
276         Item "LaTeX Logfile|L" "latex-view-log"
277         Item "Table of Contents|T" "toc-view"
278     End
279
280     Menu "update"
281         UpdateFormats
282     End
283
284 #
285 # NAVIGATE MENU
286 #
287     Menu "navigate"
288         Toc
289         Separator
290         Item "Error|E" "error-next"
291         Item "Note|N" "note-next"
292         Item "Refs|R" "reference-next"
293         Submenu "Bookmarks|B" "navigate_bookmarks"
294     End
295
296     Menu "navigate_bookmarks"
297         Item "Save Bookmark 1|S" "bookmark-save 1"
298         Item "Save Bookmark 2" "bookmark-save 2"
299         Item "Save Bookmark 3" "bookmark-save 3"
300         Separator
301         Item "Goto Bookmark 1|1" "bookmark-goto 1"
302         Item "Goto Bookmark 2|2" "bookmark-goto 2"
303         Item "Goto Bookmark 3|3" "bookmark-goto 3"
304     End
305
306 #
307 # DOCUMENTS MENU
308 #
309
310     Menu "documents"
311         Documents
312     End
313
314 #
315 # HELP MENU
316 #
317     Menu "help"
318         Item "Introduction|I" "help-open Intro"
319         Item "Tutorial|T" "help-open Tutorial"
320         Item "User's Guide|U" "help-open UserGuide"
321         Item "Extended Features|E" "help-open Extended"
322         Item "Customization|C" "help-open Customization"
323         Item "Reference Manual|R" "help-open Reference"
324         Item "FAQ|F" "help-open FAQ"
325         Item "Table of Contents|a" "help-open TOC"
326         Item "Known Bugs|K" "help-open BUGS"
327         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
328         Separator
329         Item "About LyX|X" "help-aboutlyx"
330     End
331
332 End
333
334 # Setup your favorite Toolbar here:
335 # Only three commands are allowed inside the begin_toolbar and end_toolbar
336 # directives: 
337 #   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
338 #          "<action> <parameter>"
339 #      Examples:
340 #      Icon "font-size small"
341 #      Icon set-emph
342 #
343 #   Layouts adds the layouts combo-box to the toolbar
344 #
345 #   Separator adds some spacing to the toolbar
346 #
347 # The icons are found in the lib/image direcory under the name
348 # action.xpm or action_parameter.xpm.
349 #
350 #  All other lyx commands will get a "unknown" icon.
351 #
352 # This is the default toolbar:
353
354 Toolbar
355     Layouts
356     Icon "file-open"
357     Icon "buffer-write"
358     Icon "buffer-print"
359     Separator
360     Icon "cut"
361     Icon "copy"
362     Icon "paste"
363     Separator
364     Icon "font-emph"
365     Icon "font-noun"
366     Icon "font-free"
367     Separator
368 #    Icon "tex-mode"
369     Icon "ert-insert"
370     Icon "math-mode"
371     Separator
372     Icon "footnote-insert"
373     Icon "marginalnote-insert"
374     Icon "depth-next"
375     Separator
376     Icon "figure-insert"
377     Icon "dialog-tabular-insert"
378 End