OpenOffice, RTF files, “fields”, and the irritating RTF keyword “MERGEFIELD”

https://en.wikipedia.org/wiki/Rich_Text_Format AKA RTF, filename extension “.rtf”; a Microsoft standard https://en.wikipedia.org/wiki/OpenOffice http://shop.oreilly.com/product/9780596004750.do – RTF Pocket Guide http://interglacial.com/rtf/ – RTF Pocket Guide (home page) http://interglacial.com/rtf/emacs/ – emacs RTF mode Once a year my accountants send me RTF files (“.rtf”) with “fields“. “fields” have “names” and “values“. Microsoft Office (presumably) deals properly with displaying and printing the field values. On OS… Continue reading OpenOffice, RTF files, “fields”, and the irritating RTF keyword “MERGEFIELD”

O’Reilly Media book: RTF Pocket Guide

https://en.wikipedia.org/wiki/Rich_Text_Format http://shop.oreilly.com/product/9780596004750.do http://search.cpan.org/search?dist=RTF-Writer http://search.cpan.org/dist/RTF-Writer/lib/RTF/Cookbook.pod https://metacpan.org/pod/distribution/XML-SAX-RTF/RTF.pm – “… generates XML that closely matches the structure of RTF …” — tells me “not well-formed (invalid token) …” with my very 1st sample — gave up on it