fix #4 Adding in loop controls for rst directives.