Enclose \ldots with {}

Fixes #5787, change made directly from within Github. Haven't run the test suite.
Update test_latex.py to match {} around \ldots
Merge pull request #5948 from joergdietrich/patch-1

Enclose \ldots with {}