Latex completion in string, fix #8983

This enables Latex completion in strings as suggested in #8983.