Remove parent in toc from pdf but not children

Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
Leighb
Posts: 7
Joined: Tue Apr 08, 2025 7:32 pm

Remove parent in toc from pdf but not children

Post by Leighb »

I am using Oxygen and Chemistry 27.1 I know that it is common to have multiple ditamaps for different output but for a variety of reasons, we have just one. In the print, we have some Title Pages that only appear in the print. They have the same title as the next Intro Page of dita content (a sibling to the Title Page). That Intro Page has nested content. I would like the toc to point to the Title Page of the book but I don't want to see the duplicate titles in the toc. Obviously, if I add toc="no" to the Intro Page, all the nested content is removed as well. I want to see the nested content in the toc just not the Intro Page title. In my research, I found that adding toc="yes" to the nested content might work. It did not. Is there away around this that I am not seeing?

Thanks,
Leigh