]> git.lyx.org Git - lyx.git/blob - lib/ui/classic.ui
b531e26a44386174970fda8e7e2b06a78f657ba1
[lyx.git] / lib / ui / classic.ui
1 # -*- text -*-
2
3 # file classic.ui
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
6
7 # author Lars Gullik Bjønnes
8 # author Jean-Marc Lasgouttes
9 # author Rob Lahaye
10 # author Angus Leeming
11 # author Edwin Leuven
12 # author John Levon
13 # author André Pönitz
14 # author Allan Rae
15 # author Jürgen Spitzmüller
16 # author Kayvan Sylvan
17 # author Dekel Tsur
18 # author Jürgen Vigna
19 # author Herbert Voss
20
21 # Full author contact details are available in file CREDITS.
22
23 # This is the default LyX user interface definition file.
24 # The syntax should be straightforward enough.
25
26 # The interface is designed (partially) following the KDE Human Interface
27 # Guidelines (http://usability.kde.org/hig/)
28
29 Menuset
30
31         Menubar
32                 Submenu "File|F" "file"
33                 Submenu "Edit|E" "edit"
34                 Submenu "Insert|I" "insert"
35                 Submenu "Layout|L" "layout"
36                 Submenu "View|V" "view"
37                 Submenu "Navigate|N" "navigate"
38                 Submenu "Documents|D" "documents"
39                 Submenu "Help|H" "help"
40         End
41
42 #
43 # FILE MENU
44 #
45
46         Menu "file"
47                 Item "New|N" "buffer-new"
48                 Item "New from Template...|T" "buffer-new-template"
49                 Item "Open...|O" "file-open"
50                 Separator
51                 Item "Close|C" "buffer-close"
52                 Item "Save|S" "buffer-write"
53                 Item "Save As...|A" "buffer-write-as"
54                 Item "Revert|R" "buffer-reload"
55                 Submenu "Version Control|V" "file_vc"
56                 Separator
57                 Submenu "Import|I" "file_import"
58                 Submenu "Export|E" "file_export"
59                 Item "Print...|P" "dialog-show print"
60                 OptItem "Fax...|F" "buffer-export fax"
61                 Separator
62                 Item "Exit|x" "lyx-quit"
63                 Separator
64                 Lastfiles
65         End
66
67         Menu "file_vc"
68                 OptItem "Register...|R" "vc-register"
69                 OptItem "Check In Changes...|I" "vc-check-in"
70                 OptItem "Check Out for Edit|O" "vc-check-out"
71                 OptItem "Revert to Repository Version|v" "vc-revert"
72                 OptItem "Undo Last Check In|U" "vc-undo-last"
73                 OptItem "Show History...|H" "dialog-show vclog"
74         End
75
76         Menu "file_import"
77                 ImportFormats
78         End
79
80         Menu "file_export"
81                 ExportFormats
82                 Item "Custom...|C" "buffer-export custom"
83         End
84
85 #
86 # EDIT MENU
87 #
88
89         Menu "edit"
90                 Item "Undo|U" "undo"
91                 Item "Redo|d" "redo"
92                 Separator
93                 Item "Cut|C" "cut"
94                 Item "Copy|o" "copy"
95                 Item "Paste|a" "paste"
96                 Submenu "Paste External Selection|x" "edit_paste"
97                 Separator
98                 Item "Find & Replace...|F" "dialog-show findreplace"
99                 Separator
100                 Submenu "Tabular|T" "edit_tabular"
101                 Submenu "Math|M" "edit_math"
102                 Separator
103                 #Item "Read Only" "buffer-toggle-read-only"
104                 Item "Spellchecker...|S" "dialog-show spellchecker"
105                 Item "Thesaurus..." "thesaurus-entry"
106                 Item "Statistics...|i" "statistics"
107                 Item "Check TeX|h" "buffer-chktex"
108                 Submenu "Change Tracking|g" "edit_change"
109                 Separator
110                 Item "Preferences...|P" "dialog-show prefs"
111                 Item "Reconfigure|R" "reconfigure"
112         End
113
114         Menu "edit_paste"
115                 Item "Selection as Lines|L" "primary-selection-paste"
116                 Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
117         End
118
119         Menu "edit_tabular"
120                 Item "Multicolumn|M" "inset-modify tabular multicolumn"
121                 Separator
122                 Item "Line Top|T" "inset-modify tabular toggle-line-top"
123                 Item "Line Bottom|B" "inset-modify tabular toggle-line-bottom"
124                 Item "Line Left|L" "inset-modify tabular toggle-line-left"
125                 Item "Line Right|R" "inset-modify tabular toggle-line-right"
126                 Separator
127                 Submenu "Alignment|i" "edit_align"
128                 Separator
129                 Item "Add Row|A" "inset-modify tabular append-row"
130                 Item "Delete Row|w" "inset-modify tabular delete-row"
131                 Item "Copy Row" "inset-modify tabular copy-row"
132                 Item "Swap Rows" "inset-modify tabular swap-row"
133                 Separator
134                 Item "Add Column|u" "inset-modify tabular append-column"
135                 Item "Delete Column|D" "inset-modify tabular delete-column"
136                 Item "Copy Column" "inset-modify tabular copy-column"
137                 Item "Swap Columns" "inset-modify tabular swap-column"
138         End
139
140         Menu "edit_align"
141                 Item "Left|L" "inset-modify tabular align-left"
142                 Item "Center|C" "inset-modify tabular align-center"
143                 Item "Right|R" "inset-modify tabular align-right"
144                 Separator
145                 Item "Top|T" "inset-modify tabular valign-top"
146                 Item "Middle|M" "inset-modify tabular valign-middle"
147                 Item "Bottom|B" "inset-modify tabular valign-bottom"
148         End
149
150         Menu "edit_math"
151 #       Item "Make eqnarray|e" "break-line e"
152 #       Item "Make multline|m" "break-line m"
153 #       Item "Make align 1 column|1"  "break-line 1"
154 #       Item "Make align 2 columns|2"  "break-line 2"
155 #       Item "Make align 3 columns|3"  "break-line 3"
156 #       Item "Make alignat 2 columns|2"  "break-line B"
157 #       Item "Make alignat 3 columns|3"  "break-line C"
158 #       Separator
159                 Item "Toggle Numbering|N" "math-number-toggle"
160                 Item "Toggle Numbering of Line|u" "math-number-line-toggle"
161 #       Item "Toggle limits|l" "math-limits"
162                 Submenu "Change Limits Type|L" "edit_math_limits"
163                 Separator
164                 Submenu "Change Formula Type|F" "edit_math_mutate"
165                 Separator
166                 Submenu "Use Computer Algebra System|S" "edit_math_extern"
167                 Separator
168                 Submenu "Alignment|A" "edit_align"
169                 Separator
170                 Item "Add Row|R" "inset-modify tabular append-row"
171                 Item "Delete Row|D" "inset-modify tabular delete-row"
172                 Item "Copy Row" "inset-modify tabular copy-row"
173                 Item "Swap Rows" "inset-modify tabular swap-row"
174                 Separator
175                 Item "Add Column|C" "inset-modify tabular append-column"
176                 Item "Delete Column|e" "inset-modify tabular delete-column"
177                 Item "Copy Column" "inset-modify tabular copy-column"
178                 Item "Swap Columns" "inset-modify tabular swap-column"
179         End
180
181         Menu "edit_math_limits"
182                  Item "Default|t"  "math-limits empty"
183                  Item "Display|D"  "math-limits limits"
184                  Item "Inline|I"  "math-limits nolimits"
185         End
186
187         Menu "edit_math_extern"
188                 Item "Octave" "math-extern octave"
189                 Item "Maxima" "math-extern maxima"
190                 Item "Mathematica" "math-extern mathematica"
191                 Separator
192                 Item "Maple, simplify" "math-extern maple simplify"
193                 Item "Maple, factor" "math-extern maple factor"
194                 Item "Maple, evalm" "math-extern maple evalm"
195                 Item "Maple, evalf" "math-extern maple evalf"
196         End
197
198         Menu "edit_math_mutate"
199                 Item "Inline Formula|I" "math-mutate simple"
200                 Item "Displayed Formula|D" "math-mutate equation"
201                 Item "Eqnarray Environment|q" "math-mutate eqnarray"
202                 Item "Align Environment|A" "math-mutate align"
203                 Item "AlignAt Environment" "math-mutate alignat"
204                 Item "Flalign Environment|F" "math-mutate flalign"
205                 #Item "XAlignAt Environment" "math-mutate xalignat"
206                 #Item "XXAlignAt Environment" "math-mutate xxalignat"
207                 Item "Gather Environment" "math-mutate gather"
208                 Item "Multline Environment" "math-mutate multline"
209         End
210 #
211 # INSERT MENU
212 #
213         Menu "insert"
214             Submenu "Math|h" "insert_math"
215                 Separator
216                 Submenu "Special Character|S" "insert_special"
217                 Item "Citation...|C" "dialog-show-new-inset citation"
218                 Item "Cross-reference...|r" "dialog-show-new-inset ref"
219                 Item "Label...|L" "label-insert"
220                 Item "Footnote|F" "footnote-insert"
221                 Item "Marginal Note|M" "marginalnote-insert"
222                 Item "Short Title" "optional-insert"
223                 Item "Index Entry|I" "index-insert"
224                 Item "Nomenclature Entry" "nomencl-insert"
225                 Item "URL...|U" "url-insert"
226                 Item "Note|N" "note-insert"
227                 Submenu "Lists & TOC|O" "insert_toc"
228                 Separator
229                 Item "TeX Code|T" "ert-insert"
230                 Item "Minipage|p" "box-insert Frameless"
231                 Item "Graphics...|G" "dialog-show-new-inset graphics"
232                 Item "Tabular Material...|b" "tabular-insert"
233                 Submenu "Floats|a" "insert_floats"
234                 Separator
235                 Item "Include File...|d" "dialog-show-new-inset include"
236                 Submenu "Insert File|e" "insert_file"
237                 Item "External Material...|x" "dialog-show-new-inset external"
238         End
239
240         Menu "insert_special"
241                 Item "Symbols...|b" "dialog-show symbols"
242                 Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;"
243                 Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;"
244                 Item "Hyphenation Point|P" "hyphenation-point-insert"
245                 Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
246                 Item "Ligature Break|k" "specialchar-insert ligature-break"
247                 Item "Protected Space|r" "space-insert protected"
248                 Item "Interword Space|w" "space-insert normal"
249                 Item "Thin Space|T" "space-insert thin"
250                 Item "Horizontal Space...|o" "dialog-show-new-inset space"
251                 Item "Vertical Space..." "dialog-show-new-inset vspace"
252                 Item "Line Break|L" "break-line"
253                 Item "Ellipsis|i" "specialchar-insert dots"
254                 Item "End of Sentence|E" "specialchar-insert end-of-sentence"
255                 Item "Protected Dash|D" "specialchar-insert nobreakdash"
256                 Item "Breakable Slash|a" "specialchar-insert slash"
257                 Item "Single Quote|Q" "quote-insert single"
258                 Item "Ordinary Quote|O" "self-insert \""
259                 Item "Menu Separator|M" "specialchar-insert menu-separator"
260                 Item "Horizontal Line" "line-insert"
261                 Item "Page Break" "pagebreak-insert"
262         End
263
264         Menu "insert_math"
265                 Item "Inline Formula|I" "math-mode on"
266                 Item "Display Formula|D" "math-display"
267                 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
268                 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
269                 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
270                 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
271                 #Item "AMS xalignat Environment|x" "command-sequence math-mode on; math-mutate xalignat;"
272                 #Item "AMS xxalignat Environment" "command-sequence math-mode on; math-mutate xxalignat;"
273                 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
274                 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
275         Separator
276                 Item "Array Environment|y" "math-matrix 2 2"
277                 Item "Cases Environment|C" "math-insert \cases"
278                 Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular append-column"
279         Separator
280                 Submenu "Font Change|o" "insert_math_font"
281         End
282
283         Menu "insert_math_font"
284                 Item "Math Normal Font" "math-insert \mathnormal"
285                 Separator
286                 Item "Math Calligraphic Family" "math-insert \mathcal"
287                 Item "Math Fraktur Family" "math-insert \mathfrak"
288                 Item "Math Roman Family" "math-insert \mathrm"
289                 Item "Math Sans Serif Family" "math-insert \mathsf"
290                 Separator
291                 Item "Math Bold Series" "math-insert \mathbf"
292                 Separator
293                 Item "Text Normal Font" "math-insert \textnormal"
294                 Separator
295                 Item "Text Roman Family" "math-insert \textrm"
296                 Item "Text Sans Serif Family" "math-insert \textsf"
297                 Item "Text Typewriter Family" "math-insert \texttt"
298                 Separator
299                 Item "Text Bold Series" "math-insert \textbf"
300                 Item "Text Medium Series" "math-insert \textmd"
301                 Separator
302                 Item "Text Italic Shape" "math-insert \textit"
303                 Item "Text Small Caps Shape" "math-insert \textsc"
304                 Item "Text Slanted Shape" "math-insert \textsl"
305                 Item "Text Upright Shape" "math-insert \textup"
306         End
307
308         Menu "insert_floats"
309                 FloatInsert
310                 Item "Floatflt Figure" "wrap-insert figure"
311         End
312
313         Menu "insert_toc"
314                 Item "Table of Contents|C" "toc-insert"
315                 FloatListInsert
316                 Item "Index List|I" "index-print"
317                 Item "Nomenclature|N" "nomencl-print"
318                 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
319         End
320
321         Menu "insert_file"
322                 Item "LyX Document...|X" "file-insert"
323                 Item "Plain Text...|T" "file-insert-plaintext"
324                 Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
325         End
326
327         Menu "edit_change"
328                 Item "Track Changes|T" "changes-track"
329                 Item "Merge Changes...|M" "changes-merge"
330                 Item "Accept All Changes|A" "all-changes-accept"
331                 Item "Reject All Changes|R" "all-changes-reject"
332                 Item "Show Changes in Output|S" "changes-output"
333
334         End
335 #
336 # LAYOUT MENU
337 #
338         Menu "layout"
339                 Item "Character...|C" "dialog-show character"
340                 Item "Paragraph...|P" "layout-paragraph"
341                 Item "Document...|D" "dialog-show document"
342                 OptItem "Tabular...|T" "layout-tabular"
343                 Separator
344                 Item "Emphasize Style|E" "font-emph"
345                 Item "Noun Style|N" "font-noun"
346                 Item "Bold Style|B" "font-bold"
347 #       Item "TeX Style|X" "tex-mode"
348                 Separator
349                 Item "Decrease Environment Depth|v" "depth-decrement"
350                 Item "Increase Environment Depth|i" "depth-increment"
351                 Item "Start Appendix Here|S" "appendix"
352         End
353
354
355 #
356 # VIEW MENU
357 #
358         Menu "view"
359                 ViewFormats
360                 OptItem "Build Program|B" "build-program"
361                 Submenu "Update|U" "update"
362                 Separator
363                 Item "LaTeX Log|L" "dialog-show latexlog"
364                 Item "Outline|O" "dialog-toggle toc"
365                 Item "TeX Information|X" "dialog-show texinfo"
366         End
367
368         Menu "update"
369                 UpdateFormats
370         End
371
372 #
373 # NAVIGATE MENU
374 #
375         Menu "navigate"
376                 Toc
377                 Separator
378                 Item "Next Note|N" "note-next"
379                 Item "Go to Label|L" "label-goto"
380                 Submenu "Bookmarks|B" "navigate_bookmarks"
381         End
382
383         Menu "navigate_bookmarks"
384                 Item "Save Bookmark 1|S" "bookmark-save 1"
385                 Item "Save Bookmark 2" "bookmark-save 2"
386                 Item "Save Bookmark 3" "bookmark-save 3"
387                 Item "Save Bookmark 4" "bookmark-save 4"
388                 Item "Save Bookmark 5" "bookmark-save 5"
389                 Separator
390                 Item "Go to Bookmark 1|1" "bookmark-goto 1"
391                 Item "Go to Bookmark 2|2" "bookmark-goto 2"
392                 Item "Go to Bookmark 3|3" "bookmark-goto 3"
393                 Item "Go to Bookmark 4|4" "bookmark-goto 4"
394                 Item "Go to Bookmark 5|5" "bookmark-goto 5"
395         End
396
397 #
398 # DOCUMENTS MENU
399 #
400
401         Menu "documents"
402                 Documents
403         End
404
405 #
406 # HELP MENU
407 #
408         Menu "help"
409                 Item "Introduction|I" "help-open Intro"
410                 Item "Tutorial|T" "help-open Tutorial"
411                 Item "User's Guide|U" "help-open UserGuide"
412                 Item "Extended Features|E" "help-open Extended"
413                 Item "Embedded Objects|m" "help-open EmbeddedObjects" 
414                 Item "Customization|C" "help-open Customization"
415                 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
416                 Separator
417                 Item "About LyX|X" "dialog-show aboutlyx"
418         End
419
420 #
421 #  LYX MENU - this menu is only used by LyX/Mac
422 #
423
424         Menu "LyX"
425                 Item "About LyX" "dialog-show aboutlyx"
426                 Item "Preferences..." "dialog-show prefs"
427                 Item "Quit LyX" "lyx-quit"
428         End
429
430 End
431
432 # Which toolbars to use.
433
434 include "stdtoolbars.inc"
435
436 # The second parameter are the flags :
437 #
438 # on: the toolbar is visible
439 # off: the toolbar is not visible
440 # math: the toolbar is visible only when in math
441 # table: the toolbar is visible only when in a table
442 # top: the toolbar should be at the top of the window
443 # bottom: the toolbar should be at the bottom of the window
444 # left: the toolbar should be at the left of the window
445 # right: the toolbar should be at the right of the window
446 #
447 Toolbars
448         "standard" "on,top"
449         "extra" "on,top"
450         "table" "off,bottom"
451         "math" "off,bottom"
452         "minibuffer" "off,bottom"
453 End