Hi, Forum.
Is there a way to include a word in the TOC that doesn't appear in the actual heading in the PDF?
Specifically, I want to add the word "NEW" to an entry in the TOC, but I don't want it appearing as part of the H2 in the topic itself. Can that be done?
Thanks for your help,
Yossi Karp
Include a word in the TOC that doesn't appear in the heading
-
- Senior Propellus Maximus
- Posts: 2632
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: Include a word in the TOC that doesn't appear in the hea
Try this:
Create a span to apply to the word NEW and add it to the stylesheet used for your PDF:
span.hidden
{
display: none;
}
In your topic, apply span.hidden to the word NEW and the space after.
Generate your PDF and see what happens!
Create a span to apply to the word NEW and add it to the stylesheet used for your PDF:
span.hidden
{
display: none;
}
In your topic, apply span.hidden to the word NEW and the space after.
Generate your PDF and see what happens!
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Re: Include a word in the TOC that doesn't appear in the hea
It works! Thank you so much for this. I didn't realize that display.none shows in the TOC.
Well, learn something new every day
Appreciated.
Well, learn something new every day
Appreciated.
-
- Senior Propellus Maximus
- Posts: 2632
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: Include a word in the TOC that doesn't appear in the hea
No, I didn't realise either, so I've solved a problem I was having too, so thanks for asking the question!!!
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx