View Full Version : Problem with zip to epub


hstiver
01-31-2011, 12:50 PM
I am trying to convert a zip (zip compressed folder) to epub in Calibre and it is converting only part of the files. Basically it converts one file and all of the links on it but this is only a portion of the total ebook. I have tried a pdf conversion with the same result.

Any help is much appreciated.

kovidgoyal
01-31-2011, 01:07 PM
See http://calibre-ebook.com/user_manual/faq.html#how-do-i-convert-a-collection-of-html-files-in-a-specific-order

hstiver
01-31-2011, 01:31 PM
See http://calibre-ebook.com/user_manual/faq.html#how-do-i-convert-a-collection-of-html-files-in-a-specific-order

Thank you. However I have already done that. For some reason the conversion only includes a particular xhtml file (called Tours) and any files which I had linked to it. All of my other files are not included and cannot be viewed.

itimpi
01-31-2011, 01:37 PM
Are the files linked to the first file you added? If not then you will need to create a top level TOC file that links to the files you want to be included. Calibre only converts the first file and any files linked to that in any way.

hstiver
01-31-2011, 01:39 PM
I don't know if this is useful, but I set up the debug output and it shows none of the missing files in input,parsed,processed, or structure directories

hstiver
01-31-2011, 01:44 PM
Are the files linked to the first file you added? If not then you will need to create a top level TOC file that links to the files you want to be included. Calibre only converts the first file and any files linked to that in any way.

Excuse my ignorance but I'm not sure what you mean by this. I made a new compressed folder and then copied all of the files and pasted them into this new directory, including a TOC file created as per the User Manual. Do you mean I need to tag the TOC file in a manner that shows it as the first or top level, and if so, can you tell me how I would do that?

Thanks

hstiver
01-31-2011, 02:00 PM
I think I'm on my way to sorting it. I tried adding only the TOC file file and not the directory and that seem to get everything. I'll need to check it more completely but it seemsw like progress.

Thanks again

DoctorOhh
02-01-2011, 12:56 AM
I think I'm on my way to sorting it. I tried adding only the TOC file file and not the directory and that seem to get everything. I'll need to check it more completely but it seemsw like progress.

I'm glad you worked it out.

Turns out what you did is exactly how the user manual (http://calibre-ebook.com/user_manual/faq.html#how-do-i-convert-a-collection-of-html-files-in-a-specific-order) said to do it. :)

Well done.

hstiver
02-01-2011, 01:55 PM
I'm glad you worked it out.

Turns out what you did is exactly how the user manual (http://calibre-ebook.com/user_manual/faq.html#how-do-i-convert-a-collection-of-html-files-in-a-specific-order) said to do it. :)

Well done.

I suppose thats right. I had not understood that "add to GUI" meant add only that file rather than as part of all files. It certainly is a lot easier like that.