View Single Post
Old 11-22-2010, 05:16 PM   #19
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: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi,

Just as a test, I created a chapter0.xhtml that includes links to all of the other chapters and links to ALL of the images.

When I import that file into Sigil, it recognizes that name clash and properly creates image001.gif through image009.gif and no collision happens. Later importing of the other html files still ends up with broken links.

I guess the key issue here is that you can not easily import multiple html files to form your ebook and expect the images (even is stored in different directories) to not collide.

I think there is a python script that can be run to merge multiple html files with links into one big html which could then be properly imported into Sigil and split into chapters.

Perhaps, importing an opf file with links to everything might work in Sigil. I have not tried it. I know that calibre requires that there be some file that names all of the other files and images being used upon import of an htmlz archive. Perhaps something like that might work with Sigil right now, but I have never done it.

Sorry I can't be more help here.

KevinH
KevinH is offline   Reply With Quote