]> git.lyx.org Git - lyx.git/blob - lib/ui/classic.ui
Michael's UI patch v2
[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" "dialog-show 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" "dialog-show vclog"
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" "dialog-show findreplace"
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" "dialog-show 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-show 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                 Submenu "Alignment|i" "edit_align"
102                 Separator
103                 Item "Add Row|A" "tabular-feature append-row"
104                 Item "Delete Row|w" "tabular-feature delete-row"
105                 Item "Copy Row" "tabular-feature copy-row"
106                 Item "Swap Rows" "tabular-feature swap-row"
107                 Separator
108                 Item "Add Column|u" "tabular-feature append-column"
109                 Item "Delete Column|D" "tabular-feature delete-column"
110                 Item "Copy Column" "tabular-feature copy-column"
111                 Item "Swap Columns" "tabular-feature swap-column"
112         End
113
114         Menu "edit_align"
115                 Item "Left|L" "tabular-feature align-left"
116                 Item "Center|C" "tabular-feature align-center"
117                 Item "Right|R" "tabular-feature align-right"
118                 Separator
119                 Item "Top|T" "tabular-feature valign-top"
120                 Item "Middle|M" "tabular-feature valign-middle"
121                 Item "Bottom|B" "tabular-feature valign-bottom"
122         End
123
124         Menu "edit_math"
125 #       Item "Make eqnarray|e" "break-line e"
126 #       Item "Make multline|m" "break-line m"
127 #       Item "Make align 1 column|1"  "break-line 1"
128 #       Item "Make align 2 columns|2"  "break-line 2"
129 #       Item "Make align 3 columns|3"  "break-line 3"
130 #       Item "Make alignat 2 columns|2"  "break-line B"
131 #       Item "Make alignat 3 columns|3"  "break-line C"
132 #       Separator
133                 Item "Toggle Numbering|N" "math-number"
134                 Item "Toggle Numbering of Line|u" "math-nonumber"
135 #       Item "Toggle limits|l" "math-limits"
136                 Submenu "Change Limits Type|L" "edit_math_limits"
137                 Separator
138                 Submenu "Change Formula Type|F" "edit_math_mutate"
139                 Separator
140                 Submenu "Use Computer Algebra System|S" "edit_math_extern"
141                 Separator
142                 Submenu "Alignment|A" "edit_align"
143                 Separator
144                 Item "Add Row|R" "tabular-feature append-row"
145                 Item "Delete Row|D" "tabular-feature delete-row"
146                 Item "Copy Row" "tabular-feature copy-row"
147                 Item "Swap Rows" "tabular-feature swap-row"
148                 Separator
149                 Item "Add Column|C" "tabular-feature append-column"
150                 Item "Delete Column|e" "tabular-feature delete-column"
151                 Item "Copy Column" "tabular-feature copy-column"
152                 Item "Swap Columns" "tabular-feature swap-column"
153         End
154
155         Menu "edit_math_limits"
156                  Item "Default|t"  "math-limits empty"
157                  Item "Display|D"  "math-limits limits"
158                  Item "Inline|I"  "math-limits nolimits"
159         End
160
161         Menu "edit_math_extern"
162                 Item "Octave" "math-extern octave"
163                 Item "Maxima" "math-extern maxima"
164                 Item "Mathematica" "math-extern mathematica"
165                 Separator
166                 Item "Maple, simplify" "math-extern maple simplify"
167                 Item "Maple, factor" "math-extern maple factor"
168                 Item "Maple, evalm" "math-extern maple evalm"
169                 Item "Maple, evalf" "math-extern maple evalf"
170         End
171
172         Menu "edit_math_mutate"
173                 Item "Inline Formula|I" "math-mutate simple"
174                 Item "Displayed Formula|D" "math-mutate equation"
175                 Item "Eqnarray Environment|q" "math-mutate eqnarray"
176                 Item "Align Environment|A" "math-mutate align"
177                 Item "AlignAt Environment" "math-mutate alignat"
178                 Item "Flalign Environment|F" "math-mutate flalign"
179                 #Item "XAlignAt Environment" "math-mutate xalignat"
180                 #Item "XXAlignAt Environment" "math-mutate xxalignat"
181                 Item "Gather Environment" "math-mutate gather"
182                 Item "Multline Environment" "math-mutate multline"
183         End
184 #
185 # INSERT MENU
186 #
187         Menu "insert"
188             Submenu "Math|h" "insert_math"
189                 Separator
190                 Submenu "Special Character|S" "insert_special"
191                 Item "Citation Reference...|C" "dialog-show-new-inset citation"
192                 Item "Cross Reference...|R" "dialog-show-new-inset ref"
193                 Item "Label...|L" "label-insert"
194                 Item "Footnote|F" "footnote-insert"
195                 Item "Marginal Note|M" "marginalnote-insert"
196                 Item "Short Title" "optional-insert"
197                 Item "Bibliography Key" "bibitem-insert"
198                 Item "Index Entry...|I" "index-insert"
199                 Item "URL...|U" "url-insert"
200                 Item "Note|N" "note-insert"
201                 Submenu "Lists & TOC|O" "insert_toc"
202                 Separator
203                 Item "TeX|T" "ert-insert"
204                 Item "Minipage|p" "minipage-insert"
205                 Item "Graphics...|G" "dialog-show-new-inset graphics"
206                 Item "Tabular Material...|b" "tabular-insert"
207                 Submenu "Floats|a" "insert_floats"
208                 Separator
209                 Item "Include File...|d" "dialog-show-new-inset include"
210                 Submenu "Insert File|e" "insert_file"
211                 Item "External Material...|x" "dialog-show-new-inset external"
212         End
213
214         Menu "insert_special"
215                 Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free-apply; "
216                 Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free-apply; "
217                 Item "HFill|H" "hfill-insert"
218                 Item "Hyphenation Point|P" "hyphenation-point-insert"
219                 Item "Ligature Break|k" "ligature-break-insert"
220                 Item "Protected Space|r" "space-insert protected"
221                 Item "Inter-word Space|w" "space-insert normal"
222                 Item "Thin Space|T" "space-insert thin"
223                 Item "Linebreak|L" "break-line"
224                 Item "Ellipsis|i" "dots-insert"
225                 Item "End of Sentence|E" "end-of-sentence-period-insert"
226                 Item "Ordinary Quote|Q" "self-insert \""
227                 Item "Menu Separator|M" "menu-separator-insert"
228         End
229
230         Menu "insert_math"
231                 Item "Inline Formula|I" "math-mode"
232                 Item "Display Formula|D" "math-display"
233                 Item "Eqnarray Environment|E" "command-sequence math-mode; math-mutate eqnarray;"
234                 Item "AMS align Environment|a" "command-sequence math-mode; math-mutate align;"
235                 Item "AMS alignat Environment|t" "command-sequence math-mode; math-mutate alignat;"
236                 Item "AMS flalign Environment|f" "command-sequence math-mode; math-mutate flalign;"
237                 #Item "AMS xalignat Environment|x" "command-sequence math-mode; math-mutate xalignat;"
238                 #Item "AMS xxalignat Environment" "command-sequence math-mode; math-mutate xxalignat;"
239                 Item "AMS gather Environment" "command-sequence math-mode; math-mutate gather;"
240                 Item "AMS multline Environment" "command-sequence math-mode; math-mutate multline;"
241         Separator
242                 Item "Array Environment|y" "math-matrix 2 2"
243                 Item "Cases Environment|C" "math-insert \cases"
244                 Item "Split Environment|S" "math-insert \split"
245         Separator
246                 Submenu "Font Change|o" "insert_math_font"
247                 Item "Math Panel|l" "dialog-show mathpanel"
248         End
249
250         Menu "insert_math_font"
251                 Item "Math Normal Font" "math-insert \mathnormal"
252                 Separator
253                 Item "Math Calligraphic Family" "math-insert \mathcal"
254                 Item "Math Fraktur Family" "math-insert \mathfrak"
255                 Item "Math Roman Family" "math-insert \mathrm"
256                 Item "Math Sans Serif Family" "math-insert \mathsf"
257                 Separator
258                 Item "Math Bold Series" "math-insert \mathbf"
259                 Separator
260                 Item "Text Normal Font" "math-insert \textnormal"
261                 Separator
262                 Item "Text Roman Family" "math-insert \textrm"
263                 Item "Text Sans Serif Family" "math-insert \textsf"
264                 Item "Text Typewriter Family" "math-insert \texttt"
265                 Separator
266                 Item "Text Bold Series" "math-insert \textbf"
267                 Item "Text Medium Series" "math-insert \textmd"
268                 Separator
269                 Item "Text Italic Shape" "math-insert \textit"
270                 Item "Text Small Caps Shape" "math-insert \textsc"
271                 Item "Text Slanted Shape" "math-insert \textsl"
272                 Item "Text Upright Shape" "math-insert \textup"
273         End
274
275         Menu "insert_floats"
276                 FloatInsert
277                 Item "Floatflt Figure" "wrap-insert figure"
278         End
279
280         Menu "insert_toc"
281                 Item "Table of Contents|C" "toc-insert"
282                 FloatListInsert
283                 Item "Index List|I" "index-print"
284                 Item "BibTeX Reference...|B" "dialog-show-new-inset bibtex"
285         End
286
287         Menu "insert_file"
288                 Item "LyX Document...|X" "file-insert"
289                 Item "ASCII as Lines...|L" "file-insert-ascii"
290                 Item "ASCII as Paragraphs...|P" "file-insert-ascii-para"
291         End
292
293         Menu "edit_change"
294                 Item "Track Changes|T" "track-changes"
295                 Item "Merge Changes ...|M" "merge-changes"
296                 Item "Accept All Changes|A" "accept-all-changes"
297                 Item "Reject All Changes|R" "reject-all-changes"
298         End
299 #
300 # LAYOUT MENU
301 #
302         Menu "layout"
303                 Item "Character...|C" "dialog-show character"
304                 Item "Paragraph...|P" "layout-paragraph"
305                 Item "Document...|D" "dialog-show document"
306                 OptItem "Tabular...|T" "layout-tabular"
307                 Separator
308                 Item "Emphasize Style|E" "font-emph"
309                 Item "Noun Style|N" "font-noun"
310                 Item "Bold Style|B" "font-bold"
311 #       Item "TeX Style|X" "tex-mode"
312                 Separator
313                 Item "Decrease Environment Depth|v" "depth-decrement"
314                 Item "Increase Environment Depth|i" "depth-increment"
315                 Item "Preamble...|r" "dialog-show preamble"
316                 Item "Start Appendix Here|S" "appendix"
317         End
318
319
320 #
321 # VIEW MENU
322 #
323         Menu "view"
324                 ViewFormats
325                 OptItem "Build Program|B" "build-program"
326                 Submenu "Update|U" "update"
327                 Separator
328                 Item "LaTeX Logfile|L" "dialog-show latexlog"
329                 Item "Table of Contents|C" "toc-view"
330                 Item "Child Processes|o" "dialog-show forks"
331                 Item "TeX Information|X" "dialog-show texinfo"
332         End
333
334         Menu "update"
335                 UpdateFormats
336         End
337
338 #
339 # NAVIGATE MENU
340 #
341         Menu "navigate"
342                 Toc
343                 Separator
344                 Item "Note|N" "note-next"
345                 Item "Refs|R" "reference-goto"
346                 Submenu "Bookmarks|B" "navigate_bookmarks"
347         End
348
349         Menu "navigate_bookmarks"
350                 Item "Save Bookmark 1|S" "bookmark-save 1"
351                 Item "Save Bookmark 2" "bookmark-save 2"
352                 Item "Save Bookmark 3" "bookmark-save 3"
353                 Separator
354                 Item "Goto Bookmark 1|1" "bookmark-goto 1"
355                 Item "Goto Bookmark 2|2" "bookmark-goto 2"
356                 Item "Goto Bookmark 3|3" "bookmark-goto 3"
357         End
358
359 #
360 # DOCUMENTS MENU
361 #
362
363         Menu "documents"
364                 Documents
365         End
366
367 #
368 # HELP MENU
369 #
370         Menu "help"
371                 Item "Tooltips|o" "toggle-tooltips"
372             Separator
373                 Item "Introduction|I" "help-open Intro"
374                 Item "Tutorial|T" "help-open Tutorial"
375                 Item "User's Guide|U" "help-open UserGuide"
376                 Item "Extended Features|E" "help-open Extended"
377                 Item "Customization|C" "help-open Customization"
378 #       Item "Reference Manual|R" "help-open Reference"
379                 Item "FAQ|F" "help-open FAQ"
380                 Item "Table of Contents|a" "help-open TOC"
381                 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
382                 Separator
383                 Item "About LyX|X" "dialog-show aboutlyx"
384         End
385
386 End
387
388 # Which toolbars to use.
389
390 include "stdtoolbars.ui"
391
392 # The second parameter are the flags :
393 #
394 # on: the toolbar is visible
395 # off: the toolbar is not visible
396 # math: the toolbar is visible only when in math
397 # table: the toolbar is visible only when in a table
398 # top: the toolbar should be at the top of the window
399 # bottom: the toolbar should be at the bottom of the window
400 # left: the toolbar should be at the left of the window
401 # right: the toolbar should be at the right of the window
402 #
403 Toolbars
404         "Standard" "on,top"
405         "Extra" "on,top"
406         "Table" "off,bottom"
407         "Math" "off,bottom"
408         "Command Buffer" "off,bottom"
409 End