Forum How do I...?

Default XHTML with CSS template for business correspondance

laurentsj
Hello to all at Prince

Is there not some default css stylsheet we could have to start using Princexml for every day business correspondance ? i love the speed of Textmate, and would love a css that is optimized for PrinceXML.

Thanks a lot.

Laurent
laurentsj
I guess Yes, there is one: the default "fonts.html"

Sorry for not checking your files out in depth !
howcome
I'm using Prince, HTML and CSS for my "office" documents. That is, I edit a text file in emacs, run it through Prince to get a PDF file, and then print/archive the PDF file.

Here is an example, lightly sprinkled with microformats.

http://www.princexml.com/howcome/2007/letter/index.html
http://www.princexml.com/howcome/2007/letter/index.pdf

The PDF file can be generated by running:
<pre> prince -o letter.pdf http://www.princexml.com/howcome/2007/letter/index.html</pre>Technically, it's also possible to scan you signature and insert it as an image. It may not be legally valid, though.

I'd be interested in getting feedback on the class names I've been using in the example. Perhaps we should propose a microformat for correspondance?