You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the PDF generated from my HTML file has a cover and the generated directory is right in front of the cover, how can I make the generated directory on the second page? I tried to generate the cover as a separate HTML and the content as another HTML, but there was an issue with the PDF as both the table of contents and content were missing,
#123
If the PDF generated from my HTML file has a cover and the generated directory is right in front of the cover, how can I make the generated directory on the second page? I tried to generate the cover as a separate HTML and the content as another HTML, but there was an issue with the PDF as both the table of contents and content were missing,
I don't fully understand what you are trying to do, I believe there are two questions here.
One is that you have a problem with you TOC not appearing correctly if you also have a cover page?
And I also see you have trouble combining two input pages.
The second question I can answer, it looks like you are trying to add multiple pages as "Reader" in this example code. If you uncomment the first section, the second AddPage call will indeed not work.
See #54 for more information. There is also a workaround there that might work for you. Basically you need to make sure you have combined your pages into one HTML document first, before you add it to wkhtmltopdf.
I am not sure why your TOC is not working though, maybe you can share an example output of that.
If the PDF generated from my HTML file has a cover and the generated directory is right in front of the cover, how can I make the generated directory on the second page? I tried to generate the cover as a separate HTML and the content as another HTML, but there was an issue with the PDF as both the table of contents and content were missing,
The text was updated successfully, but these errors were encountered: