]> git.lyx.org Git - lyx.git/blob - lib/ui/default.ui
Import patch from Dekel.
[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         Submenu "Import|I" "fileimport"
33         Separator
34         Item "Exit|x" "lyx-quit"
35         Separator
36         Lastfiles
37     End
38
39     Menu "file"
40         Item "New...|N" "buffer-new"
41         Item "New from template...|t" "buffer-new-template"
42         Item "Open...|O" "buffer-open"
43         Separator
44         Item "Close|C" "buffer-close"
45         Item "Save|S" "buffer-write"
46         Item "Save As...|A" "buffer-write-as"
47         Item "Revert to saved|R" "buffer-reload"
48         Submenu "Version control|V" "file_vc"
49         Separator
50         Submenu "Import|m" "fileimport"
51         Submenu "Insert|I" "fileinsert"
52         Separator
53         Submenu "Export|E" "exportfile"
54         Item "Print...|P" "buffer-print"
55         Item "Fax...|F" "buffer-export fax"
56         Separator
57         Item "Exit|x" "lyx-quit"
58         Separator
59         Lastfiles
60     End
61
62     Menu "fileimport"
63         Item "Ascii text as lines...|A" "buffer-import text"
64         Item "Ascii text as paragraphs...|p" "buffer-import textparagraph"
65         ImportFormats
66     End
67
68     Menu "fileinsert"
69         Item "File...|F" "buffer-child-insert"
70         Item "LyX file...|X" "file-insert"
71         Item "Ascii as lines...|l" "file-insert-ascii lines"
72         Item "Ascii as paragraphs...|p" "file-insert-ascii paragraphs"
73         Item "External material...|E" "external-insert"
74     End
75
76
77     Menu "file_vc"
78         OptItem "Register|R" "vc-register"
79         OptItem "Check In Changes|I" "vc-check-in"
80         OptItem "Check Out for Edit|O" "vc-check-out"
81         OptItem "Revert to last version|l" "vc-revert"
82         OptItem "Undo last check in|U" "vc-undo-last"
83         OptItem "Show History|H" "vc-history"
84     End
85
86     Menu "exportfile"
87         ExportFormats
88     End
89
90 #
91 # EDIT MENU
92 #
93     Menu "edit_nobuffer"
94         Item "Reconfigure|R"    "reconfigure"
95         Item "Preferences...|P" "dialog-preferences"
96     End
97
98     Menu "edit"
99         Item "Undo|U" "undo"
100         Item "Redo|R" "redo"
101         Separator
102         Item "Cut|C" "cut"
103         Item "Copy|o" "copy"
104         Item "Paste|P" "paste"
105         Submenu "Paste external selection|x" "edit_paste"
106         Separator
107         Item "Find & Replace...|F" "find-replace"
108         Separator
109         Submenu "Floats & Insets|I" "edit_floats"
110         Submenu "Tabular|T" "edit_tabular"
111         Item "Spellchecker...|S" "spellchecker"
112         Item "Check TeX|h" "buffer-chktex"
113         Separator
114         Item "Preferences...|e" "dialog-preferences"
115         Item "Reconfigure|g" "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 Footnotes/Margin Notes|A" "floats-operate openfoot"
127         Item "Close All Footnotes/Margin Notes|C" "floats-operate closefoot"
128         Item "Open All Figures/Tables|F" "floats-operate openfig"
129         Item "Close All Figures/Tables|T" "floats-operate closefig"
130         Separator
131         Item "Remove all Error Boxes|R" "error-remove-all"
132     End
133
134     Menu "edit_tabular"
135         Item "Multicolumn|M" "tabular-feature multicolumn"
136         Separator
137         Item "Line Top|T" "tabular-feature toggle-line-top"
138         Item "Line Bottom|B" "tabular-feature toggle-line-bottom"
139         Item "Line Left|L" "tabular-feature toggle-line-left"
140         Item "Line Right|R" "tabular-feature toggle-line-right"
141         Separator
142         Item "Align Left|e" "tabular-feature align-left"
143         Item "Align Center|C" "tabular-feature align-center"
144         Item "Align Right|i" "tabular-feature align-right"
145         Separator
146         Item "V.Align Top|o" "tabular-feature valign-top"
147         Item "V.Align Center|n" "tabular-feature valign-center"
148         Item "V.Align Bottom|V" "tabular-feature valign-bottom"
149         Separator
150         Item "Append Row|A" "tabular-feature append-row"
151         Item "Append Column|u" "tabular-feature append-column"
152         Separator
153         Item "Delete Row|w" "tabular-feature delete-row"
154         Item "Delete Column|D" "tabular-feature delete-column"
155     End
156
157 #
158 # INSERT MENU
159 #
160     Menu "insert"
161         Item "Math text|M" "math-mode"
162         Item "Math Display|D" "math-display"
163         Item "Math Panel...|P" "math-panel"
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|n" "marginpar-insert"
171         Item "Index entry...|x" "index-insert"
172         Item "Index entry of last word|w" "index-insert-last"
173         Item "URL...|U" "url-insert"
174         Item "Note...|o" "note-insert"
175         Separator
176         Item "Figure...|g" "figure-insert"
177         Item "Tabular...|T" "dialog-tabular-insert"
178         Submenu "Floats|a" "insert_floats"
179         Separator
180         Submenu "Lists & TOC|i" "insert_toc"
181     End
182
183     Menu "insert_floats"
184         Item "Figure float|F" "buffer-float-insert figure"
185         Item "Table float|T" "buffer-float-insert table"
186         Item "Wide figure float|W" "buffer-float-insert wide-fig"
187         Item "Wide table float|d" "buffer-float-insert wide-tab"
188         Separator
189         Item "Algorithm float|A" "buffer-float-insert algorithm"
190     End
191
192     Menu "insert_toc"
193         Item "Table of Contents|C" "toc-insert"
194         Item "List of Figures|F" "lof-insert"
195         Item "List of Tables|T" "lot-insert"
196         Item "List of Algorithms|A" "loa-insert"
197         Item "Index List|I" "index-print"
198         Item "BibTeX reference...|B" "bibtex-insert"
199     End
200
201     Menu "insert_special"
202         Item "HFill|H" "hfill-insert"
203         Item "Hyphenation point|p" "hyphenation-point-insert"
204         Item "Protected blank|b" "protected-space-insert"
205         Item "Linebreak|L" "break-line"
206         Item "Ellipsis|i" "dots-insert"
207         Item "End of sentence|E" "end-of-sentence-period-insert"
208         Item "Ordinary Quote|Q" "quote-insert"
209         Item "Menu Separator|M" "menu-separator-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 log file|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         Item "Error|E" "error-next"
255         Item "Note|N" "note-next"
256         Separator
257         Toc
258     End
259
260     Menu "documents"
261         Documents
262     End
263
264     Menu "help"
265         Item "Introduction|I" "help-open Intro"
266         Item "Tutorial|T" "help-open Tutorial"
267         Item "User's Guide|U" "help-open UserGuide"
268         Item "Extended Features|x" "help-open Extended"
269         Item "Customization|C" "help-open Customization"
270         Item "Reference Manual|R" "help-open Reference"
271         Item "FAQ|F" "help-open FAQ"
272         Item "Table of contents|a" "help-open TOC"
273         Item "Known Bugs|K" "help-open BUGS"
274         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
275         Separator
276         Item "Copyright and Warranty...|o" "help-copyright"
277         Item "Credits...|e" "help-credits"
278         Item "Version...|V" "help-version"
279     End
280
281 End
282
283 # Setup your favorite Toolbar here:
284 # Only three commands are allowed inside the begin_toolbar and end_toolbar
285 # directives: 
286 #   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
287 #          "<action> <parameter>"
288 #      Examples:
289 #      Icon "font-size small"
290 #      Icon set-emph
291 #
292 #   Layouts adds the layouts combo-box to the toolbar
293 #
294 #   Separator adds some spacing to the toolbar
295 #
296 # The icons are found in the lib/image direcory under the name
297 # action.xpm or action_parameter.xpm.
298 #
299 #  All other lyx commands will get a "unknown" icon.
300 #
301 # This is the default toolbar:
302
303 Toolbar
304     Layouts
305     Icon "buffer-open"
306     Icon "buffer-write"
307     Icon "buffer-print"
308     Separator
309     Icon "cut"
310     Icon "copy"
311     Icon "paste"
312     Separator
313     Icon "font-emph"
314     Icon "font-noun"
315     Icon "font-free"
316     Separator
317     Icon "footnote-insert"
318     Icon "marginpar-insert"
319     Icon "depth-next"
320     Separator
321     Icon "tex-mode"
322     Icon "math-mode"
323     Separator
324     Icon "figure-insert"
325     Icon "dialog-tabular-insert"
326 End