Zbigniew Komarnicki <cblasius at gmail.com> writes:
> On Wednesday 13 of February 2013 19:47:16 Robert Dodier wrote:
>> Here's a short patch which causes 'batch' to display the input
>> expression in 1-d format (i.e. sans pretty printing), which I guess
>> is what you want.
Robert: I think this makes much more sense, but I don't really know how
anyone uses batch except for as batch(test.mac, 'test), so maybe I'm not
qualified to have an opinion here!
> To Rupert Swarbrick, as I mention above I work a lot with matrices
> and when I obtain a result I simply copy it into comment in my file
> after given command, but this is very tedious and boring. Why? If
> I make a mistake I must Ctrl+C and Ctrl+V into console maxima
> the commands, and then Ctrl+C and Ctrl+V the result to my file,
> for example:
I'm sorry, I don't quite understand what you do. Presumably, you don't
replace your entire input file with the output from running batch()
(since that wouldn't comment the outputs, among other things). So you
must be copying and pasting parts of the output, no matter what the
format the input is echoed?
Have you considered using load() to load your work and then adding
explicit calls to print() when you want to see intermediate steps?
Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130213/09450184/attachment.pgp>