Structs and display2d



On Sun, Dec 2, 2012 at 8:10 PM, Robert Dodier <robert.dodier at gmail.com>wrote:

> On 2012-12-03, Stavros Macrakis <macrakis at alum.mit.edu> wrote:
>
> > Display with display2d=false, string, and grind should produce output
> that
> > is suitable for input to Maxima. * In addition*, 'grind' tries to indent
> > nicely (pretty-print) -- see below.  The documentation for display2d
> should
> > probably be improved to clarify this.
>
> It's OK by me if display2d=false and grind both produce readable output.
> (In fact DISPLA punts to MGRIND so they are actually the same.)
>

It has always been the intended and actual behavior of display2d=false,
string, and grind to produce the standard linear, readable form of Maxima
expressions.

The fact that the documentation of display2d doesn't say this should not be
overinterpreted; it is simply a lacuna in the documentation.

Volker, about your original problem, to get unreadable (i.e. nice)
> output, you could just have something like:
>
>   block ([display2d : true], print (build_info ()));
>
> best,
>
> Robert Dodier
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>