]> git.lyx.org Git - features.git/blob - lib/ui/default.ui
code shuffle, part 1
[features.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         Item "Copy Row" "tabular-feature copy-row"
112         Item "Swap Rows" "tabular-feature swap-row"
113         Separator
114         Item "Add Column|u" "tabular-feature append-column"
115         Item "Delete Column|D" "tabular-feature delete-column"
116         Item "Copy Column" "tabular-feature copy-column"
117         Item "Swap Columns" "tabular-feature swap-column"
118     End
119
120     Menu "edit_math"
121 #       Item "Make eqnarray|e" "break-line e"
122 #       Item "Make multline|m" "break-line m"
123 #       Item "Make align 1 column|1"  "break-line 1"
124 #       Item "Make align 2 columns|2"  "break-line 2"
125 #       Item "Make align 3 columns|3"  "break-line 3"
126 #       Item "Make alignat 2 columns|2"  "break-line B"
127 #       Item "Make alignat 3 columns|3"  "break-line C"
128 #       Separator
129         Item "Toggle numbering|n" "math-number"
130         Item "Toggle numbering of line|u" "math-nonumber"
131         Item "Toggle limits|l" "math-limits"
132         Separator
133         Submenu "Change formula type...|t" "edit_math_mutate"
134         Separator
135         Submenu "Use computer algebra system|t" "edit_math_extern"
136
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     End
143
144     Menu "edit_math_extern"
145         Item "Octave" "math-extern octave"
146         Separator
147         Item "Maple, simplify" "math-extern maple simplify"
148         Item "Maple, factor" "math-extern maple factor"
149         Item "Maple, evalm" "math-extern maple evalm"
150         Item "Maple, evalf" "math-extern maple evalf"
151     End
152
153     Menu "edit_math_mutate"
154         Item "Inline formula|I" "math-mutate simple"
155         Item "Displayed formula|D" "math-mutate equation"
156         Item "Eqnarray environment|q" "math-mutate eqnarray"
157         Item "Align environment|A" "math-mutate align"
158         Item "AlignAt environment" "math-mutate alignat"
159         Item "Flalign environment|f" "math-mutate flalign"
160         #Item "XAlignAt environment" "math-mutate xalignat"
161         #Item "XXAlignAt environment" "math-mutate xxalignat"
162         Item "Gather environment" "math-mutate gather"
163         Item "Multline environment" "math-mutate multline"
164     End
165
166 #
167 # INSERT MENU
168 #
169     Menu "insert"
170         Submenu "Math|h" "insert_math"
171         Separator
172         Submenu "Special Character|S" "insert_special"
173         Item "Citation Reference...|C" "citation-insert"
174         Item "Cross Reference...|R" "reference-insert"
175         Item "Label...|L" "label-insert"
176         Item "Footnote|F" "footnote-insert"
177         Item "Marginal Note|M" "marginalnote-insert"
178         Item "Short title" "optional-insert"
179         Item "Index Entry|I" "index-insert"
180         Item "URL...|U" "url-insert"
181         Item "Note|N" "note-insert"
182         Submenu "Lists & TOC|O" "insert_toc"
183         Separator
184         Item "TeX|T" "ert-insert"
185         Item "Minipage|p" "minipage-insert"
186         Item "Graphics...|G" "graphics-insert"
187         Item "Tabular Material...|b" "tabular-insert"
188         Submenu "Floats|a" "insert_floats"
189         Separator
190         Item "Include File...|d" "buffer-child-insert"
191         Submenu "Insert File|e" "insert_file"
192         Item "External Material...|x" "external-insert"
193     End
194
195     Menu "insert_special"
196         Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free; "
197         Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free; "
198         Item "HFill|H" "hfill-insert"
199         Item "Hyphenation Point|P" "hyphenation-point-insert"
200         Item "Ligature break|k" "ligature-break-insert"
201         Item "Protected Blank|B" "protected-space-insert"
202         Item "Linebreak|L" "break-line"
203         Item "Ellipsis|i" "dots-insert"
204         Item "End of Sentence|E" "end-of-sentence-period-insert"
205         Item "Ordinary Quote|Q" "self-insert \""
206         Item "Menu Separator|M" "menu-separator-insert"
207     End
208
209     Menu "insert_math"
210         Item "Inline Formula|I" "math-mode"
211         Item "Display Formula|D" "math-display"
212         Item "Eqnarray environment|E" "command-sequence math-mode; math-mutate eqnarray;"
213         Item "AMS align environment|A" "command-sequence math-mode; math-mutate align;"
214         Item "AMS alignat environment|t" "command-sequence math-mode; math-mutate alignat;"
215         Item "AMS flalign environment|f" "command-sequence math-mode; math-mutate flalign;"
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 gather environment" "command-sequence math-mode; math-mutate gather;"
219         Item "AMS multline environment" "command-sequence math-mode; math-mutate multline;"
220   Separator
221         Item "Array environment|y" "math-matrix 2 2"
222         Item "Cases environment|C" "math-insert \cases"
223   Separator
224         Submenu "Font Change|f" "insert_math_font"
225         Item "Math Panel|l" "math-panel"
226     End
227
228     Menu "insert_math_font"
229         Item "Math normal font" "math-insert \mathnormal"
230         Separator
231         Item "Math calligraphic family" "math-insert \mathcal"
232         Item "Math fraktur family" "math-insert \mathfrak"
233         Item "Math roman family" "math-insert \mathrm"
234         Item "Math sans serif family" "math-insert \mathsf"
235         Separator
236         Item "Math bold series" "math-insert \mathbf"
237         Separator
238         Item "Text normal font" "math-insert \textnormal"
239         Separator
240         Item "Text roman family" "math-insert \textrm"
241         Item "Text sans serif family" "math-insert \textsf"
242         Item "Text typewriter family" "math-insert \texttt"
243         Separator
244         Item "Text bold series" "math-insert \textbf"
245         Item "Text medium series" "math-insert \textmd"
246         Separator
247         Item "Text italic shape" "math-insert \textit"
248         Item "Text small caps shape" "math-insert \textsc"
249         Item "Text slanted shape" "math-insert \textsl"
250         Item "Text upright shape" "math-insert \textup"
251                 End
252
253     Menu "insert_floats"
254         FloatInsert
255         Item "Floatflt Figure" "wrap-insert figure"
256     End
257
258     Menu "insert_toc"
259         Item "Table of Contents|C" "toc-insert"
260         FloatListInsert
261         Item "Index List|I" "index-print"
262         Item "BibTeX Reference...|B" "bibtex-insert"
263     End
264
265     Menu "insert_file"
266         Item "LyX Document...|X" "file-insert"
267         Item "Ascii as Lines...|L" "file-insert-ascii"
268         Item "Ascii as Paragraphs...|P" "file-insert-ascii-para"
269     End
270
271 #
272 # LAYOUT MENU
273 #
274     Menu "layout"
275         Item "Character|C" "layout-character"
276         Item "Paragraph|P" "layout-paragraph"
277         Item "Document|D" "layout-document"
278         OptItem "Tabular|T" "layout-tabular"
279         Separator
280         Item "Emphasize Style|E" "font-emph"
281         Item "Noun Style|N" "font-noun"
282         Item "Bold Style|B" "font-bold"
283 #       Item "TeX Style|X" "tex-mode"
284         Separator
285         Item "Decrease Environment Depth|v" "depth-decrement"
286         Item "Increase Environment Depth|v" "depth-increment"
287         Item "Preamble|r" "layout-preamble"
288         Item "Start Appendix here|A" "appendix"
289     End
290
291
292 #
293 # VIEW MENU
294 #
295     Menu "view"
296         ViewFormats
297         OptItem "Build Program|B" "build-program"
298         Submenu "Update|U" "update"
299         Separator
300         Item "LaTeX Logfile|L" "latex-view-log"
301         Item "Table of Contents|T" "toc-view"
302         Item "Child processes|C" "show-forks"
303         Item "TeX Information|X" "help-Texinfo"
304     End
305
306     Menu "update"
307         UpdateFormats
308     End
309
310 #
311 # NAVIGATE MENU
312 #
313     Menu "navigate"
314         Toc
315         Separator
316         Item "Error|E" "error-next"
317         Item "Note|N" "note-next"
318         Item "Refs|R" "reference-goto"
319         Submenu "Bookmarks|B" "navigate_bookmarks"
320     End
321
322     Menu "navigate_bookmarks"
323         Item "Save Bookmark 1|S" "bookmark-save 1"
324         Item "Save Bookmark 2" "bookmark-save 2"
325         Item "Save Bookmark 3" "bookmark-save 3"
326         Separator
327         Item "Goto Bookmark 1|1" "bookmark-goto 1"
328         Item "Goto Bookmark 2|2" "bookmark-goto 2"
329         Item "Goto Bookmark 3|3" "bookmark-goto 3"
330     End
331
332 #
333 # DOCUMENTS MENU
334 #
335
336     Menu "documents"
337         Documents
338     End
339
340 #
341 # HELP MENU
342 #
343     Menu "help"
344         Item "Tooltips|o" "toggle-tooltips"
345         Separator
346         Item "Introduction|I" "help-open Intro"
347         Item "Tutorial|T" "help-open Tutorial"
348         Item "User's Guide|U" "help-open UserGuide"
349         Item "Extended Features|E" "help-open Extended"
350         Item "Customization|C" "help-open Customization"
351 #       Item "Reference Manual|R" "help-open Reference"
352         Item "FAQ|F" "help-open FAQ"
353         Item "Table of Contents|a" "help-open TOC"
354         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
355         Separator
356         Item "About LyX|X" "help-aboutlyx"
357     End
358
359 End
360
361 # Setup your favorite Toolbar here:
362 # Only three commands are allowed inside the begin_toolbar and end_toolbar
363 # directives: 
364 #   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
365 #          "<action> <parameter>"
366 #      Examples:
367 #      Icon "font-size small"
368 #      Icon set-emph
369 #
370 #   Layouts adds the layouts combo-box to the toolbar
371 #
372 #   Separator adds some spacing to the toolbar
373 #
374 # The icons are found in the lib/image direcory under the name
375 # action.xpm or action_parameter.xpm.
376 #
377 #  All other lyx commands will get a "unknown" icon.
378 #
379 # This is the default toolbar:
380
381 Toolbar
382     Layouts
383     Icon "file-open"
384     Icon "buffer-write"
385     Icon "buffer-print"
386     Separator
387     Icon "cut"
388     Icon "copy"
389     Icon "paste"
390     Separator
391     Icon "font-emph"
392     Icon "font-noun"
393     Icon "font-free"
394     Separator
395     Icon "ert-insert"
396     Icon "math-mode"
397     #Icon "math-panel"
398     Separator
399     Icon "footnote-insert"
400     Icon "marginalnote-insert"
401     Icon "depth-increment"
402     Separator
403     Icon "graphics-insert"
404     Icon "tabular-insert"
405 End