Unnecessary blank page before front page
Posted: Thu Jan 30, 2020 8:12 pm
Hello,
I'm using DITA Map PDF - WYSIWYG - deep numbering transformation scenario.
And every time a blank page is generated before my front page.
Here are the styles for my front page:
I have browsed documentation and found this: https://www.oxygenxml.com/doc/versions/ ... aid-title7
But I do not use this setting.
Also, the blank page is generated if I enable the hide.frontpage.toc.index.glossary option. Meaning, it's always generated if I generate PDF. How can I eliminate this? It breaks page numbering and TOC.
I'm using DITA Map PDF - WYSIWYG - deep numbering transformation scenario.
And every time a blank page is generated before my front page.
Here are the styles for my front page:
Code: Select all
*[class ~= "front-page"] {
page: front-page;
page-break-before: avoid;
page-break-inside: avoid;
page-break-after: avoid;
}
*[class ~= "front-page/front-page"] {
page: front-page;
page-break-before: avoid;
page-break-inside: avoid;
page-break-after: avoid;
}
*[class ~= "front-page/front-page-title"] {
font-size: 36pt;
color: #5184b0;
font-weight: 300 !important;
text-transform: none;
text-align: left;
page-break-before: avoid;
}
front-page-title:after(1) {
content: "February, 2020";
margin-top: 40px;
color: #4c4545;
font-weight: lighter;
text-decoration: none;
vertical-align: baseline;
font-size: 11pt;
font-family: "Open Sans";
font-style: normal;
text-transform: none;
display: block;
}
But I do not use this setting.
Also, the blank page is generated if I enable the hide.frontpage.toc.index.glossary option. Meaning, it's always generated if I generate PDF. How can I eliminate this? It breaks page numbering and TOC.