...the requirement is to be able to print the final document onto paper, with precise control over the placement of elements. The document will be printed double sided, and elements on opposite sides of the sheet need to line up to within a millimetre or so. I know that PDF will meet that requirement, but I don't know of any other format that will

Yes, that strict print requirement precludes using HTML.

You looked into Cairo and SVG as intermediate formats but not any of the venerable print document formats? I guess it's an indication of how much the web has eclipsed print that its document formats are being lost to obscurity:

FormatModules
PostScriptCPAN (287 found)
TeXCPAN (156 found)
ODF (Open Document Format)CPAN (28 found)
DVI (Device independent)CPAN (14 found)

PostScript and TeX go way back, while ODF is new.


In reply to Re^3: Generating multi page PDF with bitmap images, vector graphics and text. by tod222
in thread Generating multi page PDF with bitmap images, vector graphics and text. by chrestomanci

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.