DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › Section Numbering
-
bzebian September 11, 2009 at 7:20 pm
Section Numbering
September 11, 2009 at 7:20 pmParticipants 0Replies 1Last Activity 13 years, 6 months agoMy 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 Numbering
October 7, 2009 at 8:34 pmMy 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.
-
AuthorPosts
- You must be logged in to reply to this topic.