It would be nice if this gets applied soonish, since I have the next
(mathed internal) patch ready that relies on it, and I can't go much
further without this one applied...

Andre'
 
-- 
André Pönitz ............................................. [EMAIL PROTECTED]
Index: lib/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v
retrieving revision 1.83
diff -u -p -r1.83 ChangeLog
--- lib/ChangeLog       2001/07/29 10:50:06     1.83
+++ lib/ChangeLog       2001/08/10 15:49:54
@@ -1,3 +1,10 @@
+
+2001-07-25  André Pönitz <[EMAIL PROTECTED]>
+
+       * bind/math.bind:
+         bind/sciword.bind: use new syntax for 'math-insert'
+
+
 2001-07-29  Baruch Even  <[EMAIL PROTECTED]>
 
        * configure.m4: Added conversion from EPS to PDF using epstopdf.
Index: lib/bind/math.bind
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/bind/math.bind,v
retrieving revision 1.5
diff -u -p -r1.5 math.bind
--- lib/bind/math.bind  2001/07/25 12:37:41     1.5
+++ lib/bind/math.bind  2001/08/10 15:49:54
@@ -26,27 +26,37 @@
 
 # These are defined for the math menu:
 
-\bind "M-m f"                  "math-insert frac"
-\bind "M-m s"                  "math-insert sqrt"
+\bind "M-m f"                  "math-insert \frac"
+\bind "M-m s"                  "math-insert \sqrt"
 \bind "M-m e"                  "math-insert ^"
 \bind "M-m x"                  "math-insert _"
-\bind "M-m u"                  "math-insert sum"
-\bind "M-m i"                  "math-insert int"
+\bind "M-m u"                  "math-insert \sum"
+\bind "M-m i"                  "math-insert \int"
 \bind "M-m m"                  "math-mode"
 \bind "M-m d"                  "math-display"
 
 \bind "M-m g"                  "math-greek"
 \bind "M-m S-G"                        "math-greek-toggle" 
-\bind "M-m o"                  "math-insert oint"
-\bind "M-m p"                  "math-insert partial"
-\bind "M-m r"                  "math-insert root"
+#\bind "M-m o"                 "math-insert \oint"
+\bind "M-m p"                  "math-insert \partial"
+\bind "M-m r"                  "math-insert \root"
 \bind "M-m l"                  "math-limits"
 
 \bind "M-m n"                  "math-number"
 \bind "M-m S-N"                        "math-nonumber"
-\bind "M-m 8"                  "math-insert infty"
+\bind "M-m 8"                  "math-insert \infty"
 \bind "M-m v"                  "accent-vector"
 
+\bind "M-m o 1"    "math-macro-arg 1"
+\bind "M-m o 2"    "math-macro-arg 2"
+\bind "M-m o 3"    "math-macro-arg 3"
+\bind "M-m o 4"    "math-macro-arg 4"
+\bind "M-m o 5"    "math-macro-arg 5"
+\bind "M-m o 6"    "math-macro-arg 6"
+\bind "M-m o 7"    "math-macro-arg 7"
+\bind "M-m o 8"    "math-macro-arg 8"
+\bind "M-m o 9"    "math-macro-arg 9"
+
 \bind "M-m t t"   "math-mutate dump"
 \bind "M-m t a"   "math-mutate align"
 \bind "M-m t i"   "math-mutate inline"
@@ -69,11 +79,11 @@
 # The accent-circumflex is 'h' for 'hat', which is what most math
 # folks call it verbally.
 
-\bind "M-m b"                  "math-insert overline"
+\bind "M-m b"                  "math-insert \overline"
 \bind "M-m h"                  "accent-circumflex"
 \bind "M-m ~S-period"          "accent-dot"
 \bind "M-m ~S-asciitilde"      "accent-tilde"
-\bind "M-m ~S-apostrophe"      "math-insert prime"
+\bind "M-m ~S-apostrophe"      "math-insert \prime"
 \bind "M-m ~S-quotedbl"        "accent-umlaut"
 
 
@@ -90,10 +100,10 @@
 # Note: it's easy to insert binary relations like \pm, \mp, \neq, \geq, 
 # and \leq just by typing them. However it's easier to remember these:
 
-\bind "M-m ~S-plus"    "math-insert pm" 
-\bind "M-m ~S-equal"   "math-insert neq"
+\bind "M-m ~S-plus"    "math-insert \pm" 
+\bind "M-m ~S-equal"   "math-insert \neq"
 
 \bind "Escape"         "escape"
 \bind "C-Tab"          "tab-insert"
 \bind "M-m space"      "math-space"
-
+\bind "M-m S-G"      "command-sequence math-mode ; math-greek-toggle ; "
Index: lib/bind/sciword.bind
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/bind/sciword.bind,v
retrieving revision 1.12
diff -u -p -r1.12 sciword.bind
--- lib/bind/sciword.bind       2001/07/23 10:04:17     1.12
+++ lib/bind/sciword.bind       2001/08/10 15:49:54
@@ -22,14 +22,14 @@
 # Greek for only one character. "math-greek-toggle" is the persistent Greek
 # toggle which nobody really needs when typing math.
 # Sciword mnemonic.
