MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How the final "typeset" expression of TableForm is generated?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119505] Re: How the final "typeset" expression of TableForm is generated?
  • From: Alexey Popkov <lehin.p at gmail.com>
  • Date: Tue, 7 Jun 2011 06:46:45 -0400 (EDT)
  • Reply-to: comp.soft-sys.math.mathematica at googlegroups.com

Thank you for the explanation. Is the conversion of the GridBox options the only case when the FrontEnd modifies an expression sent by the kernel or there are other cases?

Alexey


----- Original Message ----- 
From: "John Fultz" <jfultz at wolfram.com>
To: <lehin.p at gmail.com>
Sent: Tuesday, June 07, 2011 12:21 AM
Subject: [mg119505] Re: How the final "typeset" expression of TableForm is generated?


On Mon, 6 Jun 2011 18:38:16 +0500, Alexey Popkov wrote:
>> The issue is that the front end has two different specifications for
> specifying
>> GridBox options...one of which dates back to version 3, and the other,
>> more
>> expansive set dates to version 6.  The front end understands both sets
>> of
>> options, but canonicalizes anything it receives to the version 6
>> options.
>>
> Which set of options we get by evaluating "ToBoxes[TableForm[{1}]]": new
> or
> legacy? How a user can convert one set to another?
>
> Alexey

ToBoxes[] of TableForm is creating the legacy options, as there's been no need 
to update the typesetting of TableForm in a while (ToBoxes[] of Grid, on teh 
other hand, uses modern options).  The conversion is done by the front end.  You 
could rely on the front end to do the conversion for you, or you could figure 
out how the options map yourself.  I don't think it's terribly difficult to 
figure it out, but I'm not going to dig it up for you...I just don't have time.

Sincerely,

John Fultz
jfultz at wolfram.com
User Interface Group
Wolfram Research, Inc.


  • Prev by Date: How to group data then apply functions to the grouped data?
  • Next by Date: Re: Cool FTP implementation with "minimal" Python
  • Previous by thread: Re: How the final "typeset" expression of TableForm is generated?
  • Next by thread: COLLATZ Conjecture - proven?