Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] mathematical input doesn't work with maxima

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] mathematical input doesn't work with maxima


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] mathematical input doesn't work with maxima
  • Date: Tue, 7 Sep 2010 12:39:19 +0200

Dear all,

The bug has been fixed for the next version 1.0.7.7.

Best wishes, --Joris


On Mon, Sep 06, 2010 at 01:54:17PM -0400, Kostas Oikonomou wrote:
> Hi Maxim,
>
> Thanks for replying.
>
> To answer your first question, no, if I type anything after the "?", it
> doesn't work. Texmacs seems to be stuck.
>
> I read the post you reference in the Texmacs users mailing list. I think
> Joris' suggestion is to use the "cond" statement to condense the sequence
> of "when"s. I don't know much about Scheme programming either, but I
> could give it a try. But I don't know exactly what the "when" statement
> does. It is not in the Scheme manuals I've looked at, and it is not in
> Guile either.
>
> Kostas
>
> On 09/ 5/10 12:12 PM, Maxim Nikulin wrote:
>> Dear Kostas,
>>
>> I read the list through news.gmane.org, so I can not post to
>> texmacs-user. I think, the reply should be sent to the list.
>>
>> Kostas Oikonomou wrote:
>>>
>>> I just noticed that with TeXmacs 1.0.7.3 and 1.0.7.5 (on OpenSolaris),
>>> mathematical input in a maxima session doesn't seem to work any more.
>>> If I type something, say (a+b)^2, and press return, a red question
>>> mark comes back.
>>
>> Does it work if you try to input something next time?
>>
>> https://lists.texmacs.org/wws/arc/texmacs-users/2009-09/msg00062.html
>>
>> As a workaround I use (in 1.0.7.3)
>>
>> --- ~/.TeXmacs/progs/my-init-texmacs.scm ---
>>
>> (lazy-menu (mydynamic mysession-menu) session-menu)
>>
>> -----
>>
>> --- ~/.TeXmacs/progs/mydynamic/mysession-menu.scm ---
>>
>> (texmacs-module (mydynamic mysession-menu)
>> (:use (dynamic session-edit)))
>>
>> (texmacs-module (dynamic session-edit))
>> (define (field-update-math t)
>> (if (session-math-input?)
>> (when (tm-func? (tree-ref t :up) 'document)
>> (when (tree-in? t '(input))
>> (tree-assign-node! t 'input-math))
>> (when (tree-in? t '(folded-io))
>> (tree-assign-node! t 'folded-io-math))
>> (when (tree-in? t '(unfolded-io))
>> (tree-assign-node! t 'unfolded-io-math)))
>> (when (tm-func? (tree-ref t :up) 'document)
>> (when (tree-in? t '(input-math))
>> (tree-assign-node! t 'input))
>> (when (tree-in? t '(folded-io-math))
>> (tree-assign-node! t 'folded-io))
>> (when (tree-in? t '(unfolded-io-math))
>> (tree-assign-node! t 'unfolded-io))
>> ; There should be a better way than just clear the field.
>> ; Copy from input-math to input field converts the expression
>> (tree-assign (tree-ref t 1) '(document "")))))
>>
>> -----
>>
>> I do not know whether it has side effects.
>>



Archive powered by MHonArc 2.6.19.

Top of Page