mailing-list for TeXmacs Users

Text archives Help


TeXmacs as a Maxima frontend on Mac OS X


Chronological Thread 
  • From: Tobia <address@hidden>
  • To: address@hidden
  • Subject: TeXmacs as a Maxima frontend on Mac OS X
  • Date: Thu, 31 May 2007 19:44:59 +0200

Hello

I'm trying to set up TeXmacs as a user-friendly Maxima front-end on
Mac OS X.

I've successfully built SBCL, Maxima, and TeXmacs, using a combination
of DarwinPorts and Fink, then I wrapped TeXmacs in an application
bundle, so that it can be dragged to the dock and launched like any
other Mac application. (I can expand on these points if anybody is
interested.)

I had to modify texmacs-maxima-5.10.0.lisp to suppress some ugly
STYLE-WARNINGs I was getting from SBCL: I just called fmakunbound on
all the functions that were being redefined (main-prompt and tex-...)

What's still left to do is to spawn a Maxima session automatically at
startup and set a few options, but I fear I'm not proficient enough in
TeXmacs's internals.

I tried putting the following both in my-init-texmacs.scm and in
my-init-buffer.scm:

(maxima-initialize)
(toggle-session-math-input)
(kbd-map in-math? ("(" (make-bracket-open "(" ")" #t)))
(kbd-map in-math? (")" (make-bracket-close ")" "(" #t)))

but it seems either place is called too soon for what I'm trying to do.
Also the (maxima-initialize) call is wrong, because it doesn't work from
the interactive Scheme prompt, while the others do.

I'd also like to suppress the "There are unsaved files. Really quit?"
message: that is, silently quit without asking.

Any suggestions?


Tobia



Archive powered by MHonArc 2.6.19.

Top of page