gitignore, fix pdf creation