Excluding topics from TOC, but including them in mini-TOC

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
brad friesen
Propeller Head
Posts: 33
Joined: Wed Jul 25, 2007 8:14 am
Location: Winnipeg, Manitoba

Excluding topics from TOC, but including them in mini-TOC

Post by brad friesen »

I'm trying to create a customized mini-TOC that includes a list of specific topics. I do not want these topics to appear in the main TOC. Does anyone know of a way to exclude topics from the main TOC, but still include them in a mini-TOC?

I like how with the mini-TOC you can define the TOC depth. It's too bad you can't do this with the TOC proxy :(
GregStenhouse
Sr. Propeller Head
Posts: 330
Joined: Tue May 13, 2008 3:27 pm
Location: Christchurch, New Zealand

Re: Excluding topics from TOC, but including them in mini-TOC

Post by GregStenhouse »

brad friesen wrote: It's too bad you can't do this with the TOC proxy :(
I thought you could, using "mc-heading-level"? Do headings still appear in the mini-TOC if you set "mc-heading-level" to 0 for say headings 3,4, 5?
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Excluding topics from TOC, but including them in mini-TOC

Post by LTinker68 »

No, setting mc-heading-level on a heading in a topic to 0 prevents it from appearing in the main TOC and mini-TOCs.

What you want to do depends on if you still want the topics to appear in the generated TOC or not. Say your TOC structure is like the following:

Code: Select all

BookA (with mini-TOC proxy)
   - TopicA
   - TopicB
   - TopicC (exclude condition)
   - TopicD (exclude condition)
   - TopicE
Applying an exclude condition on Topics C and D in the TOC will prevent them from appearing in the generated (online) TOC and in the mini-TOC, but the topics themselves will still be in the output because you didn't exclude the topic files. (If you're generating print output, then excluding them will prevent them from appearing in the print output, too, because print output is based on what's included in the TOC.)

If you want the topics to appear in the generated TOC but not the mini-TOC, then you can't use the mini-TOC feature unless you put the entries you don't want in a second level book and you set the mini-TOC on the first level book to go down only one level. If you want them all at the same level like the example above, and you want them all in the generated TOC but not the mini-TOC, then the only option is to not use the mini-TOC and simply insert a series of cross-references in the topic that point to the topics you do want included. I actually had to do that myself, but that was because I was switching page layouts between the topic containing the mini-TOC proxy and the topics it was pointing to, which Flare didn't like.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
brad friesen
Propeller Head
Posts: 33
Joined: Wed Jul 25, 2007 8:14 am
Location: Winnipeg, Manitoba

Re: Excluding topics from TOC, but including them in mini-TOC

Post by brad friesen »

Yes Lisa is correct.

It's too bad Flare doesn't allow more more control over what's in your TOCs. Looks like I'll be adding a bunch of cross references.

Thanks everyone for your input! :)
Post Reply