Change TOC title
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 21
- Joined: Mon Dec 05, 2022 9:35 am
Change TOC title
Post by [Stupid]_[User] »
Hi all!
I have a TOC with "Contents" title in my document. Is it a way to change these title to another one?
I have a TOC with "Contents" title in my document. Is it a way to change these title to another one?
Capture (1).PNG
You do not have the required permissions to view the files attached to this post.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
-
- Posts: 21
- Joined: Mon Dec 05, 2022 9:35 am
Re: Change TOC title
Post by [Stupid]_[User] »
Hi chrispitude!
I use DITA PDF - based on HTML5 & CSS transformation type.
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Change TOC title
Post by julien_lacour »
Hello,
The following fragment will do the trick:
There are more information about How to Customize CSS Strings in our user-guide.
Also, these rules are easy to find by debugging the CSS in your browser.
Regards,
Julien
The following fragment will do the trick:
Code: Select all
/* Title of the TOC page */
*[class ~= "toc/title"][empty]:before {
content: "Agenda";
}
Also, these rules are easy to find by debugging the CSS in your browser.
Regards,
Julien
-
- Posts: 21
- Joined: Mon Dec 05, 2022 9:35 am
Re: Change TOC title
Post by [Stupid]_[User] »
Hello, Julien!julien_lacour wrote: ↑Wed Dec 21, 2022 10:24 am Hello,
The following fragment will do the trick:There are more information about How to Customize CSS Strings in our user-guide.Code: Select all
/* Title of the TOC page */ *[class ~= "toc/title"][empty]:before { content: "Agenda"; }
Also, these rules are easy to find by debugging the CSS in your browser.
Regards,
Julien
It works great! Thanks a lot!
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