DITA and XMetaL Discussion

  • bzebian

    Section Numbering

    Participants 0
    Replies 1
    Last Activity 12 years, 9 months ago

    My company is considering using section numbering (1.1, 1.2, etc) in all output. From what I've seen on this and other boards, this is fairly easily done for PDF2 output, but not so easy, if even possible, for HTML.  Is this others' experience? Thanks.

    Reply

    gcrews

    Reply to: Section Numbering

    My first thought would be to write a transform that parses though the input ditamap or ditabookmap after all sub maps have been processed in.  Then transform that map into a new file name and have filepath+filename and section number pairs. Then when processing each topic file you can use that file with the document () function and then lookup what section number you need on it. There may be an easier way or more efficient but that’s just my thoughts. You may want to also look into the  DITA 1.2 leaning specialization ( http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=dita-learningspec )  may have some kind of way to  number sections.

    Reply

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

Lost Your Password?

Products
Downloads
Support