show lines in which Sweave syntax has been encountered

- also fix reason why errors remained after conversion:
    - detect T and F in addition to TRUE and FALSE when converting Sweave syntax

Fixes #675.