Fixed routes with formats
Export to PDF. Fixes #33