View Single Post
Old 07-02-2024, 12:11 AM   #83
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,828
Karma: 169712582
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by mrprobert View Post
A better example might be:

1. Batch rename regex of files to standard form: Chapter01.xhtml and so forth.
2. Edit the NAV to standardize filenames to chapterNNN.xhtml
3. Apply my scheme.
Would renaming the text files not automagically change the filenames in the nav document? Select the files you want to give the Chapter001+ name to, set the rename files starting at field to Chapter001 and apply. Take a look at nav.xhml (ePub3) or toc.ncx (ePub2) and the filenames will reflect the rename.

And please note that your renaming will leave a mass of IDs in the .opf document untouched since ePub3 has added multiple locations where those can be used.

Again, though my preference to only use IDs where they are needed. I.e. where I use more than one header in a chapter file, perhaps for subchapters.
DNSB is offline   Reply With Quote