Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

Kontext rule for formatting only the first child section in a chapter

$
0
0

Hi all, I have run into a DITA problem. Each chapter of the document, i.e. top-level topic, contains a miniature toc of the nested sections. Therefore the first child topic's title should receive a page break.

 

fm_levels_1.png

 

I tried this context rule for the title element, below you find the screenshot which I have tried to translate because the EDD is in German. Even though I define that the context should be the first parent topic only, the result is that every second-level topic now has a page break. Any ideas?

 

8. Count ancestors: topic

    concept

    task

    reference

    If level is: 2

      8.1 If context is: (topic{first} | concept{first} | task{first} | reference{first})

            ..then set page break.

 

fm_levels_2.png

 

Robert


Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>