-
-
Notifications
You must be signed in to change notification settings - Fork 710
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
Code relying on the method make_bookmark_tree doesn't work since release 53.0 #1428
Comments
@liZe we depend on make_bookmark_tree pretty much due to the way we generate our bookmarks. You might remember #1121 (comment) and we run this in production. We cannot upgrade to 53.0 due to this issue. What we do is
So we really rely on getting all the bookmarks from the PDF. Can we sponsor this (we are a bronze sponsor/supporter). Any chance to get some work on this issue? Thanks |
I'm posting the solution I found. Hopefully it can help someone with the same problem.
can be replaced with
Consider that, of all the information returned from |
@vicmion thank you for the workarround. @liZe considering that this custom code operates on a internal data-structure and we already have 3 people requiring the What are your thoughts? |
@liZe thank you for implementing that quickly! Awesome! |
Hello! |
Hello,
I just noticed that the method make_bookmark_tree of the class Document has been dropped since release 53.0
I was relying on that method to automatically generate an Index table at the beginning of a document.
Is there a way to make it work with the new version of weasyprint?
I took a look at this issue #1420 but couldn't find a solution.
Thanks
The text was updated successfully, but these errors were encountered: