[triangle-zpug] Looking for ways to generate rich text format

Chris Calloway cbc at unc.edu
Tue Apr 1 00:45:36 CEST 2008


On 3/31/2008 2:18 PM, Billy Saelim wrote:
> I am new to Python and wonder if there is anything other than PyRTF that 
> could generate RTF. Please let me know if you have any recommendation.

Hi, Billy. Haven't seen you since Camp 5.

Suggestions have been to use an intermediate format and convert to RTF 
with external libraries (html2rtf, xml2rtf, tex2rdf).

If it's any consolation, the Ruby, PHP, Perl, and Tcl modules which deal 
with RTF are about in the same state as PyRDF. So there must be some 
wall developers run into when trying to implement an RTF module from 
scratch. Plus, M$ keeps changing the RTF spec. Also, not all RTF editors 
can read the full RTF spec. So if the problem is your RTF writer is 
making some document which cannot be read into Wordpad, that may be why.

The PyRTF developer has a blog that is active:

http://oubiwann.blogspot.com/

Maybe ping him if there is something you are stuck on.

I think he's the guy who made the keynote announcement about the new 
Twisted Software Foundation at PyCon.

You probably want to get this:

http://www.oreilly.com/catalog/rtfpg/

I guess I should request it from O'Reilly for a door prize. :)

-- 
Sincerely,

Chris Calloway
http://www.secoora.org
office: 332 Chapman Hall   phone: (919) 599-3530
mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599







More information about the TriZPUG mailing list