Tom, the best way is a practice, just try to explore "how it works". As example you can use existing highlights, like:
*help perfkit tasks* and compare the output and source file: PERFKIT HELPTASK. The keyword is QUERY CTLCHAR. 2011/4/6 Tom Huegel <tehue...@gmail.com> > Can anyone point me in the right direction? > > -- WBR, =Maxim Bochagov IBM Russia, PTK development team