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