Attempt to fix PDF build errors for french docs.