Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

add optional Outline dictionary (Table of Contents metadata) to pdf backend #20492

Copy link
Copy link
Open
@nicoa

Description

@nicoa
Issue body actions

Problem

When concatenating multiple Plots via PdfPages (from backends.backend_pdf) I am interested in having a proper table of contents navigation in the sidebar of my PDF viewer (I first posted this question here). As far as I can see from the code this is neither possible out of the box with the current implementation, nor easy to "hack in" during runtime.

Comparing the adobe reference (section G.5), one would need to add the outline keyword as well as titles for the respective pages (coming optionally from pdf.savefig in PdfPages or similar).

Unfortunately I'm a bit overwhelmed by the code and not sure if I can contribute this. Please let me know if some extension of the functionality like this is appreciated at all and I'll dig more into this then and see what I'm able to achieve here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.