dotted hfill (was: [cl-typesetting-devel] HTML rendering)

Marc Battyani marc.battyani at fractalconcept.com
Thu Apr 22 11:17:06 UTC 2004


"Arthur Lemmens" <alemmens at xs4all.nl> wrote:
> Marc Battyani wrote:
>
> > We were talking about computing the widths of the columns from the
content
> > of the cells in tables.
> > Is this what you have ?
>
> That depends on your definition of 'tables' ;-)

The real context here is printing (X)HTML documents so it's HTML like
tables.

> The CLIM model is basically a nested hierarchy of boxes ('panes' in
> CLIM's terminology), pretty much like TeX. Each box has a space
requirement,
> indicating its minimum, preferred and maximum width/height. COMPOSE-SPACE
> computes the space requirements for an entire 'tree' of boxes by combining
> bottom-up requirements from leaf panes with top-down requirements that
> result from the call to COMPOSE-SPACE. ALLOCATE-SPACE gives actual
positions
> and dimensions to all boxes; it distributes all 'slack space'.

The box model is popular! In cl-typesetting I've also added compression and
expansion coefficients.
But the problem here is to compute the columns boxes parameters. From these
the layout is already done.

> I'm not sure if this has some relationship to the way you handle tables.
> (I don't have time right now to look at CL-TYPESETTING. I must prepare
> my talk for the Benelux Lisp meeting next Sunday. You wouldn't be in
> the neighbourhood of Amsterdam on Sunday, by any chance?)

No, sorry. I think we will all meet at the ILC2005 in Paris :)

> Anyway, I've included my code. You can use it any way you like.

OK I will have a look at it.

Thanks

Marc





More information about the cl-typesetting-devel mailing list