]> git.lyx.org Git - lyx.git/blob - lib/ui/stdmenus.ui
re-org suggested by Alfredo
[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...|T" "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" "buffer-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" "vc-history"
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                 Item "Find & Replace...|F" "find-replace"
74                 Separator
75                 Item "Text Style...|S" "layout-character"
76                 Item "Paragraph Settings...|P" "layout-paragraph"
77                 Separator
78 # Mathed b0rkage means these don't work properly
79                 OptSubmenu "Table|T" "edit_tabular"
80                 OptSubmenu "Math|M" "edit_math"
81                 Separator
82                 OptItem "Increase List Depth|I" "depth-increment"
83                 OptItem "Decrease List Depth|D" "depth-decrement"
84 # This is where the context-specific stuff is supposed to go.
85 # The idea is that everything on here can disappear and should
86 # only appear when relevant (getStatus). Only stuff that needs
87 # a right-click to bring up the dialog should appear here (it is not
88 # obvious what the context is for the others)
89                 OptItem "TeX Code Settings...|C" "inset-settings ert"
90 # 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
91                 OptItem "Float Settings...|a" "inset-settings float"
92                 OptItem "Minipage Settings...|M" "inset-settings minipage"
93                 OptItem "Text Wrap Settings...|W" "inset-settings wrap"
94 # Hey, guess what's broken ? Surprise surprise, it's tabular stuff
95 # This is in the Table submenu instead for now.
96 #       OptItem "Table Settings...|a" "inset-settings tabular"
97                 OptItem "Table Settings...|a" "layout-tabular"
98         End
99
100 # not much we can do to help here
101         Menu "edit_tabular"
102                 Item "Add Row|A" "tabular-feature append-row"
103                 Item "Delete Row|w" "tabular-feature delete-row"
104                 Separator
105                 Item "Add Column|u" "tabular-feature append-column"
106                 Item "Delete Column|D" "tabular-feature delete-column"
107                 Separator
108                 Item "Multicolumn|M" "tabular-feature multicolumn"
109                 Separator
110                 Item "Top Line|T" "tabular-feature toggle-line-top"
111                 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
112                 Item "Left Line|L" "tabular-feature toggle-line-left"
113                 Item "Right Line|R" "tabular-feature toggle-line-right"
114                 Separator
115                 Item "Left aligned|e" "tabular-feature align-left"
116                 Item "Centered|C" "tabular-feature align-center"
117                 Item "Right aligned|i" "tabular-feature align-right"
118                 Item "Top aligned|o" "tabular-feature valign-top"
119                 Item "Vertically Centered|V" "tabular-feature valign-center"
120                 Item "Bottom aligned|g" "tabular-feature valign-bottom"
121         End
122
123         Menu "edit_math"
124                 Item "Toggle Numbering|N" "math-number"
125                 Item "Toggle Numbering of Line|u" "math-nonumber"
126                 Submenu "Change Limits Type|L" "edit_math_limits"
127                 Separator
128                 Submenu "Change Formula Type|F" "edit_math_mutate"
129                 Separator
130                 Submenu "Use Computer Algebra System|S" "edit_math_extern"
131                 Separator
132                 Submenu "Alignment|A" "edit_math_align"
133                 Separator
134                 Item "Add Row|R" "tabular-feature append-row"
135                 Item "Delete Row|D" "tabular-feature delete-row"
136                 Item "Copy Row" "tabular-feature copy-row"
137                 Item "Swap Rows" "tabular-feature swap-row"
138                 Separator
139                 Item "Add Column|C" "tabular-feature append-column"
140                 Item "Delete Column|e" "tabular-feature delete-column"
141                 Item "Copy Column" "tabular-feature copy-column"
142                 Item "Swap Columns" "tabular-feature swap-column"
143         End
144
145         Menu "edit_math_limits"
146                  Item "Default|t"  "math-limits empty"
147                  Item "Display|D"  "math-limits limits"
148                  Item "Inline|I"  "math-limits nolimits"
149         End
150
151         Menu "edit_math_extern"
152                 Item "Octave" "math-extern octave"
153                 Item "Maxima" "math-extern maxima"
154                 Item "Mathematica" "math-extern mathematica"
155                 Separator
156                 Item "Maple, simplify" "math-extern maple simplify"
157                 Item "Maple, factor" "math-extern maple factor"
158                 Item "Maple, evalm" "math-extern maple evalm"
159                 Item "Maple, evalf" "math-extern maple evalf"
160         End
161
162         Menu "edit_math_mutate"
163                 Item "Inline Formula|I" "math-mutate simple"
164                 Item "Displayed Formula|D" "math-mutate equation"
165                 Item "Eqnarray Environment|q" "math-mutate eqnarray"
166                 Item "Align Environment|A" "math-mutate align"
167                 Item "AlignAt Environment" "math-mutate alignat"
168                 Item "Flalign Environment|f" "math-mutate flalign"
169                 Item "Gather Environment" "math-mutate gather"
170                 Item "Multline Environment" "math-mutate multline"
171         End
172
173         Menu "edit_math_align"
174                 Item "Left-aligned|L" "tabular-feature align-left"
175                 Item "Centered|C" "tabular-feature align-center"
176                 Item "Right-aligned|R" "tabular-feature align-right"
177                 Separator
178                 Item "Top-aligned|T" "tabular-feature valign-top"
179                 Item "Centered Vertically|e" "tabular-feature valign-center"
180                 Item "Bottom-aligned|B" "tabular-feature valign-bottom"
181         End
182
183 #
184 # VIEW MENU
185 #
186
187         Menu "view"
188 # FIXME: this must become Open Footnote, Close Margin Note etc. as appropriate
189 #       Item "Open Float|O" "inset-toggle"
190 # A common feature request JMarc wants to see
191 #       Item "Open All Footnotes|F" "open-footnotes"
192 #       Item "Close All Footnotes|C" "close-footnotes"
193                 Item "Display Tooltips|D" "toggle-tooltips"
194                 Separator
195                 Submenu "Update|U" "document_update"
196                 ViewFormats
197                 Separator
198             Documents
199         End
200  
201         Menu "document_update"
202                 UpdateFormats
203         End
204
205 #
206 # INSERT MENU
207 #
208         Menu "insert"
209 # Try and group things a little better, and percolate the most
210 # commonly used to good positions (exception being mathed, but
211 # most people using mathed learn key shortcuts quite quickly anyway)
212                 Submenu "Math|h" "insert_math"
213                 Submenu "Special Character|S" "insert_special"
214                 Submenu "Float|a" "insert_float"
215                 Submenu "List / TOC|O" "insert_toc"
216 # YUCK
217                 Submenu "File|e" "insert_file"
218                 Separator
219                 Item "Citation Reference...|C" "dialog-show-new-inset citation"
220                 Item "Cross Reference...|R" "dialog-show-new-inset ref"
221                 Item "Label...|L" "label-insert"
222                 Item "Index Entry|I" "index-insert"
223 # I'm going to kill this dumb dialog, but for now ...
224                 Separator
225                 Item "Table...|T" "tabular-insert"
226                 Item "Graphics...|G" "dialog-show-new-inset graphics"
227                 Item "URL...|U" "url-insert"
228                 Item "Footnote|F" "footnote-insert"
229                 Item "Marginal Note|M" "marginalnote-insert"
230                 Item "Note|N" "note-insert"
231                 Item "Minipage|p" "minipage-insert"
232                 Item "Short Title" "optional-insert"
233                 Item "TeX|X" "ert-insert"
234                 Item "External Material...|x" "dialog-show-new-inset external"
235                 Item "Child Document...|d" "dialog-show-new-inset include"
236         End
237
238         Menu "insert_special"
239                 Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free-apply; "
240                 Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free-apply; "
241                 Item "Horizontal Fill|H" "hfill-insert"
242                 Item "Hyphenation Point|P" "hyphenation-point-insert"
243                 Item "Ligature Break|k" "ligature-break-insert"
244                 Item "Protected Space|r" "space-insert protected"
245                 Item "Force normal Space|n" "space-insert normal"
246                 Item "Thin Space|T" "space-insert thin"
247                 Item "Linebreak|L" "break-line"
248                 Item "Ellipsis|i" "dots-insert"
249                 Item "End of Sentence|E" "end-of-sentence-period-insert"
250                 Item "Ordinary Quote|Q" "self-insert \""
251                 Item "Menu Separator|M" "menu-separator-insert"
252         End
253
254         Menu "insert_math"
255                 Item "Inline Formula|I" "math-mode"
256                 Item "Display Formula|D" "math-display"
257                 Item "Eqnarray Environment|E" "command-sequence math-mode; math-mutate eqnarray;"
258                 Item "AMS align Environment|A" "command-sequence math-mode; math-mutate align;"
259                 Item "AMS alignat Environment|t" "command-sequence math-mode; math-mutate alignat;"
260                 Item "AMS flalign Environment|f" "command-sequence math-mode; math-mutate flalign;"
261                 Item "AMS gather Environment" "command-sequence math-mode; math-mutate gather;"
262                 Item "AMS multline Environment" "command-sequence math-mode; math-mutate multline;"
263                 Separator
264                 Item "Array Environment|y" "math-matrix 2 2"
265                 Item "Cases Environment|C" "math-insert \cases"
266                 Separator
267                 Submenu "Font Change|f" "insert_math_font"
268                 Item "Math Panel|l" "math-panel"
269         End
270
271         Menu "insert_math_font"
272                 Item "Math normal font" "math-insert \mathnormal"
273                 Separator
274                 Item "Math calligraphic family" "math-insert \mathcal"
275                 Item "Math fraktur family" "math-insert \mathfrak"
276                 Item "Math roman family" "math-insert \mathrm"
277                 Item "Math sans serif family" "math-insert \mathsf"
278                 Separator
279                 Item "Math bold series" "math-insert \mathbf"
280                 Separator
281                 Item "Text normal font" "math-insert \textnormal"
282                 Separator
283                 Item "Text roman family" "math-insert \textrm"
284                 Item "Text sans serif family" "math-insert \textsf"
285                 Item "Text typewriter family" "math-insert \texttt"
286                 Separator
287                 Item "Text bold series" "math-insert \textbf"
288                 Item "Text medium series" "math-insert \textmd"
289                 Separator
290                 Item "Text italic shape" "math-insert \textit"
291                 Item "Text small caps shape" "math-insert \textsc"
292                 Item "Text slanted shape" "math-insert \textsl"
293                 Item "Text upright shape" "math-insert \textup"
294                         End
295
296         Menu "insert_float"
297                 FloatInsert
298 # This has got to be better than "Wrap", anyway
299                 Item "Text Wrap Float|W" "wrap-insert figure"
300         End
301
302         Menu "insert_toc"
303                 Item "Table of Contents|C" "toc-insert"
304                 FloatListInsert
305                 Item "Index List|I" "index-print"
306                 Item "BibTeX Reference...|B" "dialog-show-new-inset bibtex"
307         End
308
309         Menu "insert_file"
310                 Item "LyX Document...|X" "file-insert"
311                 Item "ASCII as Lines...|L" "file-insert-ascii"
312                 Item "ASCII as Paragraphs...|P" "file-insert-ascii-para"
313         End
314
315 #
316 # DOCUMENT MENU
317 #
318  
319         Menu "document"
320                 Submenu "Change tracking|C" "edit_change"
321                 OptItem "Build Program|B" "build-program"
322                 Item "LaTeX Log File...|L" "latex-view-log"
323                 Item "Table of Contents...|T" "toc-view"
324                 Item "LaTeX Preamble...|P" "layout-preamble"
325                 Item "Start Appendix Here|A" "appendix"
326                 Separator
327                 Item "Settings...|S" "layout-document"
328         End
329  
330         Menu "edit_change"
331                 Item "Track changes|T" "track-changes"
332                 Item "Merge changes...|M" "merge-changes"
333                 Item "Accept all changes|A" "accept-all-changes"
334                 Item "Reject all changes|R" "reject-all-changes"
335         End
336
337 #
338 # NAVIGATE MENU
339 #
340         Menu "navigate"
341                 Submenu "Bookmarks|B" "navigate_bookmarks"
342                 Item "Note|N" "note-next"
343                 Item "Refs|R" "reference-goto"
344                 Separator
345                 Toc
346         End
347
348         Menu "navigate_bookmarks"
349                 Item "Save Bookmark 1|S" "bookmark-save 1"
350                 Item "Save Bookmark 2" "bookmark-save 2"
351                 Item "Save Bookmark 3" "bookmark-save 3"
352                 Separator
353                 Item "Go to Bookmark 1|1" "bookmark-goto 1"
354                 Item "Go to Bookmark 2|2" "bookmark-goto 2"
355                 Item "Go to Bookmark 3|3" "bookmark-goto 3"
356         End
357
358 #
359 # TOOLS MENU
360 #
361  
362         Menu "tools"
363                 Item "Spellchecker...|S" "spellchecker"
364                 OptItem "Thesaurus...|T" "thesaurus-entry"
365                 OptItem "Check TeX|h" "buffer-chktex"
366                 Item "View Child Processes...|C" "show-forks"
367                 Item "TeX Information...|I" "help-Texinfo"
368                 Separator
369 # A LOT of applications have Tools->Prefs. Remember this
370 # should be rarely used - Edit menu is not a good place to
371 # have it.
372                 Item "Reconfigure|R" "reconfigure"
373                 Item "Preferences...|P" "dialog-preferences"
374         End
375  
376 #
377 # HELP MENU
378 #
379         Menu "help"
380                 Item "Introduction|I" "help-open Intro"
381                 Item "Tutorial|T" "help-open Tutorial"
382                 Item "User's Guide|U" "help-open UserGuide"
383                 Item "Extended Features|E" "help-open Extended"
384                 Item "Customization|C" "help-open Customization"
385                 Item "FAQ|F" "help-open FAQ"
386                 Item "Table of Contents|a" "help-open TOC"
387                 Item "LaTeX Configuration|L" "help-open LaTeXConfig"
388                 Separator
389                 Item "About LyX...|X" "help-aboutlyx"
390         End
391
392 End