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

Adding option to prepend cover to TOC #57

Merged
merged 1 commit into from
Sep 6, 2016
Merged

Adding option to prepend cover to TOC #57

merged 1 commit into from
Sep 6, 2016

Conversation

pdelsante
Copy link
Contributor

In #23, @signalkraft proposed to always prepend cover to TOC by switching the order of the command line arguments.

This is, IMHO, the right thing to do, but it would change pdfkit's previous behavior. This PR adds to each API one more parameter that lets you choose which one you want to go first between cover and TOC.

The new parameter, cover_first, will default to False, so the default behavior will stay exactly the same.

@JazzCore JazzCore merged commit 3995863 into JazzCore:master Sep 6, 2016
JazzCore added a commit that referenced this pull request Sep 6, 2016
JazzCore added a commit that referenced this pull request Sep 6, 2016
@JazzCore
Copy link
Owner

JazzCore commented Sep 6, 2016

Thanks!

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