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