I have a relatively large epub file with a toc where I am interested in only a fraction of the pages. (More specifically it is a complete spell directory for an rpg and I want to keep only the spells my character learned or can learn).
Is there any tool that easily allows deleting pages and strips the deleted pages from the table of contents and other links?
Until now the easiest way I can see is to convert epub to html with calibre and then use a huge bash (sed) script to modify the links between all pages (this means a table of contents for every chapter and even links for page turning) in all of the html files.
Are there programs that is better at doing this?
Thank you very much!