Linking a TOC entry to another TOC

This forum is for Single-Sourcing your Flare content to multiple outputs.
Post Reply
whunter
Sr. Propeller Head
Posts: 429
Joined: Thu Mar 12, 2009 4:49 pm
Location: Portland, OR

Linking a TOC entry to another TOC

Post by whunter »

I want to split my TOC into a bunch of smaller TOCs, so that the smaller TOCs can be reused.
Let's say that one of these smaller TOCs is for Cats and it goes something like this:

Cats
---Siamese
---Persian
---Etc.

(the dashes are to indicate indents, looks like it's not keeping my spaces)

In my master TOC, I then create an item and link it to the Cats TOC. So my master TOC looks something like this:

Dogs
Cats (linking to the Cats TOC)
Horses

But, when I generate the output, my TOC ends up looking like this:

Dogs
Cats
----Cats
--------Siamese
--------Persian

Obviously I could solve this by removing the top-level Cats from my child TOC, but that means I won't have a topic associated with the top-level item. What I want is for the linked item in the master TOC to be totally replaced by the child TOC, so that the "placeholder" Cats is no longer there, and I just get the contents of the child.

Is there some way to do this that allows me to link a topic to the top-level item?
whunter
Sr. Propeller Head
Posts: 429
Joined: Thu Mar 12, 2009 4:49 pm
Location: Portland, OR

Re: Linking a TOC entry to another TOC

Post by whunter »

Sigh...and I just found the answer.
Enable "When merging, replace node with merged TOC" on Advanced tab of TOC item properties.

Time to go home for the day!
mfoulds
Jr. Propeller Head
Posts: 4
Joined: Fri Mar 27, 2015 5:35 pm

Re: Linking a TOC entry to another TOC

Post by mfoulds »

Thanks for posting - I had the same question and you saved me some time :)
Post Reply