Ideally, you would define Conditional Build Tags (CBT) for each of the builds and use a build expression to ensure the undesired topics are excluded. But there does exist a feature in recent versions of RoboHelp that allows you to produce output related to only the TOC being used.
When you are looking at the settings for the output (The recipe card, if you will) there is a feature there.
What version of RoboHelp are you using? (Sorry, but my crystal ball is broken and I have no way of determining if your version of RoboHelp may support this feature.)
Additionally, note that if the undesired topics are referenced in any way (perhaps a link from a different topic, or an index term) then this won't work. That's why I said a CBT with a Build Expression is a better approach.
Sorry after a long time.
I used the CBT and Exclude Unreferenced..... option also but still it generates lot many topics. Not sure Why?
For Example, I have 5 topics in my TOC like this:
But, when I search through the Help, it displays the topics form other TOC s also.
Something like this:
This is just an example. If we search through other words, there are many other topics.
I am not sure how to avoid this. This increases the file size also. Just for these 5 topics, it is around 12 MB. This must be because there are other topics also.
I asked back in April and I'll ask again.
What version of RoboHelp are you using?
Are you able to share your project with me so I might look at it first hand?
I am using 2017 Version.
By sharing the project, do you mean sharing the screen and look at it together?
Sure, that would be one way we could do it. But I was thinking more along the lines of you zipping and uploading the project to a site such as WeTransfer.com and I could download it and examine it here on my end.
It is a huge project.
Can we do a screenshare when you have sometime? I can even tell you and show you what is exactly my issue too.
But, that's my question actually.
I am having four TOCs in my project. Some topics are shared among those TOCs. I applied CBTs accordingly.
I will give a detail example.
TOC A contains topics A, B, C, and D.
TOC B contains topics E, F, G, and A (shared topic).
Now, when I publish TOC A, I only need A, B, C, and D topics only. But, what it does is it publish E, F, and G also. Even though, while publishing, I applied the CBT for TOC A only.
I hope it is clear. It is little difficult to explain in words .
What CBTs you have applied and what is the build Expressions you created for your output?
Just to add, Have you tried applying CBT to topics in project manager rather than TOC?
I have many TOCs in my project:
In my Export to Q-DAS TOC, I have only 5 topics.
When I am generating this output, I am using this build expression:
So, TOC looks okay. Now, when I use the Search box, it displays all these topics also.
Also, to answer your other question about using the Project Manager, I think I am using that: