View Single Post
Old 07-28-2023, 02:55 AM   #39
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,
Quote:
Originally Posted by Turtle91 View Post
Sorry, no.

1. BeckyEbook posted an answer to your question within 2 HOURS...not days.

2. Also, you never said [without using a plugin] until just now... If you don't want to use a plugin, that's fine, but that is how we are telling you to "elegantly solve your problem."

3. It appears you have several of the people on this thread 'blocked', or you just refuse to read their posts...that, I'm afraid, is on you.

4. You probably won't be able to read this thread either so

1. I read every post. I do not block people
2. "Solution" offered after 2 hours was to open each of 144 chapter files and add each chapter number manually. For me, that was not a solution
3. It was days before anyone said"there's a plug in for that". By then I had done it the hard way.

The crux of the problem seems to be that to create chapter numbers you need them to be present already somewhere in the header code, in order to finagle them out using regex.

The plug in, at first glance, seems to require those numbers to be already present in toc Id tags.

So, please just answer this:
Take it that I have a chapterised epub, each file is to be a chapter. Each chapter begins with a h2 placeholder tag. <H2> placeholder </h2>

There are no numbers anywhere
There are no images

What is the best way, plug ins allowed, to get from there to having all chapters sequentially numbered , with numbers in the toc and on the page at start of each chapter. I promise to read the answer.

(Assume that I am too handicapped to open each of 144 files and insert numeric text in each.)
.............
....
ps the rules whereby sigil decides whether to create a toc ID and how to number them still elude me.
E.g. in one early attempt at splitting etc, I somehow got toc IDs in my h3 tags, that would run sequentially for say 1 to 28, then start over at 1. I think that was because there were a springing of toc ID in h2 tags some pre chapterised version.
stumped is offline   Reply With Quote