<br><br><div class="gmail_quote">On 14 February 2011 19:04, Mike Evans <span dir="ltr">&lt;<a href="mailto:mike@tandem.f9.co.uk">mike@tandem.f9.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I would suggest you look at XML and XSL-FO rather than HTML<br>
<br>
<a href="http://en.wikipedia.org/wiki/XSL_Formatting_Objects" target="_blank">http://en.wikipedia.org/wiki/XSL_Formatting_Objects</a><br>
<br>
If you&#39;re not scared of Java then there is always the apache FOP project which is a XSL-FO print driver.  One set of mark up can be transformed into any of: PDF, PS, PCL, AFP, XML (area tree representation), Print, AWT and PNG, and to a lesser extent, RTF and TXT.<br>

<br>
There are also XSL-FO processors for C/C++ and probably Python, though I&#39;ve never used them.<br><font color="#888888">
<br>
Mike</font><div><div></div><div class="h5"><br><br></div></div></blockquote><div><br></div><div>Brain Melt Down.</div><div><br></div><div>Its a file format then? So are there standard tools for dealing with it right or what?</div>
<div><br></div><div>I don&#39;t understand....</div><div><br></div><div><br></div><div>Peter. </div></div>