Pages: 1
Print
Author Topic: Section Numbering  (Read 3100 times)
bzebian
Member

Posts: 27


« on: September 11, 2009, 01:20:08 PM »

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.
Logged
gcrews
Member

Posts: 265


« Reply #1 on: October 07, 2009, 02:34:11 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.
Logged
Pages: 1
Print
Jump to:  

email us