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