![]() |
#1 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
content.opf, toc.ncx
I am making a "sandbox" template from my most recent epub. If I simply delete the content.opf and toc.ncx, will Sigil re-create them as I generate the new TOC?
|
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,365
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You can't delete either file with Sigil. It won't let you. Sigil will recreate a toc.ncx whenever an EPUB without one is opened (and when a toc is generated in an EPUB2). Sigil will probably attempt to recreate an OPF upon opening an EPUB without one (I think it used to, anyway), but depending on file names it may make a dog's lunch of it.
The OPF file is literally the backbone of an EPUB. I can't recommend "simply" deleting it for any reason whatsoever (unless you just like extra work). Last edited by DiapDealer; 06-21-2017 at 05:51 PM. |
![]() |
![]() |
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,488
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Without an opf, Sigil will probably not be able to load the epub correctly. You would have to import each xhtml file and image file into an empty epub created by Sigil.
Not sure why you would want to do that, though. |
![]() |
![]() |
![]() |
#4 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Thank you both!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can a toc.ncx point to an empty content tag? | twedigteam | ePub | 7 | 02-08-2013 11:57 AM |
[Old Thread] calibre not creating content.opf or toc.ncx files during conversion | foxxywith2xs | Calibre | 7 | 12-16-2012 07:49 PM |
Manually trimming the metadata.opf and toc.ncx file | ProDigit | ePub | 22 | 04-16-2012 10:01 AM |
NCX file generator (and html ToC and opf) | GiorgioC | Workshop | 0 | 07-12-2011 06:55 AM |
toc.ncx navpoint content=src empty? | KevinH | Sigil | 6 | 11-23-2009 01:39 PM |