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

Allow user to preserve PDF names #163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KWkyle
Copy link

@KWkyle KWkyle commented Jul 11, 2019

Hi

We use wkhtmltopdf to convert PDF, it provides --dump-outline to export a XML that
contains document outline and PDF detination names.

wkhtmltopdf allows special link destination that matches PDF destination names to be
converted as PDF links. (ie _WKANCHOR*), which allows generating custom ToC page.

We use CombinePDF to merge the toc pdf and content pdf, but we found the linking feature won't work
due to CombinePDF automatically rename named destinations.

This is a patch that add a new option preserve_names, to allow user to merge two PDF without renaming destinations.

Thanks

@romarioliveira25
Copy link

Hello @KWkyle, is working this change? I'm also have experiencing some issues with outlines when merging after create with wkhtmltopdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants