DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Page Breaks Between Topic Level 1 and 2

  • zeradius87

    Page Breaks Between Topic Level 1 and 2

    Participants 0
    Replies 1
    Last Activity 8 years, 7 months ago

    Good Day

    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 always against

    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:


           
           
           
             
      auto
                page
           

           

       

    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 Regards

    Reply

    IF

    Reply to: Page Breaks Between Topic Level 1 and 2

    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/)

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support