# author Jean-Marc Lasgouttes
# author John Levon
+# author Michael Gerz
# Full author contact details are available in file CREDITS.
Item "New|N" "buffer-new"
Item "New from Template...|m" "buffer-new-template"
Item "Open...|O" "file-open"
-# This seems a much more sensible place to me
- Submenu "Open recent|t" "lastfiles"
+ Submenu "Open Recent|t" "file_lastfiles"
Separator
Item "Close|C" "buffer-close"
Item "Save|S" "buffer-write"
Item "Print...|P" "dialog-show print"
OptItem "Fax...|F" "buffer-export fax"
Separator
+ Item "New Window|W" "window-new"
+ Item "Close Window|d" "window-close"
+ Separator
Item "Exit|x" "lyx-quit"
End
- Menu "lastfiles"
+ Menu "file_lastfiles"
Lastfiles
End
Item "Cut" "cut"
Item "Copy" "copy"
Item "Paste" "paste"
- Submenu "Paste Recent" "pasterecent"
- Submenu "Paste External Selection" "edit_paste"
+ Submenu "Paste Recent|e" "edit_pasterecent"
+ Submenu "Paste External Clipboard/Selection" "edit_paste"
Separator
Item "Find & Replace...|F" "dialog-show findreplace"
Separator
- Item "Text Style...|S" "dialog-show character"
+ Item "Move Paragraph Up|o" "paragraph-move-up"
+ Item "Move Paragraph Down|v" "paragraph-move-down"
+ Separator
+ Submenu "Text Style|S" "edit_textstyles"
Item "Paragraph Settings...|P" "layout-paragraph"
Separator
# Mathed b0rkage means these don't work properly
OptSubmenu "Table|T" "edit_tabular"
OptSubmenu "Math|M" "edit_math"
- OptSubmenu "Rows & Cols|C" "tabular_features"
+ OptSubmenu "Rows & Columns|C" "edit_tabular_features"
Separator
- OptItem "Increase List Depth|I" "depth-increment"
- OptItem "Decrease List Depth|D" "depth-decrement"
# This is where the context-specific stuff is supposed to go.
# The idea is that everything on here can disappear and should
# only appear when relevant (getStatus). Only stuff that needs
# a right-click to bring up the dialog should appear here (it is not
# obvious what the context is for the others)
+ OptItem "Increase List Depth|I" "depth-increment"
+ OptItem "Decrease List Depth|D" "depth-decrement"
+ OptItem "Dissolve Inset|l" "inset-dissolve"
OptItem "TeX Code Settings...|C" "inset-settings ert"
# 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
OptItem "Float Settings...|a" "inset-settings float"
End
Menu "edit_paste"
+ Item "Clipboard as Lines|C" "clipboard-paste"
+ Item "Clipboard as Paragraphs|a" "clipboard-paste paragraph"
Item "Selection as Lines|L" "primary-selection-paste"
Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
End
- Menu "pasterecent"
+ Menu "edit_pasterecent"
PasteRecent
End
+ Menu "edit_textstyles"
+ CharStyles
+ Separator
+ Item "Customized...|C" "dialog-show character"
+ Separator
+ Item "Capitalize|a" "word-capitalize"
+ Item "Uppercase|U" "word-upcase"
+ Item "Lowercase|L" "word-lowcase"
+ End
+
# not much we can do to help here
Menu "edit_tabular"
Item "Multicolumn|M" "tabular-feature multicolumn"
Separator
End
- Menu "tabular_features"
+ Menu "edit_tabular_features"
Item "Left|L" "tabular-feature align-left"
Item "Center|C" "tabular-feature align-center"
Item "Right|R" "tabular-feature align-right"
Item "Middle|M" "tabular-feature valign-middle"
Item "Bottom|B" "tabular-feature valign-bottom"
Separator
- Item "Add Row" "tabular-feature append-row"
- Item "Delete Row" "tabular-feature delete-row"
- Item "Copy Row" "tabular-feature copy-row"
- Item "Swap Rows" "tabular-feature swap-row"
+ Item "Add Row|A" "tabular-feature append-row"
+ Item "Delete Row|D" "tabular-feature delete-row"
+ Item "Copy Row|o" "tabular-feature copy-row"
+ Item "Swap Rows|S" "tabular-feature swap-row"
Separator
- Item "Add Column" "tabular-feature append-column"
- Item "Delete Column" "tabular-feature delete-column"
- Item "Copy Column" "tabular-feature copy-column"
- Item "Swap Columns" "tabular-feature swap-column"
+ Item "Add Column|u" "tabular-feature append-column"
+ Item "Delete Column|e" "tabular-feature delete-column"
+ Item "Copy Column|p" "tabular-feature copy-column"
+ Item "Swap Columns|w" "tabular-feature swap-column"
End
Menu "edit_math"
Separator
Submenu "Change Formula Type|F" "edit_math_mutate"
Separator
+ Submenu "Text Style|T" "edit_math_textstyles"
+ Separator
Submenu "Use Computer Algebra System|S" "edit_math_extern"
Separator
- Item "Add Line Above" "tabular-feature add-hline-above"
- Item "Add Line Below" "tabular-feature add-hline-below"
- Item "Delete Line Above" "tabular-feature delete-hline-above"
- Item "Delete Line Below" "tabular-feature delete-hline-below"
+ Item "Split Cell|C" "cell-split"
+ Separator
+ Item "Add Line Above|A" "tabular-feature add-hline-above"
+ Item "Add Line Below|B" "tabular-feature add-hline-below"
+ Item "Delete Line Above|D" "tabular-feature delete-hline-above"
+ Item "Delete Line Below|e" "tabular-feature delete-hline-below"
Separator
Item "Add Line to Left" "tabular-feature add-vline-left"
Item "Add Line to Right" "tabular-feature add-vline-right"
Item "Inline|I" "math-limits nolimits"
End
+ Menu "edit_math_textstyles"
+ Item "Math Normal Font|N" "math-insert \mathnormal"
+ Separator
+ Item "Math Calligraphic Family|C" "math-insert \mathcal"
+ Item "Math Fraktur Family|F" "math-insert \mathfrak"
+ Item "Math Roman Family|R" "math-insert \mathrm"
+ Item "Math Sans Serif Family|S" "math-insert \mathsf"
+ Separator
+ Item "Math Bold Series|B" "math-insert \mathbf"
+ Separator
+ Item "Text Normal Font|T" "math-insert \textnormal"
+ Separator
+ Item "Text Roman Family" "math-insert \textrm"
+ Item "Text Sans Serif Family" "math-insert \textsf"
+ Item "Text Typewriter Family" "math-insert \texttt"
+ Separator
+ Item "Text Bold Series" "math-insert \textbf"
+ Item "Text Medium Series" "math-insert \textmd"
+ Separator
+ Item "Text Italic Shape" "math-insert \textit"
+ Item "Text Small Caps Shape" "math-insert \textsc"
+ Item "Text Slanted Shape" "math-insert \textsl"
+ Item "Text Upright Shape" "math-insert \textup"
+ End
+
Menu "edit_math_extern"
- Item "Octave" "math-extern octave"
- Item "Maxima" "math-extern maxima"
- Item "Mathematica" "math-extern mathematica"
+ Item "Octave|O" "math-extern octave"
+ Item "Maxima|M" "math-extern maxima"
+ Item "Mathematica|a" "math-extern mathematica"
Separator
- Item "Maple, simplify" "math-extern maple simplify"
- Item "Maple, factor" "math-extern maple factor"
- Item "Maple, evalm" "math-extern maple evalm"
- Item "Maple, evalf" "math-extern maple evalf"
+ Item "Maple, simplify|s" "math-extern maple simplify"
+ Item "Maple, factor|f" "math-extern maple factor"
+ Item "Maple, evalm|e" "math-extern maple evalm"
+ Item "Maple, evalf|v" "math-extern maple evalf"
End
Menu "edit_math_mutate"
Item "Inline Formula|I" "math-mutate simple"
Item "Displayed Formula|D" "math-mutate equation"
- Item "Eqnarray Environment|q" "math-mutate eqnarray"
+ Item "Eqnarray Environment|E" "math-mutate eqnarray"
Item "AMS align Environment|a" "math-mutate align"
Item "AMS alignat Environment|t" "math-mutate alignat"
Item "AMS flalign Environment|f" "math-mutate flalign"
#
Menu "view"
-# FIXME: this must become Open Footnote, Close Margin Note etc. as appropriate
-# Item "Open Float|O" "inset-toggle"
-# A common feature request JMarc wants to see
-# Item "Open All Footnotes|F" "open-footnotes"
-# Item "Close All Footnotes|C" "close-footnotes"
- Item "Display Tooltips|i" "toggle-tooltips"
- Separator
- Submenu "Update|U" "document_update"
+ Item "Open All Insets|O" "all-insets-toggle open"
+ Item "Close All Insets|C" "all-insets-toggle close"
+ Separator
+ Item "View Source|S" "dialog-show view-source"
+ Submenu "Update|U" "view_update"
ViewFormats
Separator
+ Submenu "Toolbars|b" "toolbars"
+ Separator
Documents
End
- Menu "document_update"
+ Menu "view_update"
UpdateFormats
End
+ Menu "toolbars"
+ Toolbars
+ End
#
# INSERT MENU
#
# commonly used to good positions (exception being mathed, but
# most people using mathed learn key shortcuts quite quickly anyway)
Submenu "Math|h" "insert_math"
- Submenu "Special Character|S" "insert_special"
+ Submenu "Special Character|p" "insert_special"
Submenu "Special Formatting|o" "insert_formatting"
Submenu "List / TOC|i" "insert_toc"
Submenu "Float|a" "insert_float"
-# YUCK
Submenu "Note|N" "insert_note"
- OptSubmenu "Branch|B" "branches"
- OptSubmenu "Character Style|y" "charstyle"
+ OptSubmenu "Branch|B" "insert_branches"
Submenu "File|e" "insert_file"
Item "Box" "box-insert Frameless"
Separator
Item "Citation...|C" "dialog-show-new-inset citation"
- Item "Cross-reference...|r" "dialog-show-new-inset ref"
+ Item "Cross-Reference...|R" "dialog-show-new-inset ref"
Item "Label...|L" "label-insert"
Item "Index Entry|d" "index-insert"
-# I'm going to kill this dumb dialog, but for now ...
+ Item "Glossary Entry|y" "nomencl-insert"
Separator
Item "Table...|T" "tabular-insert"
Item "Graphics...|G" "dialog-show-new-inset graphics"
Item "URL...|U" "url-insert"
Item "Footnote|F" "footnote-insert"
Item "Marginal Note|M" "marginalnote-insert"
- Item "Short Title" "optional-insert"
+ Item "Short Title|S" "optional-insert"
Item "TeX Code|X" "ert-insert"
+ Item "Date" "date-insert"
End
Menu "insert_special"
Item "Ordinary Quote|Q" "self-insert \""
Item "Single Quote|S" "quote-insert single"
Item "Menu Separator|M" "menu-separator-insert"
+ Item "Phonetic Symbols|y" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
End
Menu "insert_formatting"
Item "Superscript|S" "command-sequence math-mode on; math-superscript; math-insert \text;"
Item "Subscript|u" "command-sequence math-mode on; math-subscript; math-insert \text;"
Separator
- Item "Protected Space|r" "space-insert protected"
+ Item "Protected Space|P" "space-insert protected"
Item "Inter-word Space|w" "space-insert normal"
Item "Thin Space|T" "space-insert thin"
- Item "Horizontal Fill|H" "hfill-insert"
- Item "Horizontal Line" "line-insert"
- Item "Vertical Space..." "dialog-show-new-inset vspace"
+ Item "Horizontal Fill|F" "hfill-insert"
+ Item "Horizontal Line|L" "line-insert"
+ Item "Vertical Space...|V" "dialog-show-new-inset vspace"
Separator
- Item "Hyphenation Point|P" "hyphenation-point-insert"
+ Item "Hyphenation Point|H" "hyphenation-point-insert"
Item "Ligature Break|k" "ligature-break-insert"
- Item "Line Break|L" "break-line"
- Item "Page Break" "pagebreak-insert"
+ Item "Line Break|B" "break-line"
+ Item "Page Break|a" "pagebreak-insert"
End
Menu "insert_math"
Item "Inline Formula|I" "math-mode on"
Item "Display Formula|D" "math-display"
+ Item "Numbered Formula|N" "command-sequence math-display; math-number;"
Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
Separator
Item "Array Environment|y" "math-matrix 2 2"
- Item "Cases Environment|C" "math-insert \cases"
- Item "Aligned Environment" "command-sequence math-insert \aligned; tabular-feature append-column"
- Item "AlignedAt Environment" "command-sequence math-insert \alignedat; tabular-feature append-column"
- Item "Gathered Environment" "math-insert \gathered"
- Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
+ Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"
+ Item "Aligned Environment|l" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"
+ Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"
+ Item "Gathered Environment|h" "command-sequence math-mode on; math-insert \gathered"
+ Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"
Separator
- Submenu "Font Change|o" "insert_math_font"
Item "Math Panel|P" "dialog-show mathpanel"
End
- Menu "insert_math_font"
- Item "Math Normal Font" "math-insert \mathnormal"
- Separator
- Item "Math Calligraphic Family" "math-insert \mathcal"
- Item "Math Fraktur Family" "math-insert \mathfrak"
- Item "Math Roman Family" "math-insert \mathrm"
- Item "Math Sans Serif Family" "math-insert \mathsf"
- Separator
- Item "Math Bold Series" "math-insert \mathbf"
- Separator
- Item "Text Normal Font" "math-insert \textnormal"
- Separator
- Item "Text Roman Family" "math-insert \textrm"
- Item "Text Sans Serif Family" "math-insert \textsf"
- Item "Text Typewriter Family" "math-insert \texttt"
- Separator
- Item "Text Bold Series" "math-insert \textbf"
- Item "Text Medium Series" "math-insert \textmd"
- Separator
- Item "Text Italic Shape" "math-insert \textit"
- Item "Text Small Caps Shape" "math-insert \textsc"
- Item "Text Slanted Shape" "math-insert \textsl"
- Item "Text Upright Shape" "math-insert \textup"
- End
-
Menu "insert_float"
FloatInsert
# This has got to be better than "Wrap", anyway
Item "Table of Contents|C" "toc-insert"
FloatListInsert
Item "Index List|I" "index-print"
+ Item "Glossary|G" "nomencl-print"
Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
End
Item "Greyed Out|G" "note-insert Greyedout"
End
- Menu "branches"
+ Menu "insert_branches"
Branches
End
- Menu "charstyle"
- CharStyles
- End
-
#
# DOCUMENT MENU
#
Menu "document"
- Submenu "Change Tracking|C" "edit_change"
+ Submenu "Change Tracking|C" "document_change"
OptItem "Build Program|B" "build-program"
Item "LaTeX Log|L" "dialog-show latexlog"
Item "Table of Contents|T" "toc-view"
- Item "LaTeX Preamble...|P" "dialog-show preamble"
Item "Start Appendix Here|A" "appendix"
Separator
+ Item "Compressed|o" "buffer-toggle-compression"
Item "Settings...|S" "dialog-show document"
End
- Menu "edit_change"
- Item "Track Changes|T" "track-changes"
- Item "Merge Changes...|M" "merge-changes"
- Item "Accept All Changes|A" "accept-all-changes"
- Item "Reject All Changes|R" "reject-all-changes"
- Item "Show Changes in Output|S" "output-changes"
+ Menu "document_change"
+ Item "Track Changes|T" "changes-track"
+ Item "Merge Changes...|M" "changes-merge"
+ Item "Accept Change|A" "change-accept"
+ Item "Reject Change|R" "change-reject"
+ Item "Accept All Changes|c" "all-changes-accept"
+ Item "Reject All Changes|e" "all-changes-reject"
+ Item "Show Changes in Output|S" "changes-output"
End
#
Menu "navigate"
Submenu "Bookmarks|B" "navigate_bookmarks"
Item "Next Note|N" "note-next"
+ Item "Next Change|C" "change-next"
+ Item "Next Cross-Reference|R" "reference-next"
Item "Go to Label|L" "label-goto"
Separator
Toc
End
Menu "navigate_bookmarks"
- Item "Go to Bookmark 1|1" "bookmark-goto 1"
- Item "Go to Bookmark 2|2" "bookmark-goto 2"
- Item "Go to Bookmark 3|3" "bookmark-goto 3"
- Item "Go to Bookmark 4|4" "bookmark-goto 4"
- Item "Go to Bookmark 5|5" "bookmark-goto 5"
- Separator
- Item "Save Bookmark 1|S" "bookmark-save 1"
- Item "Save Bookmark 2" "bookmark-save 2"
- Item "Save Bookmark 3" "bookmark-save 3"
- Item "Save Bookmark 4" "bookmark-save 4"
- Item "Save Bookmark 5" "bookmark-save 5"
+ Item "Save Bookmark|S" "bookmark-save 1"
+ Item "Clear Bookmarks|C" "bookmark-clear"
+ Separator
+ Bookmarks
End
#