A LaTeX2e package to detect trailing punctuation and act accordingly