Article View: gnu.emacs.help
Article #2139Re: Format problem in Mathematica mode
From: Narayanan Shadagopan
Date: Tue, 12 Jan 1993 11:24
Date: Tue, 12 Jan 1993 11:24
33 lines
1562 bytes
1562 bytes
In article <Jan.12.04.21.02.1993.7751@remus.rutgers.edu>, shadagop@remus.rutgers.edu (Narayanan Shadagopan) writes:
> I am trying to get Mathematica mode to work properly. When in math mode,
> [...stuff deleted]
> Now, I see that the expression is being given to Mathematica and the
> output is taken properly; however, the formatting of the output is not
> done properly. [...stuff deleted]
I have done a small fix in the mathtalk.el and the code _seems_ to work
fine. In the mathtalk.el file, I modified the aOUTPROMPT function. I am
not at all sure this is an appropriate thing to do.
(defun aOUTPROMPT ()
[... other stuff]
(if (string-match "[^=]$" block)
(concat block "=")
^^^
[... other stuff]
))
(defun aOUTPROMPT ()
[... other stuff]
(if (string-match "[^=]$" block)
(concat block "")
^^
[... other stuff]
))
Any suggestions?
-Nary
--
E-mail: shadagop@central.rutgers.edu
Technical Details
Message-ID:
<Jan.12.06.24.56.1993.9770@remus.rutgers.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!usc!rpi!uwm.edu!linac!att!cbnewsc!cbfsb!att-out!rutgers!igor.rutgers.edu!remus.rutgers.edu!shadagopReferences:
<Jan.12.04.21.02.1993.7751@remus.rutgers.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!usc!rpi!uwm.edu!linac!att!cbnewsc!cbfsb!att-out!rutgers!igor.rutgers.edu!remus.rutgers.edu!shadagop From: shadagop@remus.rutgers.edu (Narayanan Shadagopan) Newsgroups: gnu.emacs.help Subject: Re: Format problem in Mathematica mode Summary: a possible fix Keywords: format, mathematica mode Message-ID: <Jan.12.06.24.56.1993.9770@remus.rutgers.edu> Date: 12 Jan 93 11:24:56 GMT References: <Jan.12.04.21.02.1993.7751@remus.rutgers.edu> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 33