Open librilex opened 6 years ago
I guess this is not a straight forward thing to create with current dw2pdf setup.
But maybe you can write cover.html
a such manner that you only apply @page ... {} styles there..
Please see: https://mpdf.github.io/paging/using-page.html
I have the same problem.
With the help of cover.html
I create a cover page. On this cover page I prevent the appearance of my normal headers and footers created under header.html
and footer.html
by using footer_first.html
and header_first.html
.
This works very well apart from the automatically generated blank pages after the cover page and the table of contents. On these blank pages the header and footer of header.html
and footer.html
appear. Is it possible to bypass this and get really empty pages?
My guess is that by using a different set of @page{} syntaxes you can do that. But that is currently not supported in the dw2pdf plugin.
pull request is welcome of course ;-) ...
When using
cover.html
, an blank page is automatically added before the table of content is inserted. This setting is perfect so that the the TOC begins on an uneven page. However, I would like the blank page to be completely blank. At the moment, the header and footer ofheader.html
andfooter.html
are shown on the blank page. How could I configure dw2pdf so that this blank page is completely blank?