-\bind "C-f"    "math-insert frac"
+\bind "C-f"    "math-insert \frac"
 \bind "C-g"    "math-greek"
 
 # Do we need this?
 #\bind "C-h"   "hyphenation-point-insert"
 
 # Sciword mnemonic.
-\bind "C-i"    "math-insert int"
+\bind "C-i"    "math-insert \int"
 
 #\bind "C-j"   "------"
 
@@ -49,7 +49,7 @@
 \bind "C-q"    "self-insert \""
 
 # Sciword mnemonic.
-\bind "C-r"    "math-insert sqrt"
+\bind "C-r"    "math-insert \sqrt"
 
 # This combination is now a gateway to math symbols (C-s ...)
 #\bind "C-s"   "------"
@@ -93,7 +93,7 @@
 # Some of them seem to work only in math mode?
 
 \bind "C-period"       "accent-dot"
-\bind "S-C-colon"      "math-insert ddot"
+\bind "S-C-colon"      "math-insert \ddot"
 \bind "C-quoteleft"    "accent-grave"
 \bind "S-C-asciitilde" "accent-tilde"
 \bind "S-C-quotedbl"   "accent-umlaut"
@@ -101,7 +101,7 @@
 \bind "S-C-asciicircum" "accent-circumflex"
 \bind "C-equal"                "accent-vector"
 # Why is it not "accent-bar"?
-\bind "C-minus"        "math-insert bar"
+\bind "C-minus"        "math-insert \bar"
 # What is "accent-underbar"?
 #\bind "S-C-underscore"        "accent-underbar"
 
@@ -128,12 +128,12 @@
 # Math menu (unmodified)
 #
 
-\bind "M-m f"                  "math-insert frac"
-\bind "M-m i"                  "math-insert int"
-\bind "M-m o"                  "math-insert oint"
-\bind "M-m p"                  "math-insert partial"
-\bind "M-m s"                  "math-insert sqrt"
-\bind "M-m S-S"                "math-insert sum"
+\bind "M-m f"                  "math-insert \frac"
+\bind "M-m i"                  "math-insert \int"
+\bind "M-m o"                  "math-insert \oint"
+\bind "M-m p"                  "math-insert \partial"
+\bind "M-m s"                  "math-insert \sqrt"
+\bind "M-m S-S"                "math-insert \sum"
 \bind "M-m l"                  "math-limits"
 \bind "M-m n"                  "math-number"
 \bind "M-m v"                  "accent-vector"
@@ -141,29 +141,29 @@
 
 # Sciword mnemonics for math editing:
 
-\bind "M-apostrophe"   "math-insert prime"
+\bind "M-apostrophe"   "math-insert \prime"
 \bind "C-Up"           "math-insert ^"
 \bind "C-Down"         "math-insert _"
-\bind "C-s d"          "math-insert partial"
-\bind "C-s e"          "math-insert sum"
-\bind "C-s p"          "math-insert prod"
-\bind "C-s i"          "math-insert infty"
-\bind "C-s x"          "math-insert times"
+\bind "C-s d"          "math-insert \partial"
+\bind "C-s e"          "math-insert \sum"
+\bind "C-s p"          "math-insert \prod"
+\bind "C-s i"          "math-insert \infty"
+\bind "C-s x"          "math-insert \times"
 
 # My own embellishments for symbols I use often.
 
 #I'd like to combine math-insert ^ and math-insert prime, but don't know how.
 
-\bind "C-s apostrophe" "math-insert prime"
-\bind "C-s S-plus"     "math-insert dagger"
-\bind "C-s equal"      "math-insert equiv"
-\bind "M-equal"                "math-insert approx"
-\bind "M-minus"                "math-insert sim"
-\bind "C-minus"                "math-insert rightarrow"
-\bind "S-M-less"       "math-insert leq"
-\bind "S-M-greater"    "math-insert geq"
-\bind "C-s S-less"     "math-insert ll"
-\bind "C-s S-greater"  "math-insert gg"
+\bind "C-s apostrophe" "math-insert \prime"
+\bind "C-s S-plus"     "math-insert \dagger"
+\bind "C-s equal"      "math-insert \equiv"
+\bind "M-equal"                "math-insert \approx"
+\bind "M-minus"                "math-insert \sim"
+\bind "C-minus"                "math-insert \rightarrow"
+\bind "S-M-less"       "math-insert \leq"
+\bind "S-M-greater"    "math-insert \geq"
+\bind "C-s S-less"     "math-insert \ll"
+\bind "C-s S-greater"  "math-insert \gg"
 
        ############################
 ######### Almost no changes below. #########

Reply via email to