-
Notifications
You must be signed in to change notification settings - Fork 1.8k
TOC is not generated #3953
Comments
What is the content of my.xsl? |
Oops, it seems my.xsl was really missing so please ignore the second part of my message about the error, I'm removing it from the message. No errors now, it's just not generated. |
Can you attach the PDF with 0.12.5 final and RC with the HTML and command-line mentioned above? |
Okay, can you tell me the exact RC -- was it |
According to the installer name it was 0.12.5-0.20180529.138.rc... |
Am traveling right now, will look into this after Monday... |
@ashkulz |
Mid next week. |
Can you check results of PR #3962 available from https://builds.wkhtmltopdf.org/0.12.6-dev/ and let me know if it works? |
@ashkulz Yes, it seems to fix the issue. |
Great, I'll try to get the final release out by first week of July or earlier. |
@ashkulz - Out of curiosity is there an ETA for when this fix will be in an available MacOS Cocoa build? (i.e. it looks like Windows and Linux users can just grab an appropriate alpha build, but there isn't an alpha build for MacOS) |
There is an alpha build for macOS on the link posted above. |
@ashkulz - Thank you! (I had been looking at https://wkhtmltopdf.org/downloads.html instead of your https://builds.wkhtmltopdf.org/0.12.6-dev/ 🤦♂️) |
If 0.12.6 will not be released shortly, I think you should advise people to download 0.12.4 instead of 0.12.5 in the website. |
Hello @ashkulz, |
I would also like to see a 0.12.6 release to fix what is a critical regression for us. Also downgrading to 0.12.4 is not an option for us due to SSL v3 issues with that version. |
@luketarplin For now you can try the dev build linked above. |
@hakimio Yes I know thanks, I was hoping that if a build of 0.12.6 was released I could get away without having to build from source myself as it seems an involved process when compared to just pulling the built package... I guess for now I will have no choice but to do that though. |
@luketarplin Not sure you understand my comment. I was saying that you can just download pre-built binary package linked above and just use that for now. No need to build anything yourself. |
@hakimio Ah sorry I had missed that, I'm already part of the way through a source build :( I'll try the dev binary next. Thanks |
0.12.6-dev last build is half a year ago. Any plans to release it? It does not feel comfortable having dev versions in production system because TOC is not generated. |
Hi @ashkulz just wondering if the 0.12.6 will be released anytime soon? We're really looking forward to use the TOC feature in a stable version. Thanks! |
I'm hoping to have a |
@ashkulz, any news on the new release? |
So if I understand correctly the TOC we'll need to find another way of generating the TOC? |
@leonelgoncalves No, just use 0.12.6-dev from https://builds.wkhtmltopdf.org/0.12.6-dev/ |
We are six months later and there is still no new version released. I know it is hard to release sooner because everyone is busy. |
No, if you have to use stable version, either use older 0.12.4 release or migrate to Puppeteer or WWW::Mechanize::Chrome. |
@hakimio, Puppeteer is not an option since it has no support for cover pages and table of contents see puppeteer/puppeteer#1778. I'm not sure about WWW::Mechanize::Chrome I i haven't tried that yet. The older version 0.12.4 has other issues that were fixed with 0.12.5. |
@ashkulz Any news on potential release date of 0.12.6 ? |
A release candidate for the 0.12.6 release is now available for download, which should contain changes which possibly address this issue. Would appreciate downloading the package and reporting back if any issues are encountered during testing. Assuming all goes well, I plan to release 0.12.6 on the 2-year anniversary of the previous release i.e. June 11, 2020. |
0.12.6rc1 fixes the missing TOC issue (while testing windows 64bits builds 0.12.4, 0.12.5, 0.12.6rc1, only 0.12.5 had the bug). |
Hello,
I've encountered an issue with TOC generation on a new 0.12.5 version.
Table of content is not generated at all when specifying toc parameter (with custom .xsl document or without it).
The simplest way to reproduce:
wkhtmltopdf toc "result.html" "result.pdf"
And the result.html is just:
Everything worked with 0.12.5 RC I've downloaded like a couple of weeks ago.
One more thing: my initial document has footer with page numbers so the cover page is number 1 and the next page has number 3. It seems that table of contents is generated but is not drawn right.
My OS is Windows 10 version 1709.
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: