View Single Post
Old 12-29-2017, 08:52 PM   #25
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Quote:
But will it get rid of "orphan" files that are just pieces of chapters?
It will split up a file only when the file is larger than the maximum size in the Convert settings. I don't think it will combine smaller files into one file, which would have to be merged manually.

Quote:
Thanks for the XPath example. I've not yet explored this, and just looking at the pop-up help frankly scared me off. I'll try this on my next TOC fix-it job. It looks like the "i" picks up the \1 and increments? Is that right? Then I could take a book with 102 chapters in those **&@^%# Roman numerals and easily convert them to arabic numerals?
I have to confess that I got that "chapter" string from what Calibre generated after I clicked on the wand (a long time ago) and read the instructions on what to enter into each line. The top line is either 'p' or 'h1,' etc, the second line is 'class,' and the third line is 'chapter' (in my case, it's 'chapter,' since that's the class name I always use for chapter titles). Then I added the macro to my MacroMaker macro software, so it's real quick now to create the ToC that way.

I almost always change the Roman Numerals in the ToC by highlighting all the chapters (whether they say 1, 2, 3, or I, II, III, or the numbers spelled out, like One, Two, Three, etc), right click on them, and then choose to rename them to Chapter 1, Chapter 2, etc. You can do the same thing with Part 1, Part 2, etc. by changing Chapter to Part or whatever you wish. It will default back to Chapter the next time you go to rename the entries.
deback is offline   Reply With Quote