Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-03-2023, 10:40 AM   #16
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,909
Karma: 5449552
Join Date: Nov 2009
Device: many
If you read the manual you will see how to rebuild the TOC after merging based on your current headings h1-h6 tags.

You need a basic understanding of xhtml and epub to use Sigil and a basic understanding of Sigil as well (again see our Users Guide about how to create or update a Table of contents toc.ncx file).

Last edited by KevinH; 06-03-2023 at 11:06 AM.
KevinH is offline   Reply With Quote
Old 06-03-2023, 11:17 AM   #17
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,142
Karma: 18843349
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
IIRC copying html from a Word document can cause the hyperlinks to become broken. HTML links that point to a non-existing file or ID on a file will cause an error. Here's a link to help you learn about HTML hyperlinks.

In the meantime, here is a simple way to fix this issue (do this in order):

- Ignore Merging

- Put new header tags <h1-h6> at the top of each html page.

- [optional but recommended] rename your html files so they make sense. Highlight all the chapter files in the book browser, right-click and select 'rename' then put in a name that makes sense eg "Ch01". Sigil will automatically change the html files to a sequentially numbered list: Ch01, Ch02, Ch03 etc.

- Click Ctrl-T (Tools/Table of Contents/Generate Table of Contents). Sigil will automatically make a ToC from all of those header tags <h1-h6> you put at the top of each file.

- [optional] If you want an HTML file with your ToC then select 'Tools/Table of Contents/Create HTML from Table of Contents' This will create a new HTML file with all of your header links that will now work properly.

- delete the original file with all the <h1> tags that didn't work
Turtle91 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
In an epub, how to merge 2 html into a single html alegriadelarte Editor 3 03-15-2023 04:32 PM
Access to local HTML files and content, HTML ebooks, annotation on HTML ebooks leo315 enTourage Archive 2 05-10-2010 02:40 PM
How to merge Mobi files? King Mook Mook Kindle Formats 1 12-26-2009 05:07 AM
PRS-500 HTML merge tool needed sic Sony Reader Dev Corner 14 11-07-2007 06:04 PM
Is there a way to merge lrf files? Tom Swift Sony Reader 14 09-24-2007 07:13 PM


All times are GMT -4. The time now is 08:02 PM.


MobileRead.com is a privately owned, operated and funded community.