Batch change character properties (bold, color, etc)

asked 2016-11-27 00:36:29 +0100

dvadell gravatar image

Hi,

I have 30 files with dictionary-like format:

word: notes about it

another word: notes about it.

I want the part behind the ':' to have a grey background, because it get's lost in all the definitions and paragraphs.

I know how to do it for one file, with the "Alt Find and replace" extension and regexes, but I have 30 of them :/

Does anybody has any idea on how to do something like this? I appreciate pointers to documentation, random ideas... anything.

Tools: I've been using unoconv (a command line tool) to apply a template to the 30 files in batch. I can unzip the ODT file an sed/grep/awk/perl on the xml files.

Thanks in advance!

edit retag flag offensive close merge delete