(no subject)
Oct. 30th, 2016 12:19 pmI am trying to table-of-contents an involved .html file and I want this not to break when I open the file in Word and save as a .docx file. Is this going to work?
It looks like my best bet HTML-wise involves giving every h2 tag an id and then sticking links to each h2 tag in each li element in the ul set specially CSSed to look like a table of contents. But I am pretty sure that's not going to look so pretty in Word.
ETA: I did the thing, and sure enough, it doesn't look so pretty in Word. I am not sure how to make it automatically count pages, either.
It looks like my best bet HTML-wise involves giving every h2 tag an id and then sticking links to each h2 tag in each li element in the ul set specially CSSed to look like a table of contents. But I am pretty sure that's not going to look so pretty in Word.
ETA: I did the thing, and sure enough, it doesn't look so pretty in Word. I am not sure how to make it automatically count pages, either.