Blank page generated before first page in PDF
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 31
- Joined: Fri Aug 24, 2018 4:27 pm
Blank page generated before first page in PDF
Post by shannonxtreme »
Using Oxygen XML Editor 21.1, build 2019061404 to create a PDF based on HTML and CSS.
We used the parameter "hide-front-page-toc-index-glossary" to get rid of the cover page and TOC because we didn't need them. However, we needed to get the booktitlealt as a string for the footer so I re-enabled the front-page and all the rest.
Then we hid the TOC and frontmatter using the audience attribute to filter out the topics in the map using the profiling set. Now there is a blank page generated as the first page. How do I get rid of it?
We used the parameter "hide-front-page-toc-index-glossary" to get rid of the cover page and TOC because we didn't need them. However, we needed to get the booktitlealt as a string for the footer so I re-enabled the front-page and all the rest.
Then we hid the TOC and frontmatter using the audience attribute to filter out the topics in the map using the profiling set. Now there is a blank page generated as the first page. How do I get rid of it?
Code: Select all
@page :blank {
display: none;
}
*[class ~= 'front-page/front-page-title'] {
page: front-page;
display:none !important;
}
@page :chapter {
background-image: url("sidebar.png");
background-repeat: no-repeat;
background-position:left;
z-index:-3;
@top-left-corner { content:none }
@top-left { content:none }
@top-center { content:none }
@top-right { content:none }
@top-right-corner { content:none}
@bottom-left-corner { content:none }
@bottom-left { content:none }
@bottom-center { content:none }
@bottom-right { content:none }
@bottom-right-corner{ content:none }
}
*[page~="front-page"] {
display: none !important;
background-image: none !important;
}
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Blank page generated before first page in PDF
Hello,
Thank you for reporting this!
We investigated this situation and, indeed, it appeared that the publication title is lost when using the "hide.front.page.toc.index.glossary" parameter.
We already implemented a fix in our internal development stream and a new nightly build of the publishing engine will become available tomorrow.
In case you would like to test the new implementation, just contact us tomorrow (drop us an email on support@oxygenxml.com) and request access to the nightly build of the publishing engine from our development stream.
Best Regards,
Costin
Thank you for reporting this!
We investigated this situation and, indeed, it appeared that the publication title is lost when using the "hide.front.page.toc.index.glossary" parameter.
We already implemented a fix in our internal development stream and a new nightly build of the publishing engine will become available tomorrow.
In case you would like to test the new implementation, just contact us tomorrow (drop us an email on support@oxygenxml.com) and request access to the nightly build of the publishing engine from our development stream.
Best Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 31
- Joined: Fri Aug 24, 2018 4:27 pm
Re: Blank page generated before first page in PDF
Post by shannonxtreme »
Hi Costin,Costin wrote: ↑Thu Aug 08, 2019 1:41 pm Hello,
Thank you for reporting this!
We investigated this situation and, indeed, it appeared that the publication title is lost when using the "hide.front.page.toc.index.glossary" parameter.
We already implemented a fix in our internal development stream and a new nightly build of the publishing engine will become available tomorrow.
In case you would like to test the new implementation, just contact us tomorrow (drop us an email on support@oxygenxml.com) and request access to the nightly build of the publishing engine from our development stream.
Best Regards,
Costin
Just following up on this - the booktitle and booktitlealt properties appear to still be hidden when the hide.toc.frontpage.glossary parameter is set to yes. Was the fix implemented?
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Blank page generated before first page in PDF
Hello,
I've just tested the parameter's behavior and there is nothing wrong with it.
The booktitle/booktitlealt elements content is still present in the PDF output, even when I set the parameter's value to "yes".
Just make sure that you are actually using a newer nightly build and not an older one.
Note that the booktitle/booktitlealt, etc. are visible only in the bookmarks (the bookmarks panel in the PDF), not also in the document.
That is intended behavior, because that's even the purpose of hiding the front-page (it could not be possible to hide the front page but keep the title on it).
Also, note that - in the latest nightly build - both the title and the titlealt are collected into the title attribute which is now set by default on the root map element.
Best Regards,
Costin
I've just tested the parameter's behavior and there is nothing wrong with it.
The booktitle/booktitlealt elements content is still present in the PDF output, even when I set the parameter's value to "yes".
Just make sure that you are actually using a newer nightly build and not an older one.
Note that the booktitle/booktitlealt, etc. are visible only in the bookmarks (the bookmarks panel in the PDF), not also in the document.
That is intended behavior, because that's even the purpose of hiding the front-page (it could not be possible to hide the front page but keep the title on it).
Also, note that - in the latest nightly build - both the title and the titlealt are collected into the title attribute which is now set by default on the root map element.
Best Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service