[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: regression tests

From: Carl D. Sorensen
Subject: RE: regression tests
Date: Tue, 11 Sep 2007 10:10:00 -0600


> -----Original Message-----
> From: Kieren MacMillan [mailto:address@hidden 
> Sent: Tuesday, September 11, 2007 8:02 AM
> To: Graham Percival
> Cc: lily-devel
> Subject: Re: regression tests
> Is there any (automatic) way to generate a COMPLETE list of 
> user- settable properties (and their defaults) for each grob?
> I mean, having TeXInfo actually drill down into all of the 
> interfaces, etc.?

If I understand correctly, the program reference already contains the
complete list of user-settable properties for each grob.

Under the current architecture, defaults will be difficult, if not
impossible, because of the way properties are handled.  Default property
values are not passed to the routines; the absence of a property
indicates that the routine should use the default value.  Also,
properties don't have a certain system-wide default value.  Thus, you
can't say that the default value of property "foo" is "bar".  It might
be "bar" when applied to the "grackle" grob, and "baz" when applied to
the "frobozz" grob.

The automatic documentation of properties is developed from a
grob-independent list.  Thus, there is only one internal documentation
point for "size", not one point for each grob that uses size.

Carl Sorensen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]