Philip, attached are three files: a first try at an enhanced check_preferred.pl script a modified preferred_forms input file (see comments) a test docbook file
I think I can get there but I have to iron out a couple of things first (fine tune regexes, translate slurped files character positions into line:char positions). Advice welcome (sorry about the indentation, I can't tame my XEmacs to get away from my default two-character indentation). Regards, Tom Browder -------------- next part -------------- A non-text attachment was scrubbed... Name: check_preferred2.pl Type: application/x-perl Size: 3346 bytes Desc: not available Url : http://mail.kde.org/pipermail/kde-doc-english/attachments/20060913/a4e858ff/attachment.pl -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: preferred_forms Url: http://mail.kde.org/pipermail/kde-doc-english/attachments/20060913/a4e858ff/attachment.bat -------------- next part -------------- A non-text attachment was scrubbed... Name: test.docbook Type: application/docbook+xml Size: 2643 bytes Desc: not available Url : http://mail.kde.org/pipermail/kde-doc-english/attachments/20060913/a4e858ff/attachment.docbook
