Not that pagination is overly complicated. Pagination is a simple process that involves shifting a couple of boxes downward whenever that box crosses a pagebreak.
The whole content is already laid out (ignoring all breaks so far) and now all I have to do is the simple shifting. But I cant. It involves logic and mathematics (addition, subtraction, nothing else). Logic and maths trigger something deep inside me – and a simple task becomes a living nightmare.
Now I’m really glad that LibLayout’s rendering follows such a strict separation of concerns. At least I can be sure that the common layouting works. This really makes it easy to locate the place where things go wrong.
Ahh, sooner or later, after long nights of coding, this thing will start to work. If everything fails, I can still resort to the more approach and start to summon a daemon or two to help me on that. They still owe me a favor for the ‘extended-XML’ format. This one most certainly caused more cursing than any rush-hour traffic-jams on the A5 in Frankfurt.