2003-08-22 10:37:26 +00:00
|
|
|
# -*- text -*-
|
|
|
|
|
2007-01-06 13:42:15 +00:00
|
|
|
# file stdmenus.inc
|
2003-08-22 10:37:26 +00:00
|
|
|
# This file is part of LyX, the document processor.
|
|
|
|
# Licence details can be found in the file COPYING.
|
|
|
|
|
|
|
|
# author Jean-Marc Lasgouttes
|
|
|
|
# author John Levon
|
2006-08-30 19:06:12 +00:00
|
|
|
# author Michael Gerz
|
2003-08-22 10:37:26 +00:00
|
|
|
|
|
|
|
# Full author contact details are available in file CREDITS.
|
|
|
|
|
2005-06-09 09:58:08 +00:00
|
|
|
# The interface is designed (partially) following the KDE Human Interface
|
2005-05-22 23:01:21 +00:00
|
|
|
# Guidelines (http://usability.kde.org/hig/)
|
|
|
|
|
2003-04-15 02:30:53 +00:00
|
|
|
Menuset
|
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menubar
|
2003-04-15 02:30:53 +00:00
|
|
|
# Make the first 4 menus be as much as expected as possible
|
2003-05-16 12:53:20 +00:00
|
|
|
Submenu "File|F" "file"
|
|
|
|
Submenu "Edit|E" "edit"
|
|
|
|
Submenu "View|V" "view"
|
|
|
|
Submenu "Insert|I" "insert"
|
|
|
|
Submenu "Navigate|N" "navigate"
|
|
|
|
Submenu "Document|D" "document"
|
|
|
|
Submenu "Tools|T" "tools"
|
|
|
|
Submenu "Help|H" "help"
|
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# FILE MENU
|
|
|
|
#
|
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "file"
|
|
|
|
Item "New|N" "buffer-new"
|
2003-07-10 13:41:58 +00:00
|
|
|
Item "New from Template...|m" "buffer-new-template"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Open...|O" "file-open"
|
2006-11-07 20:23:54 +00:00
|
|
|
Submenu "Open Recent|t" "file_lastfiles"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
|
|
|
Item "Close|C" "buffer-close"
|
|
|
|
Item "Save|S" "buffer-write"
|
|
|
|
Item "Save As...|A" "buffer-write-as"
|
2007-08-06 15:34:02 +00:00
|
|
|
Item "Save All|l" "buffer-write-all"
|
2007-08-19 19:02:28 +00:00
|
|
|
Item "Revert to Saved|R" "buffer-reload"
|
2003-05-16 12:53:20 +00:00
|
|
|
Submenu "Version Control|V" "file_vc"
|
|
|
|
Separator
|
|
|
|
Submenu "Import|I" "file_import"
|
|
|
|
Submenu "Export|E" "file_export"
|
2003-06-19 16:49:45 +00:00
|
|
|
Item "Print...|P" "dialog-show print"
|
2003-05-16 12:53:20 +00:00
|
|
|
OptItem "Fax...|F" "buffer-export fax"
|
|
|
|
Separator
|
2006-10-24 20:57:29 +00:00
|
|
|
Item "New Window|W" "window-new"
|
|
|
|
Item "Close Window|d" "window-close"
|
|
|
|
Separator
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Exit|x" "lyx-quit"
|
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2006-09-06 11:33:06 +00:00
|
|
|
Menu "file_lastfiles"
|
2003-05-16 12:53:20 +00:00
|
|
|
Lastfiles
|
|
|
|
End
|
2003-10-13 09:50:10 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "file_vc"
|
|
|
|
OptItem "Register...|R" "vc-register"
|
|
|
|
OptItem "Check In Changes...|I" "vc-check-in"
|
|
|
|
OptItem "Check Out for Edit|O" "vc-check-out"
|
|
|
|
OptItem "Revert to Last Version|L" "vc-revert"
|
|
|
|
OptItem "Undo Last Check In|U" "vc-undo-last"
|
2003-06-19 16:49:45 +00:00
|
|
|
OptItem "Show History|H" "dialog-show vclog"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "file_import"
|
|
|
|
ImportFormats
|
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "file_export"
|
|
|
|
ExportFormats
|
|
|
|
Item "Custom...|C" "buffer-export custom"
|
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# EDIT MENU
|
|
|
|
#
|
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "edit"
|
|
|
|
Item "Undo|U" "undo"
|
|
|
|
Item "Redo|R" "redo"
|
|
|
|
Separator
|
|
|
|
Item "Cut" "cut"
|
|
|
|
Item "Copy" "copy"
|
|
|
|
Item "Paste" "paste"
|
2006-11-07 21:38:02 +00:00
|
|
|
Submenu "Paste Recent|e" "edit_pasterecent"
|
2007-01-04 20:08:22 +00:00
|
|
|
Submenu "Paste Special" "edit_paste"
|
2005-05-22 23:01:21 +00:00
|
|
|
Separator
|
2007-01-30 22:16:47 +00:00
|
|
|
Item "Select All" "command-sequence buffer-begin ; buffer-end-select"
|
|
|
|
Separator
|
2003-06-19 16:49:45 +00:00
|
|
|
Item "Find & Replace...|F" "dialog-show findreplace"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
2006-09-01 16:39:35 +00:00
|
|
|
Item "Move Paragraph Up|o" "paragraph-move-up"
|
|
|
|
Item "Move Paragraph Down|v" "paragraph-move-down"
|
|
|
|
Separator
|
2006-09-13 15:33:26 +00:00
|
|
|
Submenu "Text Style|S" "edit_textstyles"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Paragraph Settings...|P" "layout-paragraph"
|
|
|
|
Separator
|
2003-04-15 02:30:53 +00:00
|
|
|
# Mathed b0rkage means these don't work properly
|
2003-05-16 12:53:20 +00:00
|
|
|
OptSubmenu "Table|T" "edit_tabular"
|
|
|
|
OptSubmenu "Math|M" "edit_math"
|
2006-09-06 11:33:06 +00:00
|
|
|
OptSubmenu "Rows & Columns|C" "edit_tabular_features"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
2003-04-15 02:30:53 +00:00
|
|
|
# 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)
|
2006-11-07 21:38:02 +00:00
|
|
|
OptItem "Increase List Depth|I" "depth-increment"
|
|
|
|
OptItem "Decrease List Depth|D" "depth-decrement"
|
|
|
|
OptItem "Dissolve Inset|l" "inset-dissolve"
|
2003-05-16 12:53:20 +00:00
|
|
|
OptItem "TeX Code Settings...|C" "inset-settings ert"
|
2003-04-26 17:30:13 +00:00
|
|
|
# 'a' shortcut to match Insert entry, shouldn't clash with Table Settings
|
2003-05-16 12:53:20 +00:00
|
|
|
OptItem "Float Settings...|a" "inset-settings float"
|
|
|
|
OptItem "Text Wrap Settings...|W" "inset-settings wrap"
|
2003-07-15 23:52:37 +00:00
|
|
|
OptItem "Note Settings...|N" "inset-settings note"
|
2003-08-17 11:28:23 +00:00
|
|
|
OptItem "Branch Settings...|B" "inset-settings branch"
|
2003-10-07 07:42:15 +00:00
|
|
|
OptItem "Box Settings...|x" "inset-settings box"
|
2003-04-26 19:01:33 +00:00
|
|
|
# Hey, guess what's broken ? Surprise surprise, it's tabular stuff
|
|
|
|
# This is in the Table submenu instead for now.
|
|
|
|
# OptItem "Table Settings...|a" "inset-settings tabular"
|
2003-05-16 12:53:20 +00:00
|
|
|
OptItem "Table Settings...|a" "layout-tabular"
|
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2005-05-22 23:01:21 +00:00
|
|
|
Menu "edit_paste"
|
2007-01-18 07:23:58 +00:00
|
|
|
Item "Plain Text|T" "clipboard-paste"
|
|
|
|
Item "Plain Text, Join Lines|J" "clipboard-paste paragraph"
|
2007-01-07 22:52:04 +00:00
|
|
|
Separator
|
2007-01-18 07:23:58 +00:00
|
|
|
Item "Selection|S" "primary-selection-paste"
|
|
|
|
Item "Selection, Join Lines|i" "primary-selection-paste paragraph"
|
2008-02-03 10:43:03 +00:00
|
|
|
Separator
|
|
|
|
Item "Paste As LinkBack PDF" "paste linkback"
|
|
|
|
Item "Paste As PDF" "paste pdf"
|
|
|
|
Item "Paste As PNG" "paste png"
|
|
|
|
Item "Paste As JPEG" "paste jpeg"
|
2005-05-22 23:01:21 +00:00
|
|
|
End
|
|
|
|
|
2006-09-06 11:33:06 +00:00
|
|
|
Menu "edit_pasterecent"
|
2003-06-17 15:33:49 +00:00
|
|
|
PasteRecent
|
|
|
|
End
|
|
|
|
|
2006-09-13 15:33:26 +00:00
|
|
|
Menu "edit_textstyles"
|
2007-10-13 12:59:44 +00:00
|
|
|
Item "Dissolve CharStyle" "inset-dissolve charstyle"
|
2006-09-13 15:33:26 +00:00
|
|
|
CharStyles
|
2007-09-06 14:45:17 +00:00
|
|
|
Elements
|
2006-09-13 15:33:26 +00:00
|
|
|
Separator
|
|
|
|
Item "Customized...|C" "dialog-show character"
|
|
|
|
Separator
|
2006-09-13 16:13:41 +00:00
|
|
|
Item "Capitalize|a" "word-capitalize"
|
|
|
|
Item "Uppercase|U" "word-upcase"
|
|
|
|
Item "Lowercase|L" "word-lowcase"
|
2006-09-13 15:33:26 +00:00
|
|
|
End
|
|
|
|
|
2003-04-15 02:30:53 +00:00
|
|
|
# not much we can do to help here
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "edit_tabular"
|
|
|
|
Item "Multicolumn|M" "tabular-feature multicolumn"
|
|
|
|
Separator
|
|
|
|
Item "Top Line|T" "tabular-feature toggle-line-top"
|
|
|
|
Item "Bottom Line|B" "tabular-feature toggle-line-bottom"
|
|
|
|
Item "Left Line|L" "tabular-feature toggle-line-left"
|
|
|
|
Item "Right Line|R" "tabular-feature toggle-line-right"
|
|
|
|
Separator
|
2003-08-14 15:45:09 +00:00
|
|
|
End
|
|
|
|
|
2006-09-06 11:33:06 +00:00
|
|
|
Menu "edit_tabular_features"
|
2003-08-14 15:45:09 +00:00
|
|
|
Item "Left|L" "tabular-feature align-left"
|
|
|
|
Item "Center|C" "tabular-feature align-center"
|
|
|
|
Item "Right|R" "tabular-feature align-right"
|
|
|
|
Separator
|
|
|
|
Item "Top|T" "tabular-feature valign-top"
|
|
|
|
Item "Middle|M" "tabular-feature valign-middle"
|
|
|
|
Item "Bottom|B" "tabular-feature valign-bottom"
|
2005-04-25 14:10:10 +00:00
|
|
|
Separator
|
2006-11-07 21:38:02 +00:00
|
|
|
Item "Add Row|A" "tabular-feature append-row"
|
|
|
|
Item "Delete Row|D" "tabular-feature delete-row"
|
|
|
|
Item "Copy Row|o" "tabular-feature copy-row"
|
2008-03-09 16:49:25 +00:00
|
|
|
# Item "Swap Rows|S" "tabular-feature swap-row" # currently broken
|
2005-04-25 14:10:10 +00:00
|
|
|
Separator
|
2006-11-07 21:38:02 +00:00
|
|
|
Item "Add Column|u" "tabular-feature append-column"
|
|
|
|
Item "Delete Column|e" "tabular-feature delete-column"
|
|
|
|
Item "Copy Column|p" "tabular-feature copy-column"
|
2008-03-09 16:49:25 +00:00
|
|
|
# Item "Swap Columns|w" "tabular-feature swap-column" # currently broken
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "edit_math"
|
2008-01-11 22:45:19 +00:00
|
|
|
Item "Number whole Formula|N" "math-number-toggle"
|
|
|
|
Item "Number this Line|u" "math-number-line-toggle"
|
2003-05-16 12:53:20 +00:00
|
|
|
Submenu "Change Limits Type|L" "edit_math_limits"
|
2007-11-01 11:08:04 +00:00
|
|
|
Submenu "Macro Definition" "edit_math_macro_definition"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
|
|
|
Submenu "Change Formula Type|F" "edit_math_mutate"
|
|
|
|
Separator
|
2006-10-04 19:29:15 +00:00
|
|
|
Submenu "Text Style|T" "edit_math_textstyles"
|
|
|
|
Separator
|
2003-05-16 12:53:20 +00:00
|
|
|
Submenu "Use Computer Algebra System|S" "edit_math_extern"
|
|
|
|
Separator
|
2006-09-01 16:39:35 +00:00
|
|
|
Item "Split Cell|C" "cell-split"
|
|
|
|
Separator
|
2006-11-07 21:38:02 +00:00
|
|
|
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"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
2005-02-09 18:56:01 +00:00
|
|
|
Item "Add Line to Left" "tabular-feature add-vline-left"
|
2005-02-14 14:25:18 +00:00
|
|
|
Item "Add Line to Right" "tabular-feature add-vline-right"
|
2005-02-09 18:56:01 +00:00
|
|
|
Item "Delete Line to Left" "tabular-feature delete-vline-left"
|
2005-02-14 14:25:18 +00:00
|
|
|
Item "Delete Line to Right" "tabular-feature delete-vline-right"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2007-11-01 11:08:04 +00:00
|
|
|
Menu "edit_math_macro_definition"
|
|
|
|
Item "Append Parameter" "math-macro-add-param"
|
|
|
|
Item "Remove Last Parameter" "math-macro-remove-param"
|
|
|
|
Separator
|
|
|
|
Item "Make First Non-Optional into Optional Parameter" "math-macro-make-optional"
|
|
|
|
Item "Make Last Optional into Non-Optional Parameter" "math-macro-make-nonoptional"
|
|
|
|
Item "Insert Optional Parameter" "math-macro-add-optional-param"
|
|
|
|
Item "Remove Optional Parameter" "math-macro-remove-optional-param"
|
|
|
|
Separator
|
|
|
|
Item "Append Parameter Eating From The Right" "math-macro-append-greedy-param"
|
|
|
|
Item "Append Optional Parameter Eating From The Right" "math-macro-add-greedy-optional-param"
|
|
|
|
Item "Remove Last Parameter Spitting Out To The Right" "math-macro-remove-greedy-param"
|
|
|
|
End
|
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "edit_math_limits"
|
|
|
|
Item "Default|t" "math-limits empty"
|
|
|
|
Item "Display|D" "math-limits limits"
|
|
|
|
Item "Inline|I" "math-limits nolimits"
|
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2006-10-04 19:29:15 +00:00
|
|
|
Menu "edit_math_textstyles"
|
2006-11-07 21:38:02 +00:00
|
|
|
Item "Math Normal Font|N" "math-insert \mathnormal"
|
2006-10-04 19:29:15 +00:00
|
|
|
Separator
|
2006-11-07 21:38:02 +00:00
|
|
|
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"
|
2006-10-04 19:29:15 +00:00
|
|
|
Separator
|
2006-11-07 21:38:02 +00:00
|
|
|
Item "Math Bold Series|B" "math-insert \mathbf"
|
2006-10-04 19:29:15 +00:00
|
|
|
Separator
|
2006-11-07 21:38:02 +00:00
|
|
|
Item "Text Normal Font|T" "math-insert \textnormal"
|
2006-10-04 19:29:15 +00:00
|
|
|
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
|
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "edit_math_extern"
|
2006-11-07 21:38:02 +00:00
|
|
|
Item "Octave|O" "math-extern octave"
|
|
|
|
Item "Maxima|M" "math-extern maxima"
|
|
|
|
Item "Mathematica|a" "math-extern mathematica"
|
|
|
|
Separator
|
|
|
|
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"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "edit_math_mutate"
|
|
|
|
Item "Inline Formula|I" "math-mutate simple"
|
|
|
|
Item "Displayed Formula|D" "math-mutate equation"
|
2006-11-12 09:50:57 +00:00
|
|
|
Item "Eqnarray Environment|E" "math-mutate eqnarray"
|
2005-05-22 23:01:21 +00:00
|
|
|
Item "AMS align Environment|a" "math-mutate align"
|
2003-07-22 15:24:01 +00:00
|
|
|
Item "AMS alignat Environment|t" "math-mutate alignat"
|
|
|
|
Item "AMS flalign Environment|f" "math-mutate flalign"
|
|
|
|
Item "AMS gather Environment|g" "math-mutate gather"
|
|
|
|
Item "AMS multline Environment|m" "math-mutate multline"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# VIEW MENU
|
|
|
|
#
|
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "view"
|
2006-09-01 16:39:35 +00:00
|
|
|
Item "Open All Insets|O" "all-insets-toggle open"
|
|
|
|
Item "Close All Insets|C" "all-insets-toggle close"
|
|
|
|
Separator
|
2007-11-01 11:08:04 +00:00
|
|
|
Item "Unfold Math Macro" "math-macro-unfold"
|
|
|
|
Item "Fold Math Macro" "math-macro-fold"
|
|
|
|
Separator
|
2007-04-30 14:29:49 +00:00
|
|
|
Item "View Source|S" "dialog-toggle view-source"
|
2006-09-06 11:33:06 +00:00
|
|
|
Submenu "Update|U" "view_update"
|
2003-05-16 12:53:20 +00:00
|
|
|
ViewFormats
|
|
|
|
Separator
|
2008-02-21 14:58:58 +00:00
|
|
|
Item "Split View Horizontally|i" "split-view horizontal"
|
|
|
|
Item "Split View Vertically|V" "split-view vertical"
|
|
|
|
Item "Close Tab Group|G" "close-tab-group"
|
2008-02-19 21:51:55 +00:00
|
|
|
Item "Fullscreen|l" "ui-toggle fullscreen"
|
2006-11-02 16:01:36 +00:00
|
|
|
Submenu "Toolbars|b" "toolbars"
|
|
|
|
Separator
|
2003-05-16 12:53:20 +00:00
|
|
|
Documents
|
|
|
|
End
|
2003-10-13 09:50:10 +00:00
|
|
|
|
2006-09-06 11:33:06 +00:00
|
|
|
Menu "view_update"
|
2003-05-16 12:53:20 +00:00
|
|
|
UpdateFormats
|
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2006-11-02 16:01:36 +00:00
|
|
|
Menu "toolbars"
|
|
|
|
Toolbars
|
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
#
|
|
|
|
# INSERT MENU
|
|
|
|
#
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "insert"
|
2003-04-15 02:30:53 +00:00
|
|
|
# Try and group things a little better, and percolate the most
|
|
|
|
# commonly used to good positions (exception being mathed, but
|
|
|
|
# most people using mathed learn key shortcuts quite quickly anyway)
|
2003-05-16 12:53:20 +00:00
|
|
|
Submenu "Math|h" "insert_math"
|
2006-11-07 20:23:54 +00:00
|
|
|
Submenu "Special Character|p" "insert_special"
|
2006-11-25 17:03:30 +00:00
|
|
|
Submenu "Formatting|o" "insert_formatting"
|
2003-07-29 17:44:44 +00:00
|
|
|
Submenu "List / TOC|i" "insert_toc"
|
2003-08-14 15:47:20 +00:00
|
|
|
Submenu "Float|a" "insert_float"
|
2003-08-17 11:28:23 +00:00
|
|
|
Submenu "Note|N" "insert_note"
|
2007-05-31 12:07:48 +00:00
|
|
|
Submenu "Branch|B" "insert_branches"
|
2007-08-24 12:45:40 +00:00
|
|
|
Submenu "Custom insets" "insert_custom"
|
2003-05-16 12:53:20 +00:00
|
|
|
Submenu "File|e" "insert_file"
|
2007-09-17 14:19:23 +00:00
|
|
|
Item "Box[[Menu]]" "box-insert Frameless"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
2005-05-08 10:02:38 +00:00
|
|
|
Item "Citation...|C" "dialog-show-new-inset citation"
|
2006-11-07 20:23:54 +00:00
|
|
|
Item "Cross-Reference...|R" "dialog-show-new-inset ref"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Label...|L" "label-insert"
|
2007-01-30 22:01:35 +00:00
|
|
|
Item "Caption" "caption-insert"
|
2003-07-29 17:44:44 +00:00
|
|
|
Item "Index Entry|d" "index-insert"
|
2007-04-29 22:21:00 +00:00
|
|
|
Item "Nomenclature Entry...|y" "nomencl-insert"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
|
|
|
Item "Table...|T" "tabular-insert"
|
|
|
|
Item "Graphics...|G" "dialog-show-new-inset graphics"
|
2007-11-13 10:03:16 +00:00
|
|
|
Item "URL" "flex-insert URL"
|
2007-10-15 15:05:36 +00:00
|
|
|
Item "Hyperlink|k" "href-insert"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Footnote|F" "footnote-insert"
|
|
|
|
Item "Marginal Note|M" "marginalnote-insert"
|
2006-11-07 20:23:54 +00:00
|
|
|
Item "Short Title|S" "optional-insert"
|
2005-05-08 10:02:38 +00:00
|
|
|
Item "TeX Code|X" "ert-insert"
|
2007-08-09 21:18:21 +00:00
|
|
|
Item "Program Listing[[Menu]]" "listing-insert"
|
2006-11-07 20:23:54 +00:00
|
|
|
Item "Date" "date-insert"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "insert_special"
|
2008-02-07 13:18:07 +00:00
|
|
|
Item "Symbols...|b" "dialog-show symbols"
|
2007-12-06 11:04:56 +00:00
|
|
|
Item "Ellipsis|i" "specialchar-insert dots"
|
|
|
|
Item "End of Sentence|E" "specialchar-insert end-of-sentence"
|
2003-07-29 17:44:44 +00:00
|
|
|
Item "Ordinary Quote|Q" "self-insert \""
|
2004-02-20 10:32:44 +00:00
|
|
|
Item "Single Quote|S" "quote-insert single"
|
2007-12-06 11:04:56 +00:00
|
|
|
Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
|
|
|
|
Item "Breakable Slash|a" "specialchar-insert slash"
|
|
|
|
Item "Menu Separator|M" "specialchar-insert menu-separator"
|
|
|
|
Item "Phonetic Symbols|P" "command-sequence math-mode on; math-insert \text\textipa ; char-forward ;"
|
2003-07-29 17:44:44 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
Menu "insert_formatting"
|
2005-06-24 10:14:33 +00:00
|
|
|
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;"
|
2003-07-29 17:44:44 +00:00
|
|
|
Separator
|
2006-11-07 21:38:02 +00:00
|
|
|
Item "Protected Space|P" "space-insert protected"
|
2003-05-30 12:44:23 +00:00
|
|
|
Item "Inter-word Space|w" "space-insert normal"
|
2003-05-22 10:40:57 +00:00
|
|
|
Item "Thin Space|T" "space-insert thin"
|
*** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
- merge in HFill inset, add support for dotfill, hrulefill,
hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
- remove
* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
- new GUI for Space insets.
* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
new Inset member isStretchableSpace() to indicate HFill and friends.
* Buffer.cpp:
- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines
* development/FORMAT:
- document file format change
* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
- deal with UI changes.
* src/LyXAction.cpp:
- remove LFUN_HFILL_INSERT
* src/LyXFunc.cpp:
- handle space dialog.
* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
- adapt to changes
* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
- add HSpace dialog, remove HFill.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
|
|
|
Item "Horizontal Space...|o" "dialog-show-new-inset space"
|
2006-11-07 21:38:02 +00:00
|
|
|
Item "Horizontal Line|L" "line-insert"
|
|
|
|
Item "Vertical Space...|V" "dialog-show-new-inset vspace"
|
2003-07-29 17:44:44 +00:00
|
|
|
Separator
|
2008-03-21 16:02:08 +00:00
|
|
|
Item "Hyphenation Point|H" "specialchar-insert hyphenation"
|
2007-12-06 11:04:56 +00:00
|
|
|
Item "Ligature Break|k" "specialchar-insert ligature-break"
|
2008-03-26 08:10:01 +00:00
|
|
|
Item "Ragged Line Break|R" "newline-insert newline"
|
|
|
|
Item "Justified Line Break|J" "newline-insert linebreak"
|
2006-11-25 17:03:30 +00:00
|
|
|
Separator
|
2008-03-25 09:26:03 +00:00
|
|
|
Item "New Page|N" "newpage-insert newpage"
|
|
|
|
Item "Page Break|a" "newpage-insert pagebreak"
|
|
|
|
Item "Clear Page|C" "newpage-insert clearpage"
|
|
|
|
Item "Clear Double Page|D" "newpage-insert cleardoublepage"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "insert_math"
|
2004-11-07 09:39:34 +00:00
|
|
|
Item "Inline Formula|I" "math-mode on"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Display Formula|D" "math-display"
|
2006-10-12 14:49:19 +00:00
|
|
|
Item "Numbered Formula|N" "command-sequence math-display; math-number;"
|
2004-11-07 09:39:34 +00:00
|
|
|
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 flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
|
|
|
|
Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
|
|
|
|
Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
|
|
|
Item "Array Environment|y" "math-matrix 2 2"
|
2006-10-04 19:29:15 +00:00
|
|
|
Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"
|
2006-11-07 21:38:02 +00:00
|
|
|
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"
|
2006-10-04 19:29:15 +00:00
|
|
|
Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
2008-06-15 09:23:23 +00:00
|
|
|
Item "Delimiters...|r" "dialog-show mathdelimiter"
|
|
|
|
Item "Matrix...|x" "dialog-show mathmatrix"
|
2007-11-01 11:08:04 +00:00
|
|
|
Item "Macro|o" "math-macro newmacroname newcommand"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "insert_float"
|
|
|
|
FloatInsert
|
2003-04-15 02:30:53 +00:00
|
|
|
# This has got to be better than "Wrap", anyway
|
2007-10-03 21:07:01 +00:00
|
|
|
Item "Figure Wrap Float|F" "wrap-insert figure"
|
|
|
|
Item "Table Wrap Float|T" "wrap-insert table"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "insert_toc"
|
|
|
|
Item "Table of Contents|C" "toc-insert"
|
|
|
|
FloatListInsert
|
|
|
|
Item "Index List|I" "index-print"
|
2007-04-29 22:21:00 +00:00
|
|
|
Item "Nomenclature|N" "nomencl-print"
|
2005-05-08 10:02:38 +00:00
|
|
|
Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "insert_file"
|
|
|
|
Item "LyX Document...|X" "file-insert"
|
2007-01-18 07:23:58 +00:00
|
|
|
Item "Plain Text...|T" "file-insert-plaintext"
|
|
|
|
Item "Plain Text, Join Lines...|J" "file-insert-plaintext-para"
|
2003-07-29 17:44:44 +00:00
|
|
|
Separator
|
2005-05-22 23:01:21 +00:00
|
|
|
Item "External Material...|M" "dialog-show-new-inset external"
|
2003-07-29 17:44:44 +00:00
|
|
|
Item "Child Document...|d" "dialog-show-new-inset include"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-07-30 11:39:36 +00:00
|
|
|
Menu "insert_note"
|
2003-07-30 13:08:12 +00:00
|
|
|
Item "LyX Note|N" "note-insert Note"
|
|
|
|
Item "Comment|C" "note-insert Comment"
|
|
|
|
Item "Greyed Out|G" "note-insert Greyedout"
|
2003-07-30 11:39:36 +00:00
|
|
|
End
|
|
|
|
|
2006-09-06 11:33:06 +00:00
|
|
|
Menu "insert_branches"
|
2003-08-17 11:28:23 +00:00
|
|
|
Branches
|
|
|
|
End
|
2003-11-12 14:38:26 +00:00
|
|
|
|
2007-08-24 12:45:40 +00:00
|
|
|
Menu "insert_custom"
|
|
|
|
Custom
|
|
|
|
End
|
|
|
|
|
2003-04-15 02:30:53 +00:00
|
|
|
#
|
|
|
|
# DOCUMENT MENU
|
|
|
|
#
|
2003-10-13 09:50:10 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "document"
|
2006-09-06 11:33:06 +00:00
|
|
|
Submenu "Change Tracking|C" "document_change"
|
2003-05-16 12:53:20 +00:00
|
|
|
OptItem "Build Program|B" "build-program"
|
2005-05-22 23:01:21 +00:00
|
|
|
Item "LaTeX Log|L" "dialog-show latexlog"
|
2007-05-26 12:41:39 +00:00
|
|
|
Item "Outline|O" "dialog-toggle toc"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Start Appendix Here|A" "appendix"
|
2003-05-24 15:06:22 +00:00
|
|
|
Separator
|
2007-10-21 20:06:44 +00:00
|
|
|
Item "Save in Bundled Format|F" "buffer-toggle-embedding"
|
2007-05-26 12:41:39 +00:00
|
|
|
Item "Compressed|m" "buffer-toggle-compression"
|
2003-06-19 16:49:45 +00:00
|
|
|
Item "Settings...|S" "dialog-show document"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-10-13 09:50:10 +00:00
|
|
|
|
2006-09-06 11:33:06 +00:00
|
|
|
Menu "document_change"
|
2006-05-08 18:09:19 +00:00
|
|
|
Item "Track Changes|T" "changes-track"
|
|
|
|
Item "Merge Changes...|M" "changes-merge"
|
2006-08-30 19:06:12 +00:00
|
|
|
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"
|
2006-05-08 18:09:19 +00:00
|
|
|
Item "Show Changes in Output|S" "changes-output"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# NAVIGATE MENU
|
|
|
|
#
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "navigate"
|
|
|
|
Submenu "Bookmarks|B" "navigate_bookmarks"
|
2005-03-30 17:33:32 +00:00
|
|
|
Item "Next Note|N" "note-next"
|
2006-10-04 21:43:40 +00:00
|
|
|
Item "Next Change|C" "change-next"
|
2006-11-07 20:23:54 +00:00
|
|
|
Item "Next Cross-Reference|R" "reference-next"
|
2005-05-22 23:01:21 +00:00
|
|
|
Item "Go to Label|L" "label-goto"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
|
|
|
Toc
|
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "navigate_bookmarks"
|
2007-03-29 03:41:55 +00:00
|
|
|
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"
|
2006-11-01 15:55:17 +00:00
|
|
|
Item "Clear Bookmarks|C" "bookmark-clear"
|
|
|
|
Separator
|
|
|
|
Bookmarks
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# TOOLS MENU
|
|
|
|
#
|
2003-10-13 09:50:10 +00:00
|
|
|
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "tools"
|
2003-06-19 16:49:45 +00:00
|
|
|
Item "Spellchecker...|S" "dialog-show spellchecker"
|
2003-05-16 12:53:20 +00:00
|
|
|
OptItem "Thesaurus...|T" "thesaurus-entry"
|
2008-01-08 15:18:00 +00:00
|
|
|
Item "Statistics...|a" "statistics"
|
2003-05-16 12:53:20 +00:00
|
|
|
OptItem "Check TeX|h" "buffer-chktex"
|
2005-05-22 23:01:21 +00:00
|
|
|
Item "TeX Information|I" "dialog-show texinfo"
|
2003-05-16 12:53:20 +00:00
|
|
|
Separator
|
2003-04-15 02:30:53 +00:00
|
|
|
# A LOT of applications have Tools->Prefs. Remember this
|
|
|
|
# should be rarely used - Edit menu is not a good place to
|
|
|
|
# have it.
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Reconfigure|R" "reconfigure"
|
2004-03-31 18:51:11 +00:00
|
|
|
Item "Preferences...|P" "dialog-show prefs"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-10-13 09:50:10 +00:00
|
|
|
|
2003-04-15 02:30:53 +00:00
|
|
|
#
|
|
|
|
# HELP MENU
|
|
|
|
#
|
2003-05-16 12:53:20 +00:00
|
|
|
Menu "help"
|
|
|
|
Item "Introduction|I" "help-open Intro"
|
|
|
|
Item "Tutorial|T" "help-open Tutorial"
|
|
|
|
Item "User's Guide|U" "help-open UserGuide"
|
|
|
|
Item "Extended Features|E" "help-open Extended"
|
2008-01-27 20:58:45 +00:00
|
|
|
Item "Embedded Objects|m" "help-open EmbeddedObjects"
|
|
|
|
Item "Math|h" "help-open Math"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "Customization|C" "help-open Customization"
|
2007-10-11 15:55:31 +00:00
|
|
|
Item "Shortcuts|S" "help-open Shortcuts"
|
2003-05-16 12:53:20 +00:00
|
|
|
Item "FAQ|F" "help-open FAQ"
|
|
|
|
Item "Table of Contents|a" "help-open TOC"
|
|
|
|
Item "LaTeX Configuration|L" "help-open LaTeXConfig"
|
|
|
|
Separator
|
2005-05-22 23:01:21 +00:00
|
|
|
Item "About LyX|X" "dialog-show aboutlyx"
|
2003-05-16 12:53:20 +00:00
|
|
|
End
|
2003-04-15 02:30:53 +00:00
|
|
|
|
|
|
|
End
|
2008-03-25 16:02:26 +00:00
|
|
|
|