Omit alternative title from header
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 41
- Joined: Wed Aug 14, 2019 9:16 am
Omit alternative title from header
Hi,
Is there a way to omit <booktitlealt> (alternative title/subtitle) from a header, and only show the <mainbooktitle> (primary title)?
At present I have both of them showing in the header together using:
However, I would like to use the <booktitlealt> for the front page of the pdf only - not in the header.
Thanks.
Is there a way to omit <booktitlealt> (alternative title/subtitle) from a header, and only show the <mainbooktitle> (primary title)?
At present I have both of them showing in the header together using:
Code: Select all
@page :left:right, chapter:first:left:right{
@top-center {
content: string(maptitle)!important;
color: black;
border-bottom: 0.75pt solid red;
vertical-align: bottom;
}
Thanks.
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Omit alternative title from header
Post by julien_lacour »
Hello,
This was a bug on our side, as a workaround could you use the following CSS:
Regards,
Julien
This was a bug on our side, as a workaround could you use the following CSS:
Code: Select all
*[class ~= "front-page/front-page-title"] > *[class ~= "topic/title"]{
string-set: none;
}
*[class ~= "front-page/front-page-title"] *[class ~= "bookmap/mainbooktitle"] {
string-set: maptitle content();
}
Julien
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Omit alternative title from header
Post by julien_lacour »
Hello,
Please note that starting with Oxygen 22 the workaround isn't needed anymore.
Regards,
Julien
Please note that starting with Oxygen 22 the workaround isn't needed anymore.
Regards,
Julien
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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