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