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