View Single Post
Old 07-25-2023, 02:51 AM   #7
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
if you locate the full post from 2014 it explains how to do it. when you regen the toc, each h4 gets an incremental toc-Id. so the toc ids now correspond to chapter numbers. regex does the rest.
you creat all the H4, generate the toc, delete all the H3, use regex to copy from incremental toc IDs in H4 to make chapter numbers
i decided the picture was superfluous as it was same for each section - added no value.
so I dropped the how to hide a number behind a citure ( the elegant bit) , as no one proffered an elegant (non manual ) way to do it

now that the plug in has been mentioned, I could have probably done it with that. may try to in other wilbur smith books.
pretty sure I had that plug in years ago, but lost it when changing computers, tehn failed to find it again.
stumped is offline   Reply With Quote