DITA and XMetaL Discussion
zeradius87 February 10, 2014 at 11:34 am
Page Breaks Between Topic Level 1 and 2February 10, 2014 at 11:34 amParticipants 0Replies 1Last Activity 8 years, 7 months ago
I am currently using XMetal to create PDF`s for training guides.
We have Level 1 Topics that are the headings and then Level 2 Topics.
What I want is a automatic break on only Level 2 Topics and no break between other levels of Topics:
If I insert
Then it only puts a break on Level 2 Topics but then there is a break between the Topic.Title and Topic.Topic.title.
I also have tried the following:
But this is manual and we have huge guides and will require a lot of work just for a pagebreak.
Please let me know.
I will appreciate some help.
Kind RegardsIF February 17, 2014 at 5:14 pm
Reply to: Page Breaks Between Topic Level 1 and 2February 17, 2014 at 5:14 pm
Have you tried to modify the template that processes topics to add a when statement that says “if this is a level 2, use topicLevel2 attributes” and then create an attribute set for “topicLevel2” that includes a pagebreak?
In the when statement, you could use a depth variable like this
(the depth variable idea comes from the topic numbering template that you can get from http://dita-generator-hrd.appspot.com/pdf-plugin/)
- You must be logged in to reply to this topic.