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

Split option names files incorrectly #6

Closed
twinj opened this issue Aug 17, 2016 · 7 comments
Closed

Split option names files incorrectly #6

twinj opened this issue Aug 17, 2016 · 7 comments

Comments

@twinj
Copy link

twinj commented Aug 17, 2016

If I use the -split option with 10 files are named - Paper.pdf_10.js, _20.js, _30.js...

However if i split with 1 or 5 (the two i tried) the count begins at 2 or 10 on the 2nd nth factor.

I am using windows 8 64bit

@futureweb
Copy link
Contributor

I got the same Problem ... any fix for this?

@futureweb
Copy link
Contributor

futureweb commented Mar 16, 2017

@flexpaper - just tried it with latest version (updated ImgOutputDev.cc) - but this is not really working ... it's creating a filename-1.js File now - but that's empty ... and it still creates filename-maxPages+1.js ... if a PDF got 10 Pages - it creates 11 JS now with first one simply empty ...
It's always "actual page+1".js ...

@futureweb
Copy link
Contributor

futureweb commented Mar 16, 2017

@flexpaper - I'm not 100% sure if this Change will work in every case ... but with split=1 it works for me ... feel free to merge the Pull request after you verified it works ... ;-)

Pull Request: #12

@flexpaper
Copy link
Owner

Did you supply the conversion tool with the "-split 10" parameter ?

@futureweb
Copy link
Contributor

tested with 1 and 10 - booth working as far I can see

@futureweb
Copy link
Contributor

@twinj - could you maybe confirm that it's working for you too? So @flexpaper can close the issue? ;-)

@flexpaper
Copy link
Owner

Fixed in 0.69

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

No branches or pull requests

3 participants