How to change the default generated text format in PDF
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 35
- Joined: Thu Aug 15, 2019 5:31 pm
How to change the default generated text format in PDF
We write one own CSS file and use it as the CSS file in DITA Map PDF - based on HTML5 & CSS transformation scenario.
The CSS file contains some code like below:
When doing transformation, we couldn't get the correct .merged.html and PDF file.
How can we set the the style for the generated text in PDF file?
Thanks a lot.
The CSS file contains some code like below:
Code: Select all
.sectiontitle tasklabel: {
color: blue;
font-weight:bold;
}
How can we set the the style for the generated text in PDF file?
Thanks a lot.
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: How to change the default generated text format in PDF
Hello,
I think there is a mistake in your CSS.
I think you need to match both tokens from the CSS class attribute.
Please try:
Many regards,
Dan
I think there is a mistake in your CSS.
I think you need to match both tokens from the CSS class attribute.
Please try:
Code: Select all
*[class ~="sectiontitle"][class ~="tasklabel"] {
color: blue;
font-weight:bold;
}
Dan
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