[luatex] vpack filter question

Patrick Gundlach patrick at gundla.ch
Thu Dec 9 09:24:48 CET 2010


Hi,

(thanks for your answers, Paul and Taco)

>> Anyway it'd be nice indeed to have a switch for node.dimensions which
>> measure either vertically or horizontally.
> 
> Vertical lists are usually short and consist of boxes and glues
> for which all dimensions are already known, so it should be pretty
> simple to write a lua function for that. The case for horizontal
> lists is a lot harder to do in lua because of the need to fetch
> font dimensions.

So, would it be (in theory) possible to have node.dimensions(...) behave "correct" in both directions (hlist.list, vlist.list)? Does the list itself know whether it is a vertical or a horizontal list? I'd guess the answer is 'no'.

Patrick




More information about the luatex mailing list