Commits

rbeezer  committed eac47d3

HTML files per section named with se suffix

  • Participants
  • Parent commits f7c49ce

Comments (0)

Files changed (1)

 
         # Discover all html files in the input directory
         #   $ matches end-of-string, avoids backup-files with tildes (Robert Marik)
-        #   pa=part, ch = chapter, li = list, blank  all possible from tex4ht
-        htmlfile_pattern = re.compile( r'^' + project + r'(pa|ch|li|)([0-9]*)(.html)$' )
+        #   pa=part, ch=chapter, li=list, se=section, blank  all possible from tex4ht
+        htmlfile_pattern = re.compile( r'^' + project + r'(pa|ch|li|se|)([0-9]*)(.html)$' )
         files = []
-        sec = ('li', 'ch', 'pa', '')
+        sec = ('li', 'ch', 'pa', 'se', '')
         for afile in directory:
             m = htmlfile_pattern.match(afile)
             if m: