Using filenames to number chapters?
I have a bunch of files called chapter1.html, chapter2.html, ... where the chapters themselves have not been numbered.
I want to take the file name and insert it into the text of the file. Is there an easy way to do this?
|