]> git.lyx.org Git - lyx.git/blob - lib/ui/default.ui
8e08e75bbd0672c9821c8f5604279d85bc1b1a35
[lyx.git] / lib / ui / default.ui
1 # This is the default LyX user interface definition file.         -*- text -*-
2 # The syntax should be straightforward enough. 
3
4 Menuset
5
6     Menubar
7         Submenu "File|F" "file"
8         Submenu "Edit|E" "edit"
9         Submenu "Insert|I" "insert"
10         Submenu "Layout|L" "layout"
11         Submenu "View|V" "view"
12         Submenu "Navigate|N" "navigate"
13         Submenu "Documents|D" "documents"
14         Submenu "Help|H" "help"
15     End
16
17 #
18 # FILE MENU
19 #
20
21     Menu "file"
22         Item "New|N" "buffer-new"
23         Item "New from Template...|T" "buffer-new-template"
24         Item "Open...|O" "file-open"
25         Separator
26         Item "Close|C" "buffer-close"
27         Item "Save|S" "buffer-write"
28         Item "Save As...|A" "buffer-write-as"
29         Item "Revert|R" "buffer-reload"
30         Submenu "Version Control|V" "file_vc"
31         Separator
32         Submenu "Import|I" "file_import"
33         Submenu "Export|E" "file_export"
34         Item "Print...|P" "buffer-print"
35         OptItem "Fax...|F" "buffer-export fax"
36         Separator
37         Item "Exit|x" "lyx-quit"
38         Separator
39         Lastfiles
40     End
41
42     Menu "file_vc"
43         OptItem "Register|R" "vc-register"
44         OptItem "Check In Changes...|I" "vc-check-in"
45         OptItem "Check Out for Edit|O" "vc-check-out"
46         OptItem "Revert to Last Version|L" "vc-revert"
47         OptItem "Undo Last Check In|U" "vc-undo-last"
48         OptItem "Show History|H" "vc-history"
49     End
50
51     Menu "file_import"
52         ImportFormats
53     End
54
55     Menu "file_export"
56         ExportFormats
57         Item "Custom...|C" "buffer-export custom"
58     End
59
60 #
61 # EDIT MENU
62 #
63
64     Menu "edit"
65         Item "Undo|U" "undo"
66         Item "Redo|d" "redo"
67         Separator
68         Item "Cut|C" "cut"
69         Item "Copy|o" "copy"
70         Item "Paste|a" "paste"
71         Submenu "Paste External Selection|x" "edit_paste"
72         Separator
73         Item "Find & Replace...|F" "find-replace"
74         Submenu "Tabular|T" "edit_tabular"
75         Submenu "Math|M" "edit_math"
76         Separator
77         #Item "Read Only" "buffer-toggle-read-only"
78         Item "Spellchecker|S" "spellchecker"
79         Item "Thesaurus" "thesaurus-entry"
80         Item "Check TeX|h" "buffer-chktex"
81         Item "Remove All Error Boxes|E" "error-remove-all"
82         Item "Open/Close float|l" "inset-toggle"
83         Separator
84         Item "Preferences|P" "dialog-preferences"
85         Item "Reconfigure|R" "reconfigure"
86     End
87
88     Menu "edit_paste"
89         Item "as Lines|L" "primary-selection-paste"
90         Item "as Paragraphs|P" "primary-selection-paste paragraph"
91     End
92
93     Menu "edit_tabular"
94         Item "Multicolumn|M" "tabular-feature multicolumn"
95         Separator
96         Item "Line Top|T" "tabular-feature toggle-line-top"
97         Item "Line Bottom|B" "tabular-feature toggle-line-bottom"
98         Item "Line Left|L" "tabular-feature toggle-line-left"
99         Item "Line Right|R" "tabular-feature toggle-line-right"
100         Separator
101         Item "Align Left|e" "tabular-feature align-left"
102         Item "Align Center|C" "tabular-feature align-center"
103         Item "Align Right|i" "tabular-feature align-right"
104         Separator
105         Item "V.Align Top|o" "tabular-feature valign-top"
106         Item "V.Align Center|n" "tabular-feature valign-center"
107         Item "V.Align Bottom|V" "tabular-feature valign-bottom"
108         Separator
109         Item "Add Row|A" "tabular-feature append-row"
110         Item "Delete Row|w" "tabular-feature delete-row"
111         Separator
112         Item "Add Column|u" "tabular-feature append-column"
113         Item "Delete Column|D" "tabular-feature delete-column"
114     End
115
116     Menu "edit_math"
117 #       Item "Make eqnarray|e" "break-line e"
118 #       Item "Make multline|m" "break-line m"
119 #       Item "Make align 1 column|1"  "break-line 1"
120 #       Item "Make align 2 columns|2"  "break-line 2"
121 #       Item "Make align 3 columns|3"  "break-line 3"
122 #       Item "Make alignat 2 columns|2"  "break-line B"
123 #       Item "Make alignat 3 columns|3"  "break-line C"
124 #       Separator
125         Item "Toggle numbering|n" "math-number"
126         Item "Toggle numbering of line|u" "math-nonumber"
127         Item "Toggle limits|l" "math-limits"
128         Separator
129         Submenu "Change formula type...|t" "edit_math_mutate"
130         Separator
131         Submenu "Use computer algebra system|t" "edit_math_extern"
132         Separator
133         Item "Align Left|f" "math-halign left"
134         Item "Align Center|C" "math-halign center"
135         Item "Align Right|R" "math-halign right"
136         Separator
137         Item "V.Align Top|T" "math-valign top"
138         Item "V.Align Center|e" "math-valign center"
139         Item "V.Align Bottom|B" "math-valign bottom"
140         Separator
141         Item "Add Row" "math-row-insert"
142         Item "Delete Row" "math-row-delete"
143         Separator
144         Item "Add Column" "math-column-insert"
145         Item "Delete Column" "math-column-delete"
146     End
147
148     Menu "edit_math_extern"
149         Item "Octave" "math-extern octave"
150         Separator
151         Item "Maple, simplify" "math-extern maple simplify"
152         Item "Maple, factor" "math-extern maple factor"
153         Item "Maple, evalm" "math-extern maple evalm"
154         Item "Maple, evalf" "math-extern maple evalf"
155     End
156
157     Menu "edit_math_mutate"
158         Item "Inline formula|I" "math-mutate simple"
159         Item "Displayed formula|D" "math-mutate equation"
160         Item "Eqnarray environment|q" "math-mutate eqnarray"
161         Item "Align environment|A" "math-mutate align"
162         Item "AlignAt environment" "math-mutate alignat"
163         Item "XAlignAt environment" "math-mutate xalignat"
164         Item "XXAlignAt environment" "math-mutate xxalignat"
165         Item "Multline environment" "math-mutate multline"
166     End
167
168 #
169 # INSERT MENU
170 #
171     Menu "insert"
172         Submenu "Math|h" "insert_math"
173         Separator
174         Submenu "Special Character|S" "insert_special"
175         Item "Citation Reference...|C" "citation-insert"
176         Item "Cross Reference...|R" "reference-insert"
177         Item "Label...|L" "label-insert"
178         Item "Footnote|F" "footnote-insert"
179         Item "Marginal Note|M" "marginalnote-insert"
180         Item "Index Entry|I" "index-insert"
181         Item "URL...|U" "url-insert"
182         Item "Note|N" "note-insert"
183         Submenu "Lists & TOC|O" "insert_toc"
184         Separator
185         Item "TeX|T" "ert-insert"
186         Item "Minipage|p" "minipage-insert"
187         Item "Graphics...|G" "graphics-insert"
188         Item "Tabular Material...|b" "dialog-tabular-insert"
189         Submenu "Floats|a" "insert_floats"
190         Separator
191         Item "Include File...|d" "buffer-child-insert"
192         Submenu "Insert File|e" "insert_file"
193         Item "External Material...|x" "external-insert"
194     End
195
196     Menu "insert_special"
197         Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free; "
198         Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free; "
199         Item "HFill|H" "hfill-insert"
200         Item "Hyphenation Point|P" "hyphenation-point-insert"
201         Item "Ligature break|k" "ligature-break-insert"
202         Item "Protected Blank|B" "protected-space-insert"
203         Item "Linebreak|L" "break-line"
204         Item "Ellipsis|i" "dots-insert"
205         Item "End of Sentence|E" "end-of-sentence-period-insert"
206         Item "Ordinary Quote|Q" "self-insert \""
207         Item "Menu Separator|M" "menu-separator-insert"
208     End
209
210     Menu "insert_math"
211         Item "Inline Formula|I" "math-mode"
212         Item "Display Formula|D" "math-display"
213         Item "Eqnarray environment|E" "command-sequence math-mode; math-mutate eqnarray;"
214         Item "AMS align environment|A" "command-sequence math-mode; math-mutate align;"
215         Item "AMS alignat environment|t" "command-sequence math-mode; math-mutate alignat;"
216         Item "AMS xalignat environment|x" "command-sequence math-mode; math-mutate xalignat;"
217         Item "AMS xxalignat environment" "command-sequence math-mode; math-mutate xxalignat;"
218         Item "AMS multline environment" "command-sequence math-mode; math-mutate multline;"
219   Separator
220         Item "Array environment|y" "math-insert matrix 2 2"
221         Item "Cases environment|C" "math-insert cases 2"
222   Separator
223         Submenu "Font Change|f" "insert_math_font"
224         Item "Math Panel|l" "math-panel"
225     End
226
227     Menu "insert_math_font"
228         Item "Math normal font" "math-insert \mathnormal"
229         Separator
230         Item "Math calligraphic family" "math-insert \mathcal"
231         Item "Math fraktur family" "math-insert \mathfrak"
232         Item "Math roman family" "math-insert \mathrm"
233         Item "Math sans serif family" "math-insert \mathsf"
234         Separator
235         Item "Math bold series" "math-insert \mathbf"
236         Separator
237         Item "Text normal font" "math-insert \textnormal"
238         Separator
239         Item "Text roman family" "math-insert \textrm"
240         Item "Text sans serif family" "math-insert \textsf"
241         Item "Text typewriter family" "math-insert \texttt"
242         Separator
243         Item "Text bold series" "math-insert \textbf"
244         Item "Text medium series" "math-insert \textmd"
245         Separator
246         Item "Text italic shape" "math-insert \textit"
247         Item "Text small caps shape" "math-insert \textsc"
248         Item "Text slanted shape" "math-insert \textsl"
249         Item "Text upright shape" "math-insert \textup"
250                 End
251
252     Menu "insert_floats"
253         FloatInsert
254     End
255
256     Menu "insert_toc"
257         Item "Table of Contents|C" "toc-insert"
258         FloatListInsert
259         Item "Index List|I" "index-print"
260         Item "BibTeX Reference...|B" "bibtex-insert"
261     End
262
263     Menu "insert_file"
264         Item "LyX Document...|X" "file-insert"
265         Item "Ascii as Lines...|L" "file-insert-ascii"
266         Item "Ascii as Paragraphs...|P" "file-insert-ascii-para"
267     End
268
269 #
270 # LAYOUT MENU
271 #
272     Menu "layout"
273         Item "Character|C" "layout-character"
274         Item "Paragraph|P" "layout-paragraph"
275         Item "Document|D" "layout-document"
276         OptItem "Tabular|T" "layout-tabular"
277         Separator
278         Item "Emphasize Style|E" "font-emph"
279         Item "Noun Style|N" "font-noun"
280         Item "Bold Style|B" "font-bold"
281 #       Item "TeX Style|X" "tex-mode"
282         Separator
283         Item "Change Environment Depth|v" "depth-increment"
284         Item "Preamble|r" "layout-preamble"
285         Item "Start Appendix here|A" "appendix"
286     End
287
288
289 #
290 # VIEW MENU
291 #
292     Menu "view"
293         ViewFormats
294         OptItem "Build Program|B" "build-program"
295         Submenu "Update|U" "update"
296         Separator
297         Item "LaTeX Logfile|L" "latex-view-log"
298         Item "Table of Contents|T" "toc-view"
299         Item "Child processes|C" "show-forks"
300         Item "TeX Information|X" "help-Texinfo"
301     End
302
303     Menu "update"
304         UpdateFormats
305     End
306
307 #
308 # NAVIGATE MENU
309 #
310     Menu "navigate"
311         Toc
312         Separator
313         Item "Error|E" "error-next"
314         Item "Note|N" "note-next"
315         Item "Refs|R" "reference-next"
316         Submenu "Bookmarks|B" "navigate_bookmarks"
317     End
318
319     Menu "navigate_bookmarks"
320         Item "Save Bookmark 1|S" "bookmark-save 1"
321         Item "Save Bookmark 2" "bookmark-save 2"
322         Item "Save Bookmark 3" "bookmark-save 3"
323         Separator
324         Item "Goto Bookmark 1|1" "bookmark-goto 1"
325         Item "Goto Bookmark 2|2" "bookmark-goto 2"
326         Item "Goto Bookmark 3|3" "bookmark-goto 3"
327     End
328
329 #
330 # DOCUMENTS MENU
331 #
332
333     Menu "documents"
334         Documents
335     End
336
337 #
338 # HELP MENU
339 #
340     Menu "help"
341         Item "Tooltips|o" "toggle-tooltips"
342         Separator
343         Item "Introduction|I" "help-open Intro"
344         Item "Tutorial|T" "help-open Tutorial"
345         Item "User's Guide|U" "help-open UserGuide"
346         Item "Extended Features|E" "help-open Extended"
347         Item "Customization|C" "help-open Customization"
348 #       Item "Reference Manual|R" "help-open Reference"
349         Item "FAQ|F" "help-open FAQ"
350         Item "Table of Contents|a" "help-open TOC"
351         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
352         Separator
353         Item "About LyX|X" "help-aboutlyx"
354     End
355
356 End
357
358 # Setup your favorite Toolbar here:
359 # Only three commands are allowed inside the begin_toolbar and end_toolbar
360 # directives: 
361 #   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
362 #          "<action> <parameter>"
363 #      Examples:
364 #      Icon "font-size small"
365 #      Icon set-emph
366 #
367 #   Layouts adds the layouts combo-box to the toolbar
368 #
369 #   Separator adds some spacing to the toolbar
370 #
371 # The icons are found in the lib/image direcory under the name
372 # action.xpm or action_parameter.xpm.
373 #
374 #  All other lyx commands will get a "unknown" icon.
375 #
376 # This is the default toolbar:
377
378 Toolbar
379     Layouts
380     Icon "file-open"
381     Icon "buffer-write"
382     Icon "buffer-print"
383     Separator
384     Icon "cut"
385     Icon "copy"
386     Icon "paste"
387     Separator
388     Icon "font-emph"
389     Icon "font-noun"
390     Icon "font-free"
391     Separator
392     Icon "ert-insert"
393     Icon "math-mode"
394     #Icon "math-panel"
395     Separator
396     Icon "footnote-insert"
397     Icon "marginalnote-insert"
398     Icon "depth-increment"
399     Separator
400     Icon "graphics-insert"
401     Icon "dialog-tabular-insert"
402 End