1836 latex docs fail

Here is a patch for the latex documentation to build properly.

A previous attempt was here #1930, using the enumitem package, but the option we need is only available with some very recent version this package.