From: André Pönitz Date: Wed, 31 Jul 2002 05:36:33 +0000 (+0000) Subject: make math-extern a bit more visible in Edit->Math, X-Git-Tag: 1.6.10~18723 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=67e2f58e780b546b9c74d4d9385cb58958533469;p=features.git make math-extern a bit more visible in Edit->Math, revamp some math key bindings add \boxed to the list of known things git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4815 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/ChangeLog b/lib/ChangeLog index eb94a6b6e4..5f32230903 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,10 @@ +2002-07-30 André Pönitz + + * configure.m4: + * ui/default.ui: make math-extern a bit more visible in Edit->Math + + * bind/math.bind: remove some strange bindings for Ø and Å + 2002-07-30 Angus Leeming * scripts/lyxpreview2ppm.sh: rename bbox.sed so that multiple runs diff --git a/lib/bind/math.bind b/lib/bind/math.bind index 440009ce5b..39e57bf989 100644 --- a/lib/bind/math.bind +++ b/lib/bind/math.bind @@ -31,10 +31,6 @@ \bind "M-m e" "math-superscript" \bind "M-m x" "math-subscript" -\bind "M-m S-A" "command-sequence math-mode; font-roman; math-insert Å;" -\bind "M-m S-O" "command-sequence math-mode; font-roman; math-insert Ø;" -\bind "M-m S-T" "command-sequence math-mode; math-insert \mathrm; math-insert T;" - \bind "M-m u" "math-insert \sum" \bind "M-m i" "math-insert \int" \bind "M-m m" "math-mode" @@ -59,11 +55,13 @@ \bind "M-m o 8" "self-insert \#8" \bind "M-m o 9" "self-insert \#9" +\bind "M-m t n" "math-mutate none" \bind "M-m t t" "math-mutate dump" \bind "M-m t a" "math-mutate align" -\bind "M-m t i" "math-mutate inline" -\bind "M-m t d" "math-mutate display" +\bind "M-m t i" "math-mutate simple" +\bind "M-m t d" "math-mutate equation" \bind "M-m t e" "math-mutate eqnarray" +\bind "M-m t m" "math-mutate multline" \bind "M-m c i" "math-column-insert" \bind "M-m c d" "math-column-delete" diff --git a/lib/configure.m4 b/lib/configure.m4 index b0c7a2b1fb..b085e49e69 100644 --- a/lib/configure.m4 +++ b/lib/configure.m4 @@ -285,6 +285,10 @@ LYXRC_PROG([for ChkTeX], \chktex_command,dnl # Search for a spellchecker LYXRC_PROG([for a spell-checker], \spell_command, ispell) +# Search for computer algebra systems +SEARCH_PROG([for Octave],OCTAVE,octave) +SEARCH_PROG([for Maple],MAPLE,maple) + dnl # Search a Fax handling program dnl SEARCH_PROG([for a fax driver], FAX, sendfax faxsend fax) dnl if test $FAX = sendfax ; then diff --git a/lib/symbols b/lib/symbols index ba9a6be21b..932b5dc09d 100644 --- a/lib/symbols +++ b/lib/symbols @@ -111,6 +111,7 @@ label label none left left none end end none fbox fbox none +boxed fbox none # diff --git a/lib/ui/default.ui b/lib/ui/default.ui index 7e21b59115..25ca9b63ed 100644 --- a/lib/ui/default.ui +++ b/lib/ui/default.ui @@ -126,13 +126,9 @@ Menuset Item "Toggle numbering of line|u" "math-nonumber" Item "Toggle limits|l" "math-limits" Separator - Item "Inline formula|I" "math-mutate simple" - Item "Displayed formula|D" "math-mutate equation" - Item "Eqnarray environment|q" "math-mutate eqnarray" - Item "Align environment|A" "math-mutate align" - Item "AlignAt environment" "math-mutate alignat" - Item "XAlignAt environment" "math-mutate xalignat" - Item "XXAlignAt environment" "math-mutate xxalignat" + Submenu "Change formula type...|t" "edit_math_mutate" + Separator + Submenu "Call external CAS...|t" "edit_math_extern" Separator Item "Align Left|f" "math-halign left" Item "Align Center|C" "math-halign center" @@ -149,6 +145,26 @@ Menuset Item "Delete Column" "math-column-delete" End + Menu "edit_math_extern" + Item "Octave" "math-extern octave" + 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" + 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 "Align environment|A" "math-mutate align" + Item "AlignAt environment" "math-mutate alignat" + Item "XAlignAt environment" "math-mutate xalignat" + Item "XXAlignAt environment" "math-mutate xxalignat" + Item "Multline environment" "math-mutate multline" + End + # # INSERT MENU # @@ -199,6 +215,7 @@ Menuset Item "AMS alignat environment|t" "command-sequence math-mode; math-mutate alignat;" Item "AMS xalignat environment|x" "command-sequence math-mode; math-mutate xalignat;" Item "AMS xxalignat environment" "command-sequence math-mode; math-mutate xxalignat;" + Item "AMS multline environment" "command-sequence math-mode; math-mutate multline;" Separator Item "Array environment|y" "math-insert matrix 2 2" Item "Cases environment|C" "math-insert cases 2"