Skip to content

added support for multi-source input#53

Open
knassar wants to merge 2 commits into
devongovett:masterfrom
knassar:cover-toc-multi-page
Open

added support for multi-source input#53
knassar wants to merge 2 commits into
devongovett:masterfrom
knassar:cover-toc-multi-page

Conversation

@knassar

@knassar knassar commented Oct 13, 2015

Copy link
Copy Markdown

this adds support for the multi-file concatenation features of the underlying wkhtmltopdf library, including cover-page and TOC generation, with options on a per-source basis.

Also, added a couple of basic tests while I was working on this.

also, added basic tests
@knassar knassar changed the title #33: added support for multi-source input added support for multi-source input Oct 13, 2015
@devongovett

Copy link
Copy Markdown
Owner

Cool, thanks for adding some tests too. We should see about possibly testing the generation of command line args more thoroughly as well, rather than actually generating a PDF every time. That will be faster.

@knassar

knassar commented Oct 25, 2015

Copy link
Copy Markdown
Author

That would be faster. Want me to make those changes to the tests?

@devongovett

Copy link
Copy Markdown
Owner

That would be great, thanks!

@knassar

knassar commented Oct 26, 2015

Copy link
Copy Markdown
Author

The two tests now just compare the generated CLI args against expected, instead of running the wkhtmltopdf bin. You'll need to do another npm install, as I added a dependency on rewire for tests in order to mock out the private execution code.

@zxlin

zxlin commented Apr 14, 2016

Copy link
Copy Markdown
Collaborator

@knassar Thanks for the contribution, can you refactor it and I'd be happy to pull it in.

@davesag

davesag commented Jun 9, 2016

Copy link
Copy Markdown

👍 exactly what I need.

@chamnap

chamnap commented Jun 20, 2016

Copy link
Copy Markdown

When can it be merged? +1

@zxlin

zxlin commented Jun 20, 2016

Copy link
Copy Markdown
Collaborator

@chamnap: the repo's changed a lot since this PR was made, we'd need someone to refactor this before I can pull it.

@knassar

knassar commented Jun 20, 2016

Copy link
Copy Markdown
Author

Would love to get this merged, but I currently don’t have time to refactor the PR to match the repo. Will be happy to tackle it when I have a window, but not sure when that will be.

—Karim

On Jun 20, 2016, at 2:25 PM, Zhi Xiang Lin notifications@github.com wrote:

@chamnap https://github.com/chamnap: the repo's changed a lot since this PR was made, we'd need someone to refactor this before I can pull it.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #53 (comment), or mute the thread https://github.com/notifications/unsubscribe/AATQm-HK_r6dMqwjkR1VVSgSQz_jByfSks5qNtsUgaJpZM4GOJ0p.

@DrMabuse23

Copy link
Copy Markdown

is it possible to use it with a blank string ?

This was referenced May 11, 2021
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.

6 participants