Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-06-2023, 03:10 PM   #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,725
Karma: 5444398
Join Date: Nov 2009
Device: many
A fix for this has now been pushed to master.
Even with this fix in place, hand deleting the NCX in CodeView under epub2 is NOT a good idea.
KevinH is offline   Reply With Quote
Old 09-06-2023, 03:14 PM   #17
WV-Mike
Connoisseur
WV-Mike began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
Quote:
Originally Posted by KevinH View Post
How? By remving the file from the unzipped epub? ByRight Clicking on the ncx file in Sigil's BookBrowser and selecting delete? Or by opening the NCX in CodeView and manually selecting and deleting all content?
I deleted the content from from the ncx file in CodeView.
I see you have a confirmation of the crash from BeckyEbook.

I am new to epubbing and forget I can change the extension to .zip, unpack and edit that way.

This is OFF topic here, but can you tell me if there are any inherent problems with unzipping, editing with another app (NoteTab Pro) and then zipping and re naming to .epub.

Thanks,
WV-Mike
WV-Mike is offline   Reply With Quote
Advert
Old 09-06-2023, 04:13 PM   #18
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,725
Karma: 5444398
Join Date: Nov 2009
Device: many
As long as whatever app knows how to create a valid epub zip (a special zip with a mimetype attribute uncompressed and first) and does not break the rules of epub or violate the spec, then no problems.

FYI, you might want to spend some time with the Sigil User's Guide and actually work through the tutorials. They will show you how to set external editors that can be launched by Sigil to allow people to add or change to their preferred code editors without ever leaving Sigil itself.

Then no need to post or pre-process by unzipping and doing the special zip back up.

Also, if you do manually delete the NCX outside of Sigil the resulting epub will not pass epubcheck and will not work on most e-readers. You might want to read up on the epub 3.3 spec a bit as well.

Last edited by KevinH; 09-06-2023 at 04:24 PM.
KevinH is offline   Reply With Quote
Old 09-07-2023, 06:28 AM   #19
WV-Mike
Connoisseur
WV-Mike began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
Quote:
Originally Posted by KevinH View Post
As long as whatever app knows how to create a valid epub zip (a special zip with a mimetype attribute uncompressed and first) and does not break the rules of epub or violate the spec, then no problems.

FYI, you might want to spend some time with the Sigil User's Guide and actually work through the tutorials.
Thanks for the info.
I will spend some time with the User Guide.
WV-Mike
WV-Mike is offline   Reply With Quote
Old 09-07-2023, 11:55 AM   #20
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,944
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I am a bit confused here. Sigil has a TOC generate tool that uses H# tags to detect items to (possibly) include (You remove the tick during the creation step to hide from further consideration. Not in Sigil TOC is added to the H tag. The only way to clear that is to delete it from where it was. )

In addition, there is a second TOC Edit Icon. That brings up the tool without a rescan.
Both tools allow editing the text, reordering the entries and changing the indent (nesting)

Oh least we forget. if you include a title="This will be used instead of the normal text in the TOC" in the H tag

To summarize: The first tool replaces any existing NCX.
Either toll allows changing the text displayed.

Generating an inline (HTML) TOC is built from the current NCX and does not happen automatically after a change.
Use will replace a properly marked (semantics) TOC (this will be correct if Sigil tool built the previous version)
theducks is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Generating Toc DKCrotty Sigil 42 10-03-2016 06:48 AM
calibre not generating toc nsfwaa2 Conversion 4 09-18-2016 02:55 AM
p.Heading3 is ignored when generating ToC? Panel Calibre 2 03-28-2016 05:52 AM
Generating HTML ToC Katsunami Editor 5 02-12-2014 03:02 PM
Help generating TOC Diabolikul Conversion 3 01-26-2012 10:42 AM


All times are GMT -4. The time now is 01:50 PM.


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