DITA and XMetaL Discussion
bzebian September 11, 2009 at 7:20 pm
Section NumberingSeptember 11, 2009 at 7:20 pmParticipants 0Replies 1Last Activity 13 years, 3 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.gcrews October 7, 2009 at 8:34 pm
Reply to: Section NumberingOctober 7, 2009 at 8:34 pm
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.
- You must be logged in to reply to this topic.