add scripts for generating pdf for bsook text