Use id to generate pdf
Remove unwanted options
Cosmetic
Merge pull request #40 from kdmsnr/pdf

Use id to generate pdf