HOWTO document Maxima sessions?



On Fri, 7 Nov 2003, Richard Fateman wrote:

Yes, you are right, I am using FreeBSD and cannot compile
Texmacs.

But your answer reminded me of an archaic tool on my system:
	# script

This will protocol all actions taken on my terminal to a simple
textfile called typescript (per default). So I can record my
complete maxima session with all in- and outputs.

As someone else hinted, I can put in comments this way
(C1) /* This is a comment */

This makes me nearly happy.

1) Could I reload this file somehow into maxima?
2) Could there be something similar in xmaxima?

Regards,

Uli.

> My experience is that I can do much of what I want
> by opening an output file so that everything I type
> and the system types back goes into a file.
> More useful generally is to try stuff out, but compose
>  a "batch" file of macsyma commands that are all correct..
>
> If appropriate for running through TeX,
> I can pasting in the typeset output that I want from running
> the tex command.
>
> This requires some hand editing, especially if you want to
> break elaborate lines in TeX in some sensible way.
>
> look at the command "playback" also.
>
> TeXmacs might solve your problem too,  but my sense is that you are
> not using it, otherwise you wouldn't be asking.
>
> RJF
>
> Andrey G. Grozin wrote:
>
> >Hello,
> >
> >On Fri, 7 Nov 2003, Peter Ulrich Kruppa wrote:
> >
> >>I wonder what would the most reasonable way to document my Maxima
> >>sessions. I don't need a perfect latex layout, but something like
> >>Maple's worksheets.
> >>
> >GNU TeXmacs is a good solution here (http://www.texmacs.org). I'd
> >recommend to install the newest version (1.0.2.6), because I have improved
> >Maxima support in this version a lot.
> >To make things look more like Mathematica (ot Maple) notebook, you can use
> >Document -> Use package -> Program -> varsession
> >
> >
> >>A document should contain
> >>- all statements I put in,
> >>
> >Naturally.
> >
> >
> >>- Maxima's output (including graphics),
> >>
> >Including graphics requires some hand-work. When you run a plotting
> >command in Maxima, you get a separate Tk window with the plot. You can do
> >some things with this plot (move, scale, rotate...). When you are
> >satisfied, just save it as eps file via the menu, and include this file
> >into your TeXmacs document in the standard way.
> >
> >I was told that menus in these plot windows don't work with some window
> >managers. I use KDE, and everything works perfectly for me.
> >
> >
> >>- my additional comments (about the problem, I am trying to
> >>  solve, the steps I took, my interpretation of the results).
> >>
> >Use "Insert text field" via the menu to insert comments into your session.
> >You can use high-quality formulae (nicely rendered by TeXmacs) inside
> >these comments.
> >
> >Andrey
> >
> >
> >_______________________________________________
> >Maxima mailing list
> >Maxima@www.math.utexas.edu
> >http://www.math.utexas.edu/mailman/listinfo/maxima
> >
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>

		+-------------------------+
		|   Peter Ulrich Kruppa   |
		|      - Wuppertal -      |
		|         Germany         |
		+-------------------------+