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