]> git.lyx.org Git - lyx.git/blob - lib/ui/stdmenus.ui
convert symbols file to UTF8
[lyx.git] / lib / ui / stdmenus.ui
1 # -*- text -*-
2
3 # file stdmenus.ui
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
6
7 # author Jean-Marc Lasgouttes
8 # author John Levon
9 # author Michael Gerz
10
11 # Full author contact details are available in file CREDITS.
12
13 # The interface is designed (partially) following the KDE Human Interface
14 # Guidelines (http://usability.kde.org/hig/)
15
16 Menuset
17
18         Menubar
19 # Make the first 4 menus be as much as expected as possible
20                 Submenu "File|F" "file"
21                 Submenu "Edit|E" "edit"
22                 Submenu "View|V" "view"
23                 Submenu "Insert|I" "insert"
24                 Submenu "Navigate|N" "navigate"
25                 Submenu "Document|D" "document"
26                 Submenu "Tools|T" "tools"
27                 Submenu "Help|H" "help"
28         End
29
30 #
31 # FILE MENU
32 #
33
34         Menu "file"
35                 Item "New Window|W" "window-new"
36                 Item "New|N" "buffer-new"
37                 Item "New from Template...|m" "buffer-new-template"
38                 Item "Open...|O" "file-open"
39                 Submenu "Open recent|t" "file_lastfiles"
40                 Separator
41                 Item "Close|C" "buffer-close"
42                 Item "Save|S" "buffer-write"
43                 Item "Save As...|A" "buffer-write-as"
44                 Item "Revert|R" "buffer-reload"
45                 Submenu "Version Control|V" "file_vc"
46                 Separator
47                 Submenu "Import|I" "file_import"
48                 Submenu "Export|E" "file_export"
49                 Item "Print...|P" "dialog-show print"
50                 OptItem "Fax...|F" "buffer-export fax"
51                 Separator
52                 Item "Exit|x" "lyx-quit"
53         End
54
55         Menu "file_lastfiles"
56                 Lastfiles
57         End
58
59         Menu "file_vc"
60                 OptItem "Register...|R" "vc-register"
61                 OptItem "Check In Changes...|I" "vc-check-in"
62                 OptItem "Check Out for Edit|O" "vc-check-out"
63                 OptItem "Revert to Last Version|L" "vc-revert"
64                 OptItem "Undo Last Check In|U" "vc-undo-last"
65                 OptItem "Show History|H" "dialog-show vclog"
66         End
67
68         Menu "file_import"
69                 ImportFormats
70         End
71
72         Menu "file_export"
73                 ExportFormats
74                 Item "Custom...|C" "buffer-export custom"
75         End
76
77 #
78 # EDIT MENU
79 #
80
81         Menu "edit"
82                 Item "Undo|U" "undo"
83                 Item "Redo|R" "redo"
84                 Separator
85                 Item "Cut" "cut"
86                 Item "Copy" "copy"
87                 Item "Paste" "paste"
88                 Submenu "Paste Recent" "edit_pasterecent"
89                 Submenu "Paste External Clipboard/Selection" "edit_paste"
90                 Separator
91                 Item "Find & Replace...|F" "dialog-show findreplace"
92                 Separator
93                 Item "Move Paragraph Up|o" "paragraph-move-up"
94                 Item "Move Paragraph Down|v" "paragraph-move-down"
95                 Separator
96                 Submenu "Text Style|S" "edit_textstyles"
97                 Item "Paragraph Settings...|P" "layout-paragraph"
98                 Separator
99 # Mathed b0rkage means these don't work properly
100                 OptSubmenu "Table|T" "edit_tabular"
101                 OptSubmenu "Math|M" "edit_math"
102                 OptSubmenu "Rows & Columns|C" "edit_tabular_features"
103                 Separator
104                 OptItem "Increase List Depth|I" "depth-increment"
105                 OptItem "Decrease List Depth|D" "depth-decrement"
106                 OptItem "Dissolve Inset|s" "inset-dissolve"
107 # This is where the context-specific stuff is supposed to go.
108 # The idea is that everything on here can disappear and should
109 # only appear when relevant (getStatus). Only stuff that needs
110 # a right-click to bring up the dialog should appear here (it is not
111 # obvious what the context is for the others)
112                 OptItem "TeX Code Settings...|C" "inset-settings ert"
113 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
114                 OptItem "Float Settings...|a" "inset-settings float"
115                 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
116                 OptItem "Note Settings...|N" "inset-settings note"
117                 OptItem "Branch Settings...|B" "inset-settings branch"
118                 OptItem "Box Settings...|x" "inset-settings box"
119 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
120 # This is in the Table submenu instead for now.
121 #       OptItem "Table Settings...|a" "inset-settings tabular"
122                 OptItem "Table Settings...|a" "layout-tabular"
123         End
124
125         Menu "edit_paste"
126                 Item "Clipboard as Lines|C" "clipboard-paste"
127                 Item "Clipboard as Paragraphs|a" "clipboard-paste paragraph"
128                 Item "Selection as Lines|L" "primary-selection-paste"
129                 Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
130         End
131
132         Menu "edit_pasterecent"
133                 PasteRecent
134         End
135
136         Menu "edit_textstyles"
137                 CharStyles
138                 Separator
139                 Item "Customized...|C" "dialog-show character"
140                 Separator
141                 Item "Capitalize|a" "word-capitalize"
142                 Item "Uppercase|U" "word-upcase"
143                 Item "Lowercase|L" "word-lowcase"
144         End
145
146 # not much we can do to help here
147         Menu "edit_tabular"
148                 Item "Multicolumn|M" "tabular-feature multicolumn"
149                 Separator
150                 Item "Top Line|T" "tabular-feature toggle-line-top"
151                 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
152                 Item "Left Line|L" "tabular-feature toggle-line-left"
153                 Item "Right Line|R" "tabular-feature toggle-line-right"
154                 Separator
155         End
156
157         Menu "edit_tabular_features"
158                 Item "Left|L" "tabular-feature align-left"
159                 Item "Center|C" "tabular-feature align-center"
160                 Item "Right|R" "tabular-feature align-right"
161                 Separator
162                 Item "Top|T" "tabular-feature valign-top"
163                 Item "Middle|M" "tabular-feature valign-middle"
164                 Item "Bottom|B" "tabular-feature valign-bottom"
165                 Separator
166                 Item "Add Row" "tabular-feature append-row"
167                 Item "Delete Row" "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" "tabular-feature append-column"
172                 Item "Delete Column" "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"
178                 Item "Toggle Numbering|N" "math-number"
179                 Item "Toggle Numbering of Line|u" "math-nonumber"
180                 Submenu "Change Limits Type|L" "edit_math_limits"
181                 Separator
182                 Submenu "Change Formula Type|F" "edit_math_mutate"
183                 Separator
184                 Submenu "Text Style|T" "edit_math_textstyles"
185                 Separator
186                 Submenu "Use Computer Algebra System|S" "edit_math_extern"
187                 Separator
188                 Item "Split Cell|C" "cell-split"
189                 Separator
190                 Item "Add Line Above" "tabular-feature add-hline-above"
191                 Item "Add Line Below" "tabular-feature add-hline-below"
192                 Item "Delete Line Above" "tabular-feature delete-hline-above"
193                 Item "Delete Line Below" "tabular-feature delete-hline-below"
194                 Separator
195                 Item "Add Line to Left" "tabular-feature add-vline-left"
196                 Item "Add Line to Right" "tabular-feature add-vline-right"
197                 Item "Delete Line to Left" "tabular-feature delete-vline-left"
198                 Item "Delete Line to Right" "tabular-feature delete-vline-right"
199         End
200
201         Menu "edit_math_limits"
202                  Item "Default|t"  "math-limits empty"
203                  Item "Display|D"  "math-limits limits"
204                  Item "Inline|I"  "math-limits nolimits"
205         End
206
207         Menu "edit_math_textstyles"
208                 Item "Math Normal Font" "math-insert \mathnormal"
209                 Separator
210                 Item "Math Calligraphic Family" "math-insert \mathcal"
211                 Item "Math Fraktur Family" "math-insert \mathfrak"
212                 Item "Math Roman Family" "math-insert \mathrm"
213                 Item "Math Sans Serif Family" "math-insert \mathsf"
214                 Separator
215                 Item "Math Bold Series" "math-insert \mathbf"
216                 Separator
217                 Item "Text Normal Font" "math-insert \textnormal"
218                 Separator
219                 Item "Text Roman Family" "math-insert \textrm"
220                 Item "Text Sans Serif Family" "math-insert \textsf"
221                 Item "Text Typewriter Family" "math-insert \texttt"
222                 Separator
223                 Item "Text Bold Series" "math-insert \textbf"
224                 Item "Text Medium Series" "math-insert \textmd"
225                 Separator
226                 Item "Text Italic Shape" "math-insert \textit"
227                 Item "Text Small Caps Shape" "math-insert \textsc"
228                 Item "Text Slanted Shape" "math-insert \textsl"
229                 Item "Text Upright Shape" "math-insert \textup"
230         End
231
232         Menu "edit_math_extern"
233                 Item "Octave" "math-extern octave"
234                 Item "Maxima" "math-extern maxima"
235                 Item "Mathematica" "math-extern mathematica"
236                 Separator
237                 Item "Maple, simplify" "math-extern maple simplify"
238                 Item "Maple, factor" "math-extern maple factor"
239                 Item "Maple, evalm" "math-extern maple evalm"
240                 Item "Maple, evalf" "math-extern maple evalf"
241         End
242
243         Menu "edit_math_mutate"
244                 Item "Inline Formula|I" "math-mutate simple"
245                 Item "Displayed Formula|D" "math-mutate equation"
246                 Item "Eqnarray Environment|q" "math-mutate eqnarray"
247                 Item "AMS align Environment|a" "math-mutate align"
248                 Item "AMS alignat Environment|t" "math-mutate alignat"
249                 Item "AMS flalign Environment|f" "math-mutate flalign"
250                 Item "AMS gather Environment|g" "math-mutate gather"
251                 Item "AMS multline Environment|m" "math-mutate multline"
252         End
253
254 #
255 # VIEW MENU
256 #
257
258         Menu "view"
259                 Item "Open All Insets|O" "all-insets-toggle open"
260                 Item "Close All Insets|C" "all-insets-toggle close"
261                 Separator
262                 Item "View source|s" "dialog-show view-source"
263                 Submenu "Update|U" "view_update"
264                 ViewFormats
265                 Separator
266             Documents
267         End
268
269         Menu "view_update"
270                 UpdateFormats
271         End
272
273 #
274 # INSERT MENU
275 #
276         Menu "insert"
277 # Try and group things a little better, and percolate the most
278 # commonly used to good positions (exception being mathed, but
279 # most people using mathed learn key shortcuts quite quickly anyway)
280                 Submenu "Math|h" "insert_math"
281                 Submenu "Special Character|S" "insert_special"
282                 Submenu "Special Formatting|o" "insert_formatting"
283                 Submenu "List / TOC|i" "insert_toc"
284                 Submenu "Float|a" "insert_float"
285 # YUCK
286                 Submenu "Note|N" "insert_note"
287                 OptSubmenu "Branch|B" "insert_branches"
288                 Submenu "File|e" "insert_file"
289                 Item "Box" "box-insert Frameless"
290                 Separator
291                 Item "Citation...|C" "dialog-show-new-inset citation"
292                 Item "Cross-reference...|r" "dialog-show-new-inset ref"
293                 Item "Label...|L" "label-insert"
294                 Item "Index Entry|d" "index-insert"
295                 Item "Date" "date-insert"
296 # I'm going to kill this dumb dialog, but for now ...
297                 Separator
298                 Item "Table...|T" "tabular-insert"
299                 Item "Graphics...|G" "dialog-show-new-inset graphics"
300                 Item "URL...|U" "url-insert"
301                 Item "Footnote|F" "footnote-insert"
302                 Item "Marginal Note|M" "marginalnote-insert"
303                 Item "Short Title" "optional-insert"
304                 Item "TeX Code|X" "ert-insert"
305         End
306
307         Menu "insert_special"
308                 Item "Ellipsis|i" "dots-insert"
309                 Item "End of Sentence|E" "end-of-sentence-period-insert"
310                 Item "Ordinary Quote|Q" "self-insert \""
311                 Item "Single Quote|S" "quote-insert single"
312                 Item "Menu Separator|M" "menu-separator-insert"
313                 Item "Phonetic Symbols|y" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
314         End
315
316         Menu "insert_formatting"
317                 Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;"
318                 Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;"
319                 Separator
320                 Item "Protected Space|r" "space-insert protected"
321                 Item "Inter-word Space|w" "space-insert normal"
322                 Item "Thin Space|T" "space-insert thin"
323                 Item "Horizontal Fill|H" "hfill-insert"
324                 Item "Horizontal Line" "line-insert"
325                 Item "Vertical Space..." "dialog-show-new-inset vspace"
326                 Separator
327                 Item "Hyphenation Point|P" "hyphenation-point-insert"
328                 Item "Ligature Break|k" "ligature-break-insert"
329                 Item "Line Break|L" "break-line"
330                 Item "Page Break" "pagebreak-insert"
331         End
332
333         Menu "insert_math"
334                 Item "Inline Formula|I" "math-mode on"
335                 Item "Display Formula|D" "math-display"
336                 Item "Numbered Formula|N" "command-sequence math-display; math-number;"
337                 Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
338                 Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
339                 Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
340                 Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
341                 Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
342                 Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
343                 Separator
344                 Item "Array Environment|y" "math-matrix 2 2"
345                 Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"
346                 Item "Aligned Environment" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"
347                 Item "AlignedAt Environment" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"
348                 Item "Gathered Environment" "command-sequence math-mode on; math-insert \gathered"
349                 Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"
350                 Separator
351                 Item "Math Panel|P" "dialog-show mathpanel"
352         End
353
354         Menu "insert_float"
355                 FloatInsert
356 # This has got to be better than "Wrap", anyway
357                 Item "Text Wrap Float|W" "wrap-insert figure"
358         End
359
360         Menu "insert_toc"
361                 Item "Table of Contents|C" "toc-insert"
362                 FloatListInsert
363                 Item "Index List|I" "index-print"
364                 Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
365         End
366
367         Menu "insert_file"
368                 Item "LyX Document...|X" "file-insert"
369                 Item "Plain Text as Lines...|L" "file-insert-ascii"
370                 Item "Plain Text as Paragraphs...|P" "file-insert-ascii-para"
371                 Separator
372                 Item "External Material...|M" "dialog-show-new-inset external"
373                 Item "Child Document...|d" "dialog-show-new-inset include"
374         End
375
376         Menu "insert_note"
377                 Item "LyX Note|N" "note-insert Note"
378                 Item "Comment|C" "note-insert Comment"
379                 Item "Greyed Out|G" "note-insert Greyedout"
380         End
381
382         Menu "insert_branches"
383                 Branches
384         End
385
386 #
387 # DOCUMENT MENU
388 #
389
390         Menu "document"
391                 Submenu "Change Tracking|C" "document_change"
392                 OptItem "Build Program|B" "build-program"
393                 Item "LaTeX Log|L" "dialog-show latexlog"
394                 Item "Table of Contents|T" "toc-view"
395                 Item "Start Appendix Here|A" "appendix"
396                 Separator
397                 Item "Compressed|o" "buffer-toggle-compression"
398                 Item "Settings...|S" "dialog-show document"
399         End
400
401         Menu "document_change"
402                 Item "Track Changes|T" "changes-track"
403                 Item "Merge Changes...|M" "changes-merge"
404                 Item "Accept Change|A" "change-accept"
405                 Item "Reject Change|R" "change-reject"
406                 Item "Accept All Changes|c" "all-changes-accept"
407                 Item "Reject All Changes|e" "all-changes-reject"
408                 Item "Show Changes in Output|S" "changes-output"
409         End
410
411 #
412 # NAVIGATE MENU
413 #
414         Menu "navigate"
415                 Submenu "Bookmarks|B" "navigate_bookmarks"
416                 Item "Next Note|N" "note-next"
417                 Item "Next Change|C" "change-next"
418                 Item "Next Reference|R" "reference-next"
419                 Item "Go to Label|L" "label-goto"
420                 Separator
421                 Toc
422         End
423
424         Menu "navigate_bookmarks"
425                 Item "Go to Bookmark 1|1" "bookmark-goto 1"
426                 Item "Go to Bookmark 2|2" "bookmark-goto 2"
427                 Item "Go to Bookmark 3|3" "bookmark-goto 3"
428                 Item "Go to Bookmark 4|4" "bookmark-goto 4"
429                 Item "Go to Bookmark 5|5" "bookmark-goto 5"
430                 Separator
431                 Item "Save Bookmark 1|S" "bookmark-save 1"
432                 Item "Save Bookmark 2" "bookmark-save 2"
433                 Item "Save Bookmark 3" "bookmark-save 3"
434                 Item "Save Bookmark 4" "bookmark-save 4"
435                 Item "Save Bookmark 5" "bookmark-save 5"
436         End
437
438 #
439 # TOOLS MENU
440 #
441
442         Menu "tools"
443                 Item "Spellchecker...|S" "dialog-show spellchecker"
444                 OptItem "Thesaurus...|T" "thesaurus-entry"
445                 Item "Count Words|W" "words-count"
446                 OptItem "Check TeX|h" "buffer-chktex"
447                 Item "TeX Information|I" "dialog-show texinfo"
448                 Separator
449 # A LOT of applications have Tools->Prefs. Remember this
450 # should be rarely used - Edit menu is not a good place to
451 # have it.
452                 Item "Reconfigure|R" "reconfigure"
453                 Item "Preferences...|P" "dialog-show prefs"
454         End
455
456 #
457 # HELP MENU
458 #
459         Menu "help"
460                 Item "Introduction|I" "help-open Intro"
461                 Item "Tutorial|T" "help-open Tutorial"
462                 Item "User's Guide|U" "help-open UserGuide"
463                 Item "Extended Features|E" "help-open Extended"
464                 Item "Customization|C" "help-open Customization"
465                 Item "FAQ|F" "help-open FAQ"
466                 Item "Table of Contents|a" "help-open TOC"
467                 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
468                 Separator
469                 Item "About LyX|X" "dialog-show aboutlyx"
470         End
471
472 #
473 #  LYX MENU - this menu is only used by LyX/Mac
474 #
475
476         Menu "LyX"
477                 Item "About LyX" "dialog-show aboutlyx"
478                 Item "Preferences..." "dialog-show prefs"
479                 Item "Quit LyX" "lyx-quit"
480         End
481
482 End