PDF layout system that uses the same data structures as HTML::Template
