fix doc and generate a pdf