After more tests on both internal and customs styles
It looks like its back to the drawing board,although the above method does work with many styles, it is still inconsistent with many others.
I post, as I would not wish anyone to be misled by my previous post.However do try it for yourself.

Gilbert.