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