View Full Version : Problems with ePub and InDesign CS4

06-23-2009, 11:26 AM
Hi everyone, and sorry for my English, I'm Italian. I work for a publisher who wants to start creating ePubs from his books, starting from the InDesign file. I must use this software. But I have lot of troubles, the biggest one is this error when I try to open the ePub both with Stanza and Bookworm:

Could not find required entry in archive: OEBPS/\Stile%20saggi.xhtml\E Available entries are: [META-INF/container.xml, META-INF/encryption.xml, OEBPS/Stile saggi.xhtml, OEBPS/content.opf, OEBPS/template.css, OEBPS/toc.ncx, mimetype]

where "Stile saggi" is file's name. I can open this ePub only with Digital Edition, of course, but I don't really need this, of course again.
I'm going crazy because of this error and I really don't know how to fix it. Even opening the archive and comparing files with ePubs that work I can't find any difference, I'm not really expert so I'm asking for your help and hoping that my question isn't too stupid!
One more detail: I'm using trial version of InDesign CS4.
Thanks a lot

06-23-2009, 11:48 AM
It looks like somewhere there's OEBPS/\Stile%20saggi.xhtml\E while it should be OEBPS/Stile saggi.xhtml

I have no idea what's the problem, though. I've never used InDesign.

06-23-2009, 12:06 PM
Yes, I think so, but I think even that %20 is a way to substitute space between words, and I can't understand why InDesign uses it and/or why it is a problem. If spaces in the file name generate errors there should be an advice while saving the file itself... Thanks for help

06-23-2009, 12:26 PM
There's \S instead of S and \E at the end, which I don't know the meaning of. Can that be an hyperlink somewhere?

06-23-2009, 12:38 PM
Jellby I've noticed the \E at the end of the file extension and now I see that because I've had to type the error advice (I'couldn't copy and paste) I've forgotten a Q:


I really dont'know what they stand for. The file is empty: it just contains stiles and tags to try the structure, there are no hyperlinks in it. Why do you suggest this? I'm asking to understand, I repeat I'm not expert at all. Thanks a lot

06-23-2009, 01:30 PM
Oh, that makes more sense. \Q and \E could be representing left and right quotes... and that leads me back to what I asked about hyperlinks, I meant that maybe there's something linking to "Stile saggi.xhtml" and somehow the quotes and encoded space are being escaped instead of just ignored (or whatever).

Can you post the problem epub here, or a smaller version having the same problem?

06-23-2009, 06:07 PM
Thanks a lot Jellby, as soon as I'll be at work tomorrow I'll post the file.

06-24-2009, 04:14 AM
I'm sorry, I don't know how to upload the file... How can I do?

06-24-2009, 07:11 AM
Click on "New Reply" or on the "Go Advanced" button, then, scroll down to the "Manage Attachments" button, there you can upload files (though I don't know if you need a minimum number of posts to be allowed to attach files).

06-24-2009, 07:48 AM
Ok, can you see the file now?

06-24-2009, 08:06 AM
It validates ( if I remove the encryption.xml file (it seems to be a bug in epubcheck), and it loads into Bookworm if I add a title and replace %20 with a space in both content.opf and toc.ncx (that could be a bug in Bookworm, but I don't know if the %20 encoding is allowed in opf and ncx files).

I'd say the %20 issue is either a bug in InDesign or a bug in Bookworm/Stanza.

06-24-2009, 09:35 AM
Thanks Jellby!!! I'll follow your suggestions and I'll let you know if I solve the problem.

06-24-2009, 10:17 AM
Perfect, it works. The trouble now is that InDesign CS4 has more bugs than useful solution (at least for ePubs) but it's a war beetween me and Adobe :) If I'll find some other topic I'll write here, thanks a lot you've solved a really big problem!!

06-24-2009, 10:34 AM
I'm glad it worked. Maybe you could export from InDesign to some other format and then use another converter like Calibre to generate the ePUB.

06-24-2009, 11:07 AM
Actually the goal is to obtain ePubs from InDesign files with the minimum effort. So I'd prefer to avoid the use of other software or to have another conversion to do. If only InDesign works without adding errors... it's a dream!! However I think this could be an interesting topic for a lot of small and medium publishers, so I'll continue to post about problems I'll find to create a valid support at least on this forum. You're precious, go on!