Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Maxima/TeXmacs interaction with custom variable

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Maxima/TeXmacs interaction with custom variable


Chronological Thread 
  • From: "Andrey G. Grozin" <address@hidden>
  • To: Sébastien Lion <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] Maxima/TeXmacs interaction with custom variable
  • Date: Wed, 23 Nov 2005 23:23:44 +0600 (NOVT)

On Thu, 17 Nov 2005, S?bastien Lion wrote:
I recently began to use maxima and TeXmacs (I'm pretty new to both softwares) and I'd like to have the following behaviour :
1) have texmacs to display \bar{\phi} when I input ihp in maxima
2) be able to copy the output, paste it into a maxima input field and get ihp back.
I am not sure the result is worth the efforts. This is not a trivial task.

I managed to get behaviour (1) by adding the following line to texmacs-maxima-5.9.2.lisp :
(defprop $ihp "\\bar{\\phi}" texword)
but this does not allow copy and paste of the output. I tried to create a texmacs style and I also tried to hack maxima-input.scm to get this behaviour, but did not succeed.
I think the only way is to hack maxima-input.scm.

Could someone help me with this matter? Also, how could I do this without modifying the system-wide files of the maxima plugin?
Copy all files into proper directories in, say, ~/.TeXmacs/plugins/mymaxima
edit them to your heart's content, and start mymaxima sessions from TeXmacs

Andrey




Archive powered by MHonArc 2.6.19.

Top of Page