]> git.lyx.org Git - lyx.git/blob - lib/ui/default.ui
toolbar3.diff
[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         Submenu "Change tracking|g" "edit_change"
84         Separator
85         Item "Preferences...|P" "dialog-preferences"
86         Item "Reconfigure|R" "reconfigure"
87     End
88
89     Menu "edit_paste"
90         Item "as Lines|L" "primary-selection-paste"
91         Item "as Paragraphs|P" "primary-selection-paste paragraph"
92     End
93
94     Menu "edit_tabular"
95         Item "Multicolumn|M" "tabular-feature multicolumn"
96         Separator
97         Item "Line Top|T" "tabular-feature toggle-line-top"
98         Item "Line Bottom|B" "tabular-feature toggle-line-bottom"
99         Item "Line Left|L" "tabular-feature toggle-line-left"
100         Item "Line Right|R" "tabular-feature toggle-line-right"
101         Separator
102         Item "Align Left|e" "tabular-feature align-left"
103         Item "Align Center|C" "tabular-feature align-center"
104         Item "Align Right|i" "tabular-feature align-right"
105         Separator
106         Item "V.Align Top|o" "tabular-feature valign-top"
107         Item "V.Align Center|n" "tabular-feature valign-center"
108         Item "V.Align Bottom|V" "tabular-feature valign-bottom"
109         Separator
110         Item "Add Row|A" "tabular-feature append-row"
111         Item "Delete Row|w" "tabular-feature delete-row"
112         Item "Copy Row" "tabular-feature copy-row"
113         Item "Swap Rows" "tabular-feature swap-row"
114         Separator
115         Item "Add Column|u" "tabular-feature append-column"
116         Item "Delete Column|D" "tabular-feature delete-column"
117         Item "Copy Column" "tabular-feature copy-column"
118         Item "Swap Columns" "tabular-feature swap-column"
119     End
120
121     Menu "edit_math"
122 #       Item "Make eqnarray|e" "break-line e"
123 #       Item "Make multline|m" "break-line m"
124 #       Item "Make align 1 column|1"  "break-line 1"
125 #       Item "Make align 2 columns|2"  "break-line 2"
126 #       Item "Make align 3 columns|3"  "break-line 3"
127 #       Item "Make alignat 2 columns|2"  "break-line B"
128 #       Item "Make alignat 3 columns|3"  "break-line C"
129 #       Separator
130         Item "Toggle Numbering|N" "math-number"
131         Item "Toggle Numbering of Line|u" "math-nonumber"
132 #       Item "Toggle limits|l" "math-limits"
133         Submenu "Change Limits Type|L" "edit_math_limits"
134         Separator
135         Submenu "Change Formula Type|F" "edit_math_mutate"
136         Separator
137         Submenu "Use Computer Algebra System|S" "edit_math_extern"
138         Separator
139         Submenu "Alignment|A" "edit_math_align"
140         Separator
141         Item "Add Row|R" "tabular-feature append-row"
142         Item "Delete Row|D" "tabular-feature delete-row"
143         Item "Copy Row" "tabular-feature copy-row"
144         Item "Swap Rows" "tabular-feature swap-row"
145         Separator
146         Item "Add Column|C" "tabular-feature append-column"
147         Item "Delete Column|e" "tabular-feature delete-column"
148         Item "Copy Column" "tabular-feature copy-column"
149         Item "Swap Columns" "tabular-feature swap-column"
150     End
151
152     Menu "edit_math_limits"
153          Item "Default|t"  "math-limits empty"
154          Item "Display|D"  "math-limits limits"
155          Item "Inline|I"  "math-limits nolimits"
156     End
157
158     Menu "edit_math_extern"
159         Item "Octave" "math-extern octave"
160         Item "Maxima" "math-extern maxima"
161         Item "Mathematica" "math-extern mathematica"
162         Separator
163         Item "Maple, simplify" "math-extern maple simplify"
164         Item "Maple, factor" "math-extern maple factor"
165         Item "Maple, evalm" "math-extern maple evalm"
166         Item "Maple, evalf" "math-extern maple evalf"
167     End
168
169     Menu "edit_math_mutate"
170         Item "Inline Formula|I" "math-mutate simple"
171         Item "Displayed Formula|D" "math-mutate equation"
172         Item "Eqnarray Environment|q" "math-mutate eqnarray"
173         Item "Align Environment|A" "math-mutate align"
174         Item "AlignAt Environment" "math-mutate alignat"
175         Item "Flalign Environment|f" "math-mutate flalign"
176         #Item "XAlignAt Environment" "math-mutate xalignat"
177         #Item "XXAlignAt Environment" "math-mutate xxalignat"
178         Item "Gather Environment" "math-mutate gather"
179         Item "Multline Environment" "math-mutate multline"
180     End
181
182     Menu "edit_math_align"
183         Item "Align Left|L" "tabular-feature align-left"
184         Item "Align Center|C" "tabular-feature align-center"
185         Item "Align Right|R" "tabular-feature align-right"
186         Separator
187         Item "V.Align Top|T" "tabular-feature valign-top"
188         Item "V.Align Center|e" "tabular-feature valign-center"
189         Item "V.Align Bottom|B" "tabular-feature valign-bottom"
190     End
191 #
192 # INSERT MENU
193 #
194     Menu "insert"
195         Submenu "Math|h" "insert_math"
196         Separator
197         Submenu "Special Character|S" "insert_special"
198         Item "Citation Reference...|C" "dialog-show-new-inset citation"
199         Item "Cross Reference...|R" "dialog-show-new-inset ref"
200         Item "Label...|L" "label-insert"
201         Item "Footnote|F" "footnote-insert"
202         Item "Marginal Note|M" "marginalnote-insert"
203         Item "Short Title" "optional-insert"
204         Item "Bibliography Key" "bibitem-insert"
205         Item "Index Entry...|I" "index-insert"
206         Item "URL...|U" "url-insert"
207         Item "Note|N" "note-insert"
208         Submenu "Lists & TOC|O" "insert_toc"
209         Separator
210         Item "TeX|T" "ert-insert"
211         Item "Minipage|p" "minipage-insert"
212         Item "Graphics...|G" "dialog-show-new-inset graphics"
213         Item "Tabular Material...|b" "tabular-insert"
214         Submenu "Floats|a" "insert_floats"
215         Separator
216         Item "Include File...|d" "dialog-show-new-inset include"
217         Submenu "Insert File|e" "insert_file"
218         Item "External Material...|x" "dialog-show-new-inset external"
219     End
220
221     Menu "insert_special"
222         Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free-apply; "
223         Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free-apply; "
224         Item "HFill|H" "hfill-insert"
225         Item "Hyphenation Point|P" "hyphenation-point-insert"
226         Item "Ligature Break|k" "ligature-break-insert"
227         Item "Protected Blank|B" "protected-space-insert"
228         Item "Linebreak|L" "break-line"
229         Item "Ellipsis|i" "dots-insert"
230         Item "End of Sentence|E" "end-of-sentence-period-insert"
231         Item "Ordinary Quote|Q" "self-insert \""
232         Item "Menu Separator|M" "menu-separator-insert"
233     End
234
235     Menu "insert_math"
236         Item "Inline Formula|I" "math-mode"
237         Item "Display Formula|D" "math-display"
238         Item "Eqnarray Environment|E" "command-sequence math-mode; math-mutate eqnarray;"
239         Item "AMS align Environment|A" "command-sequence math-mode; math-mutate align;"
240         Item "AMS alignat Environment|t" "command-sequence math-mode; math-mutate alignat;"
241         Item "AMS flalign Environment|f" "command-sequence math-mode; math-mutate flalign;"
242         #Item "AMS xalignat Environment|x" "command-sequence math-mode; math-mutate xalignat;"
243         #Item "AMS xxalignat Environment" "command-sequence math-mode; math-mutate xxalignat;"
244         Item "AMS gather Environment" "command-sequence math-mode; math-mutate gather;"
245         Item "AMS multline Environment" "command-sequence math-mode; math-mutate multline;"
246   Separator
247         Item "Array Environment|y" "math-matrix 2 2"
248         Item "Cases Environment|C" "math-insert \cases"
249         Item "Split Environment|S" "math-insert \split"
250   Separator
251         Submenu "Font Change|f" "insert_math_font"
252         Item "Math Panel|l" "math-panel"
253     End
254
255     Menu "insert_math_font"
256         Item "Math normal font" "math-insert \mathnormal"
257         Separator
258         Item "Math calligraphic family" "math-insert \mathcal"
259         Item "Math fraktur family" "math-insert \mathfrak"
260         Item "Math roman family" "math-insert \mathrm"
261         Item "Math sans serif family" "math-insert \mathsf"
262         Separator
263         Item "Math bold series" "math-insert \mathbf"
264         Separator
265         Item "Text normal font" "math-insert \textnormal"
266         Separator
267         Item "Text roman family" "math-insert \textrm"
268         Item "Text sans serif family" "math-insert \textsf"
269         Item "Text typewriter family" "math-insert \texttt"
270         Separator
271         Item "Text bold series" "math-insert \textbf"
272         Item "Text medium series" "math-insert \textmd"
273         Separator
274         Item "Text italic shape" "math-insert \textit"
275         Item "Text small caps shape" "math-insert \textsc"
276         Item "Text slanted shape" "math-insert \textsl"
277         Item "Text upright shape" "math-insert \textup"
278                 End
279
280     Menu "insert_floats"
281         FloatInsert
282         Item "Floatflt Figure" "wrap-insert figure"
283     End
284
285     Menu "insert_toc"
286         Item "Table of Contents|C" "toc-insert"
287         FloatListInsert
288         Item "Index List|I" "index-print"
289         Item "BibTeX Reference...|B" "dialog-show-new-inset bibtex"
290     End
291
292     Menu "insert_file"
293         Item "LyX Document...|X" "file-insert"
294         Item "ASCII as Lines...|L" "file-insert-ascii"
295         Item "ASCII as Paragraphs...|P" "file-insert-ascii-para"
296     End
297
298     Menu "edit_change"
299         Item "Track changes|T" "track-changes"
300         Item "Merge changes ...|M" "merge-changes"
301         Item "Accept all changes|A" "accept-all-changes"
302         Item "Reject all changes|R" "reject-all-changes"
303     End
304 #
305 # LAYOUT MENU
306 #
307     Menu "layout"
308         Item "Character...|C" "layout-character"
309         Item "Paragraph...|P" "layout-paragraph"
310         Item "Document...|D" "layout-document"
311         OptItem "Tabular...|T" "layout-tabular"
312         Separator
313         Item "Emphasize Style|E" "font-emph"
314         Item "Noun Style|N" "font-noun"
315         Item "Bold Style|B" "font-bold"
316 #       Item "TeX Style|X" "tex-mode"
317         Separator
318         Item "Decrease Environment Depth|v" "depth-decrement"
319         Item "Increase Environment Depth|i" "depth-increment"
320         Item "Preamble...|r" "layout-preamble"
321         Item "Start Appendix Here|S" "appendix"
322     End
323
324
325 #
326 # VIEW MENU
327 #
328     Menu "view"
329         ViewFormats
330         OptItem "Build Program|B" "build-program"
331         Submenu "Update|U" "update"
332         Separator
333         Item "LaTeX Logfile|L" "latex-view-log"
334         Item "Table of Contents|T" "toc-view"
335         Item "Child Processes|C" "show-forks"
336         Item "TeX Information|X" "help-Texinfo"
337     End
338
339     Menu "update"
340         UpdateFormats
341     End
342
343 #
344 # NAVIGATE MENU
345 #
346     Menu "navigate"
347         Toc
348         Separator
349         Item "Error|E" "error-next"
350         Item "Note|N" "note-next"
351         Item "Refs|R" "reference-goto"
352         Submenu "Bookmarks|B" "navigate_bookmarks"
353     End
354
355     Menu "navigate_bookmarks"
356         Item "Save Bookmark 1|S" "bookmark-save 1"
357         Item "Save Bookmark 2" "bookmark-save 2"
358         Item "Save Bookmark 3" "bookmark-save 3"
359         Separator
360         Item "Goto Bookmark 1|1" "bookmark-goto 1"
361         Item "Goto Bookmark 2|2" "bookmark-goto 2"
362         Item "Goto Bookmark 3|3" "bookmark-goto 3"
363     End
364
365 #
366 # DOCUMENTS MENU
367 #
368
369     Menu "documents"
370         Documents
371     End
372
373 #
374 # HELP MENU
375 #
376     Menu "help"
377         Item "Tooltips|o" "toggle-tooltips"
378         Separator
379         Item "Introduction|I" "help-open Intro"
380         Item "Tutorial|T" "help-open Tutorial"
381         Item "User's Guide|U" "help-open UserGuide"
382         Item "Extended Features|E" "help-open Extended"
383         Item "Customization|C" "help-open Customization"
384 #       Item "Reference Manual|R" "help-open Reference"
385         Item "FAQ|F" "help-open FAQ"
386         Item "Table of Contents|a" "help-open TOC"
387         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
388         Separator
389         Item "About LyX|X" "help-aboutlyx"
390     End
391
392 End
393
394 # A Toolbar starts like :
395 #
396 # Toolbar "Name" "on" 
397 #
398 # The second parameter is the status, and can be "on", "off", "math"
399 # or "table". The last two make the toolbars appear and disappear automatically.
400 #
401 # Only three commands are allowed inside the begin_toolbar and end_toolbar
402 # directives: 
403 #   Item "<action> [<parameter>]" adds an icon to the toolbar performing
404 #          "<action> <parameter>"
405 #      Examples:
406 #      Item "font-size small"
407 #      Item set-emph
408 #
409 #   Layouts adds the layouts combo-box to the toolbar
410 #
411 #   Separator adds some spacing to the toolbar
412 #
413 # The icons are found in the lib/image direcory under the name
414 # action.xpm or action_parameter.xpm.
415 #
416 #  All other lyx commands will get a "unknown" icon.
417 #
418 # This is the default toolbar:
419
420 Toolbar "Standard" "on"
421     Layouts
422     Item "Open document" "file-open"
423     Item "Save document" "buffer-write"
424     Item "Print document" "buffer-print"
425     Separator
426     Item "Cut selection" "cut"
427     Item "Copy selection" "copy"
428     Item "Paste" "paste"
429     Separator
430     Item "Toggle emphasis style" "font-emph"
431     Item "Toggle noun style" "font-noun"
432     Item "Toggle free style" "font-free-apply"
433     Separator
434     Item "Insert TeX" "ert-insert"
435     Item "Insert math" "math-mode"
436     #Item "math-panel"
437     Separator
438     Item "Insert footnote" "footnote-insert"
439     Item "Insert margin note" "marginalnote-insert"
440     Item "Increase depth" "depth-increment"
441     Separator
442     Item "Insert graphics" "dialog-show-new-inset graphics"
443     Item "Insert table" "tabular-insert"
444 End