Some questions for this very nifty tool, unfortunately lacking many usage examples.
- Manual speaks of a possible “Reduced Functionality” for wkhtmltopdf. I have version
wkhtmltox-0.11.0_rc1-installer.exe
, by runningwkhtmltopdf --version
what should I read to understand whether my version is the reduced one or not? - Currently I like wkhtmltopdf for webpages I want to read later and/or store. To mirror webpages I use httrack, then I generate the PDF with
wkhtmltopdf *.html offline.pdf
. How can I set/specify the first PDF page from the *.html list? Currently they seem to be converted in alphabetical order. - If I run
wkhtmltopdf toc http://qt-project.org/doc/qt-4.8/qstring.html qstring.pdf
I simply get a leading blank page, no TOC. What’s wrong?
Thanks for helping
EDIT:
@Nenotlep:
Your TOC trick works perfectly.
As for the first page, I don’t need an actual cover. What I need is a way to download/convert a given page www.site.com/foo.html and all the linked pages (A.html, B.html ...) up to a certain depth level. Then I want a single PDF starting with foo.html and containing also the pages A.html, B.html ... (with relative links).
I don’t think there is an option to download and insert the linked pages in the final PDF (please, correct me if I am wrong). So I use httrack.com
to download and wkhtmltopdf to convert. Given the alphabetical behaviour of wkhtmltopdf, the best now seems to rename the target page, downloaded with httrack, something like !foo.html
.
Please, let me know of possible alternatives.