Include image from heading in TOC

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
yossikarp
Propeller Head
Posts: 33
Joined: Sun Apr 06, 2014 4:13 am
Location: Israel

Include image from heading in TOC

Post by yossikarp »

Hi,

Does anyone know how to include an image in the TOC?

I have topics that I want to highlight as "key features", so I want to
include a little icon in the TOC to indicate that these topics are
important.
I tried the following, but none of these worked:

- Added the icon to the heading - it only displays the icon in the
content, not in the TOC
- Target > Advanced > Remove images from paragraphs with heading levels
is clear (not selected)
- I tried creating a new heading style with a background image
- I tried creating a new MadCap|TocProxy style with a background image

Any ideas on how I can achieve this, or other options for highlighting
important topics in the TOC?

(Flare 12. This is for PDF output, but if it also works in HTML5, that
would be a bonus.)

Thanks,

Yossi Karp
yossikarp
Propeller Head
Posts: 33
Joined: Sun Apr 06, 2014 4:13 am
Location: Israel

Re: Include image from heading in TOC

Post by yossikarp »

Still hoping for any suggestions...

Thanks,

Yossi Karp
Nita Beck
Senior Propellus Maximus
Posts: 3667
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Include image from heading in TOC

Post by Nita Beck »

I could be wrong, but I think you are trying to do something that Flare does not support for print output. But you could at least try to experiment with the p.TOCn styles (e.g., p.TOC1, p.TOC2). Those are the styles used to format the listing of headings within the TOC proxy. If that *does* work and if you also use miniTOC proxies in your print output, also edit the p.miniTOCn styles.
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
devjoe
Sr. Propeller Head
Posts: 337
Joined: Thu Jan 23, 2014 1:43 pm

Re: Include image from heading in TOC

Post by devjoe »

If you can create your icon as a Unicode character instead of an image, that may work in the TOC. Be aware, though, that the TOC typically drops formatting from the heading in the topic, so you are going to be limited to characters that exist in whatever font you are using for the TOC.
Psider
Propellus Maximus
Posts: 815
Joined: Wed Jul 06, 2011 1:32 am

Re: Include image from heading in TOC

Post by Psider »

Edit: just re-read and realised you wanted something for pdf, which this won't help with. But in case you want something similar for web...

Maybe a Toc Entry class could achieve something acceptable for you? Expand step 4 and look at the Toc Entry section.

http://webhelp.madcapsoftware.com/flare ... _Skins.htm
Post Reply