Add bookname
Escape for tex
Add stupid pdf generation