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