Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] /tmp/foo permission problem

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] /tmp/foo permission problem


Chronological Thread 
  • From: Robert Jerrard <address@hidden>
  • To: "Andrey G. Grozin" <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] /tmp/foo permission problem
  • Date: Thu, 06 Oct 2005 09:34:05 -0600

On Thu, 2005-06-10 at 14:30 +0700, Andrey G. Grozin wrote:
> Maxima numbers inputs sent to it sequentially, without gaps. Suppose
> we have
>
> (%i10) blablabla;
>
> (%o10) blablabla
>
> (%i11)
>
> The user edits the line (%i10) and sends it to Maxima. Maxima *knows* that
> this is the line (%i11), and there is no way (as far as I can tell) to
> tell it that it is something different. This fact does not depend on the
> contents of the TeXmacs window.

I see, I think. So TeXmacs simply displays the line numbers sent to it
by Maxima? When a command is run the only thing sent by Maxima is an
ouput number followed by a new input number. That is, if we now edit (%
i10) and hit enter, Maxima generates (%o11) and (%i12) with the output
of the (%i10) command and a new input line. TeXmacs leaves the label on
(%i10) as is since it does not receive a label from Maxima for that
input. Correct?

> We really can change (in TeXmacs) the input prompt of the current line,
> when the user sends it to Maxima, to be the latest prompt. This requires
> some non-trivial changes in TeXmacs, but this is doable. When the user
> edits the line (%i10), [s]he sees
>
> (%i10) blabla2;
>
> (%o10) blablabla
>
> (%i11)
>
> Then [s]he presses Enter, and sees
>
> (%i11) blabla2;
>
> (%o11) blabla2
>
> (%i11)
>
> Is this the behaviour you want? If so, this can be done,═though some
> non-trivial work is required.

If you re-label the (%i10) to (%i11) wouldn't the result be:

(%i11) blabla2;

(%o11) blabla2

(%i12)

since Maxima sends (%o11) and a new input label (%i12)?

Of course, if you edit an early enough input line I can see still
getting duclicate input number, just further apart, but that is easily
fixed by re-running the later inputs. I like this better than the
current situation at least.

Hmmm :-I, the other approach would be to remove all labels. The purpose
(in my mind at least) of the cell labels is to be able to tell the order
in which the input cells have been run and to associate input and output
cells. It seems that neither of these aims are easy to fully meet.
Perhaps the better part of valour is to remove the labels completely. It
least then the labels would not be misleading.

What do you think? Bob
--
Dr. Robert J. Jerrard, Professor of Mathematics,
Concordia University College of Alberta,
7128 Ada Blvd., Edmonton, Alberta, T5B 4E4, Canada.
Phone: (780) 479-9291, Fax: (780) 474-1933.




Archive powered by MHonArc 2.6.19.

Top of Page