/*
ok, here's the idea:
- for each possible page-folding
config:
- create a GNG from the
possible space occupied by the
edges around the paragraphs
- turn it into a MST
- locate the possible starting and
stopping points
- find the path
- create a bezier along it
- make sure we don't overlap the
paragraphs, otherwise
rerun with stronger boundary
padding
- render the edge text to svg
- create a place-on-path version
of it
- render it to PDF
*/
I merely have to implement :-/
@saper Well, a hackish SVG munching, thrown together with some LaTeX and Tikz ;)
@sciss looks like trying to make rounds around PostScript :) I have to admit I fell in love the first time I did a 2D vector project in PS.