Hello Alix,
Doing a layout for an unstructured stream of text in a fixed width typeface (such as in the link you posted) is quite simple, but - as far as I can fathom - is still beyond the current DDoc. Using variable width typefaces, indentation, borders, emphasis, etc. to try and produce a PDF with the same visual style as that which can be easily achieved using the current HTML macros would be very difficult (though I'm not going to go so far as saying its impossible).
IIRC pdf is built on PS and PS is Turing compleat, you might be able to do all the processing in PS and just slap the DDoc content is as data.
-- ... <IXOYE><
