Made LaTeX test more permissive; Added doc.
Adapted to new mikenchin API.