View Single Post
Old 04-18-2019, 07:33 AM   #75
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,016
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by davidfor View Post
You can do it with a conversion. Depending on how you set it up, that will tend to split each chapter to a separate file and generate the ToC.

Otherwise, the calibre editor can do it. You can split and rename files. And the ToC tool can generate the entries and allow you to add or remove as desired. The ToC tool can be used separately if you want to tweak it.
I know /how/ to edit the TOC and how to split the files.

What I'm asking is if there is a way to automatically split the files based on the TOC.

I know I can split by xpath expression, but if I generate the TOC that way and I don't like it and then fix the toc itself, now I want to automatically split based on my TOC edits...

You say the conversion will /tend/ to split files... the whole point of this exercise is to make the TOC work correctly on the device by making file splits match. I suspect that /tend/ to work isn't good enough...and probably makes other changes that might not be desired.

Maybe I need to put this in as a feature request, probably to the editor.
compurandom is offline   Reply With Quote