]> git.lyx.org Git - lyx.git/blob - lib/ui/default.ui
Fix two stupid bugs; fix stupidly a more subtile one
[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"
9         Submenu "File|F" "file"
10         Submenu "Edit|E" "edit"
11         Submenu "Layout|L" "layout"
12         Submenu "Insert|I" "insert"
13         Submenu "Math|M" "math"
14         Submenu "Options|O" "options"
15         Submenu "Documents|D" "documents"
16         Submenu "Help|H" "help"
17     End
18
19 MenuBar "main"
20         Submenu "File|F" "file"
21 End
22
23     Menubar "main_nobuffer"
24         Submenu "File|F" "file_nobuffer"
25         Submenu "Options|O" "options"
26         Submenu "Help|H" "help"
27     End
28
29     Menu "file" 
30         Item "New...|N" "buffer-new"
31         Item "New from template|t" "buffer-new-template"
32         Item "Open...|O" "buffer-open"
33         Separator
34         Item "Close|C" "buffer-close"
35         Item "Save|S" "buffer-write"
36         Item "Save As|A" "buffer-write-as"
37         Item "Revert to saved|R" "buffer-reload"
38         Separator
39         Item "View dvi|d" "buffer-view"
40         Item "View Postscript|w" "buffer-view-ps"
41         Item "Update dvi|v" "buffer-typeset"
42         Item "Update Postscript|u" "buffer-typeset-ps"
43         OptItem "Build program|B" "build-program"
44         Separator
45         Item "Print...|P" "buffer-print"
46         Item "Fax...|F" "buffer-fax"
47         Submenu "Import|I" "import"
48         Submenu "Export|E" "export"
49         Separator
50         Item "Exit|x" "lyx-quit"
51         Separator
52         Lastfiles
53     End
54
55     Menu "file_nobuffer" 
56         Item "New...|N" "buffer-new"
57         Item "New from template|t" "buffer-new-template"
58         Item "Open...|O" "buffer-open"
59         Separator
60         Submenu "Import|I" "import"
61         Separator
62         Item "Exit|x" "lyx-quit"
63         Separator
64         Lastfiles
65     End
66
67     Menu "import"
68         Item "LaTeX|L" "buffer-import latex"
69         Item "Ascii text as lines|A" "buffer-import ascii"
70         Item "Ascii text as paragraphs|p" "buffer-import ascii"
71         Item "Noweb|N" "buffer-import noweb"
72     End
73
74     Menu "export"
75         OptItem "as LaTeX|L" "buffer-export latex"
76         OptItem "as LinuxDoc|L" "buffer-export linuxdoc"
77         OptItem "as DocBook|B" "buffer-export docbook"
78         Item "as DVI|D" "buffer-export dvi"
79         Item "as Postscript|P" "buffer-export postscript"
80         Item "as Ascii|A" "buffer-export ascii"
81         Item "as HTML|H" "buffer-export html"
82         OptItem "Custom...|C" "buffer-export custom"
83     End
84
85     Menu "edit"
86         Item "Undo|U" "undo"
87         Item "Redo|R" "redo"
88         Separator
89         Item "Cut|C" "cut"
90         Item "Copy|o" "copy"
91         Item "Paste|P" "paste"
92         Separator
93         Item "Find & Replace...|F" "find-replace"
94         Item "Go to Error|E" "error-next"
95         Item "Go to Note|N" "note-next"
96         Submenu "Floats & Insets|I" "edit_floats"
97         Submenu "Table" "edit_table"
98         Item "Spellchecker...|S" "spellchecker"
99         Item "Check TeX|h" "buffer-chktex"
100         Item "Table of Contents|b" "toc-view"
101         Separator
102         Submenu "Version control" "vc"
103         Separator
104         Item "View LaTeX log file|w" "latex-view-log"
105         Separator
106         Submenu "Paste primary selection" "edit_paste"
107     End
108
109     Menu "edit_floats"
110     End
111
112     Menu "edit_table"
113     End
114
115     Menu "edit_paste"
116         Item "as Lines|L" "primary-selection-paste"
117         Item "as Paragraphs|g" "primary-selection-paste paragraph"
118     End
119
120     Menu "vc"
121          OptItem "Register|R" "vc-register"
122          OptItem "Check In Changes|I" "vc-check-in"
123          OptItem "Check Out for Edit|O" "vc-check-out"
124          OptItem "Revert to last version|l" "vc-revert"
125          OptItem "Undo last check in|U" "vc-undo-last"
126          OptItem "Show History|H" "vc-history"
127     End
128
129     Menu "layout"
130         Item "Character...|C" "layout-character"
131         Item "Paragraph...|P" "layout-paragraph"
132         Item "Paper...|a" "layout-paper"
133         Item "Document...|D" "layout-document"
134         Item "Table...|T" "layout-table"
135         Item "Quotes...|Q" "layout-quotes"
136         Separator
137         Item "Emphasize Style|E" "font-emph"
138         Item "Noun Style|N" "font-noun"
139         Item "Bold Style|B" "font-bold"
140         Item "TeX Style|x" "tex-mode"
141         Item "Change environment depth|v" "depth-increment"
142         Item "LaTeX preamble|a" "layout-preamble"
143         Item "Start of Appendix|x" "appendix"
144         Separator
145         Item "Save layout as default|S" "layout-save-default"
146     End
147
148     Menu "insert"
149         Item "Figure...|F" "figure-insert"
150         Item "Table...|T" "table-insert"
151         Separator
152         Item "Include File...|I" "buffer-child-insert"
153         Submenu "Import ascii file|a" "insert_ascii"
154         Item "Insert LyX file|X" "file-insert"
155         Item "Insert external material...|e" "external-insert"
156         Separator
157         Item "Footnote|F" "footnote-insert"
158         Item "Marginnote|M" "marginpar-insert"
159         Submenu "Floats|a" "insert_floats"
160         Separator
161         Submenu "Lists & TOC|T" "insert_toc"
162         Separator
163         Submenu "Special character|S" "insert_special"
164         Separator
165         Item "Note...|N" "note-insert"
166         Item "Label...|L" "label-insert"
167         Item "Cross reference...|r" "reference-insert"
168         Item "Citation reference...|i" "citation-insert"
169         Item "Index entry...|d" "index-insert"
170         Item "Index entry of last word|w" "index-insert-last"
171         Item "URL...|U" "url-insert"
172     End
173
174     Menu "insert_ascii"
175         Item "As lines|l" "file-insert-ascii lines"
176         Item "As paragraphs|p" "file-insert-ascii paragraphs"
177     End
178
179     Menu "insert_floats"
180         Item "Figure float|F" "buffer-float-insert figure"
181         Item "Table float|T" "buffer-float-insert table"
182         Item "Wide figure float|W" "buffer-float-insert wide-fig"
183         Item "Wide table float|d" "buffer-float-insert wide-tab"
184         Separator
185         Item "Algorithm float|A" "buffer-float-insert algorithm"
186     End
187
188     Menu "insert_toc"
189         Item "Table of Contents|C" "toc-view"
190         Item "List of Figures|F" "lof-insert"
191         Item "List of Tables|T" "lot-insert"
192         Item "List of Algorithms|A" "loa-insert"
193         Item "Index List|I" "index-print"
194         Item "BibTeX reference|B" "bibtex-insert"
195     End
196
197     Menu "insert_special"
198         Item "HFill|H" "hfill-insert"
199         Item "Hyphenation point|p" "hyphenation-point-insert"
200         Item "Protected blank|b" "protected-space-insert"
201         Item "Linebreak|L" "break-line"
202         Item "Ellipsis|i" "dots-insert"
203         Item "End of sentence|E" "end-of-sentence-period-insert"
204         Item "Ordinary Quote|Q" "quote-insert"
205         Item "Menu Separator|M" "menu-separator-insert"
206     End
207
208     Menu "math"
209         Item "Fraction|F" "math-insert frac"
210         Item "Square root|S" "math-insert sqrt"
211         Item "Exponent|E" "math-insert ^"
212         Item "Index|x" "math-insert -"
213         Item "Sum|u" "math-insert sum"
214         Item "Integral|I" "math-insert int"
215         Separator
216         Item "Math mode|M" "math-mode"
217         Item "Display|D" "math-display"
218         Separator
219         Item "Math Panel...|P" "math-panel"
220     End
221
222     Menu "options"
223         Item "Screen Fonts...|F" "screen-options"
224         Item "Spellchecker Options...|S" "spellchecker-options"
225         Item "Keyboard...|K" "keyboard-options"
226         Separator
227         Item "Reconfigure|R" "reconfigure"
228         Item "Preferences|P" "options-preferences"
229     End
230     
231     Menu "documents"
232         Documents
233     End
234
235     Menu "help"
236         Item "Introduction|I" "help-open Intro"
237         Item "Tutorial|T" "help-open Tutorial"
238         Item "User's Guide|U" "help-open UserGuide"
239         Item "Extended Features|x" "help-open Extended"
240         Item "Customization|C" "help-open Customization"
241         Item "Reference Manual|R" "help-open Reference"
242         Item "FAQ|F" "help-open FAQ"
243         Item "Table of contents|a" "help-open TOC"
244         Item "Known Bugs|K" "help-open BUGS"
245         Item "LaTeX Configuration|L" "help-open LaTeXConfig"
246         Separator
247         Item "Copyright and Warranty...|o" "help-copyright"
248         Item "Credits...|e" "help-credits"
249         Item "Version...|V" "help-version"
250     End
251
252 End
253
254 # Setup your favorite Toolbar here:
255 # Only three commands are allowed inside the begin_toolbar and end_toolbar
256 # directives: 
257 #   Icon "<action> [<parameter>]" adds an icon to the toolbar performing
258 #          "<action> <parameter>"
259 #      Examples:
260 #      Icon "font-size small"
261 #      Icon set-emph
262 #
263 #   Layouts adds the layouts combo-box to the toolbar
264 #
265 #   Separator adds some spacing to the toolbar
266 #
267 # The icons are found in the lib/image direcory under the name
268 # action.xpm or action_parameter.xpm.
269 #
270 #  All other lyx commands will get a "unknown" icon.
271 #
272 # This is the default toolbar:
273
274 Toolbar
275     Layouts
276     Icon "buffer-open"
277     Icon "buffer-write"
278     Icon "buffer-print"
279     Separator
280     Icon "cut"
281     Icon "copy"
282     Icon "paste"
283     Separator
284     Icon "font-emph"
285     Icon "font-noun"
286     Icon "font-free"
287     Separator
288     Icon "footnote-insert"
289     Icon "marginpar-insert"
290     Icon "depth-next"
291     Separator
292     Icon "tex-mode"
293     Icon "math-mode"
294     Separator
295     Icon "figure-insert"
296     Icon "table-insert"
297 End
298