Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A LaTeX documentclass with the draft option doesn't produce a list of names that can be used to split the PDF #261

Open
christianp opened this issue Sep 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@christianp
Copy link
Collaborator

For a document item, Chirun looks at the /Root/Names part of the PDF's trailer to find the location of each page.

When the draft option is given to the \documentclass command, pdflatex doesn't produce this list of names, so Chirun fails with an error 'PDFPageLookup' object has no attribute 'dests'.

To begin with, we should throw a better error message when we can't get the list of names. Maybe it should also just give up on splitting the PDF and only use the original file.

@christianp christianp added the bug Something isn't working label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant