Subject: mailing-list for TeXmacs Users
List archive
From : Peter Rapčan <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] TeXmacs as a Maxima frontend on Mac OS X
- Date: Thu, 31 May 2007 21:13:52 +0200
Hi Tobia,
Could you please expand on how you wrapped TeXmacs in an application to be usable in the dock? Can this be done in a dynamical way, i.e. with no need to repeat the whole process after updating TeXmacs via fink? Is there a way to do the above in such a manner that one sees the direct output (say in a separate window) as you do when you run TeXmacs from Xterm?
Thanks,
Peter
On May 31, 2007, at 7:44 PM, Tobia wrote:
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
- TeXmacs as a Maxima frontend on Mac OS X, Tobia, 05/31/2007
- Re: [TeXmacs] TeXmacs as a Maxima frontend on Mac OS X, Peter Rapčan, 05/31/2007
Archive powered by MHonArc 2.6.19.