-
1. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
MW Design Dec 31, 2011 3:49 PM (in response to ckunce)Don't include embeddable fonts and in theory ID will not include the encryption.xml file.
Take care, Mike
-
2. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
ckunce Jan 1, 2012 6:37 AM (in response to MW Design)Thanks Mike. I did limit my typefaces to only Times and InDesign still created the encryption.xml. Maybe Times was not the best choice, but I thought it was one of the most commonly used. I'll keep trying to research this issue more. In the meantime, I unpackaged my .epub file, deleted the unwanted .xml file, and repackaged it. That uploaded perfectly to B&N.
-
3. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
[Jongware] Jan 1, 2012 7:56 AM (in response to ckunce)1 person found this helpful>.. I did limit my typefaces to only Times ...
But did you try Mike's suggestion of not including them at all? It's a checkbox in the Create Epub dialog.
-
4. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
MW Design Jan 1, 2012 8:09 AM (in response to MW Design)Sorry I wasn't clear. Don't embed fonts at all. Any.
Take care, Mike
-
5. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
ckunce Jan 1, 2012 10:39 AM (in response to MW Design)And… success. Thanks, both of you, for your help. Much appreciated!
I had hoped there was an unchecked box somewhere, or I was doing something wrong that was easily fixed.
-
6. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
rontiara Jan 2, 2012 3:25 PM (in response to ckunce)Mike -- You mentioned that you unpackaged your epub file and deleted the unwanted .xml file. Which program did you use to do that? I opened mine in Sigil, but I don't see an .xml file. I did notice, however, that there is a folder named "fonts". I wonder if deleting that would solve the problem, or make a worse mess. I'm scared to try!
But mostly I'm wondering which program you used to unpack the epub.
-
7. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
MW Design Jan 2, 2012 3:50 PM (in response to rontiara)rontiara,
That was ckunce who unzipped it. I imagine Stuffit will unzip it. Rename the file temporarily from having an epub extension to having a .ZIP extension. That's all an apub file is, is a ZIP compressed archive file.
Best thing to do if your publisher requires no encryption is to opt not to embed the fonts. Do Google the process.
Take care, Mike
-
8. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
BobLevine Jan 3, 2012 6:02 AM (in response to MW Design)Worth noting here.
You cannot simply unzip the file on Mac. I’ve also had issues with it on WinXP.
Works fine on Vista and Win 7, IME.
Bob
-
10. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
rontiara Jan 3, 2012 5:11 PM (in response to BobLevine)Bob -- You are quite right: on a PC, you can't simply unzip an epub file and then rezip it. I wasn't aware it was possible on Vista and Win7, since I'm still using XP. However, I did find a program that allows you to edit the HTML in an epub: it's called Sigil.
-
11. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
John Hawkinson Jan 3, 2012 6:38 PM (in response to rontiara)Err, you certainly can. Sometimes people have trouble. It's usually because a file browsing utility adds extra files to the unzipped directory that confuses the epub reader. (The Mac Finder can do this, which is why there is trouble over there). You might find it easier, under Windows, to use 7-Zip. But you can certainly unzip them on both platforms...
-
12. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
[Jongware] Jan 4, 2012 1:40 AM (in response to rontiara)Sigil has the nasty habit of editing files & folder structures all of its own. For example, it silently strips out <video> tags that InDesign helpfully inserts. After some initial puzzlement I steered well clear of it and do all of my ePub-After formatting by hand, pending better software.
-
13. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
BobLevine Jan 4, 2012 5:53 AM (in response to [Jongware])I use Dreamweaver.
Bob
-
14. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
rontiara Jan 4, 2012 3:46 PM (in response to John Hawkinson)My hunblest apologies, John! You are quite right about 7zip: I was able to unzip the file, make changes in plain ol' Notepad2, and rezip the file. Then I just changed the extension from .zip to .epub.
I can view it in ADE, so I'm assuming it will work in a Nook, etc., also.
The last time I tried the unzip-rezip-rename process, I couldn't open the altered file. But I was obviously using the wrong zip program.
Lordy, it's hard to keep up!
Thanks for your tip.
-
15. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
John Hawkinson Jan 4, 2012 10:57 PM (in response to BobLevine)I use Dreamweaver.
Bob, do you have some way of editing EPUB files in Dreamweaver without uncompressing them? (At first I thought you meant it supported it. Then I listened to Anne-Marie in last week's podcast and tried it and concluded you didn't. Unless...there is a trick?)
-
16. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
BobLevine Jan 5, 2012 5:34 AM (in response to John Hawkinson)No…sorry for the confusion.
On Win 7, I unzip the epub, do any touch up to the HTML and/or CSS in Dreamweaver and then rezip everything.
Bob
-
17. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
LindsayLewchuk Oct 8, 2012 1:26 PM (in response to ckunce)Thanks for the tips everyone. I ran into the same problem when uploading the knitting pattern I designed into barnes and nobles. I found this link http://www.howtogeek.com/howto/19268/edit-epub-ebooks-with-your-favorite-html-editor/ very helpful as I couldn't figure out how to convert a file name. Particular the bit about unchecking "hide extensions". Then I just opened the zip file, deleted the encryption file and uploaded it no problem.
-
18. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
GreenFrogPublishing Jul 12, 2013 7:18 PM (in response to LindsayLewchuk)I'm reviving this thread because I'm having the same problem as the original poster, but I'm on a mac using indesign, not a PC.
I'm not embedding fonts and still getting error messages from itunes that the file is encrypted. I do not see where to "unencypt" the file—anywhere—using Times New Roman for the font...
I did try to unzip the epub file in hopes of finding the .xml file that is being refered to here, but when I change the extention from epub to zip, and use Yumi zip (which works fine everywhere else) new zip files are created, each time I try to unzip, a new zip file with a new name pops up.
I've tried Adobe chat, and they want me to call tech support... sigh. Does anyone where have any idea how to solve my problem without the hour long phone call that will only end in finger pointing, not solutions.
Thanks in advance for your help.
-
19. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
Laubender Jul 13, 2013 12:22 AM (in response to GreenFrogPublishing)@GreenFrogPublishing – did you try the apple scripts for unzip/rezip suggested in answer #9 ?
Apart from that, I often used "Springy" together with TextWrangler to edit contents in a zip file.
Uwe
-
20. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
AMC012 Aug 12, 2014 2:03 PM (in response to Laubender)The free utility, eCanCrusher, from Rorohiko software, will work on Mac and on Windows. It can unzip an epub and rezip a folder containing the component files back to an epub.
http://www.docdataflow.com/ecancrusher/
The reason simple re-compressing sometimes fails is because there is one required file in an epub — the mimetype file at the root — that *cannot* be compressed. That will stop some epub readers and software in their tracks.
AM
-
21. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
Dennis Whitehead Nov 17, 2014 12:06 PM (in response to AMC012)I have run into the same "encryption" block when reviewing the ID EPUB file with Book Proofer. But, I don't understand what difference zipping and unzipping makes? I tried the recommedned unzipper and, yep, it unzipped the EPUB file into an HTML setup.
So what?
Then, it didn't zip back into its EPUB format.
What is "encrypted" that Book Proofer is picking up on? Seems to be some embedded text but where, and how, can it be found?
-
22. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
rontiara Nov 17, 2014 2:44 PM (in response to Dennis Whitehead)I haven't tried eCanCrusher, but I've found 7zip (http://7-zip.org/) will allow me to edit the zipped files without actually unzipping them, so they stay in the same format.
The other thing to do, when you export from ID to epub, be sure to uncheck the "embed fonts" option in the export window.
If you read through the previous posts, you should find your answers.
-
24. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
Dennis Whitehead Nov 17, 2014 3:23 PM (in response to Dennis Whitehead)The EZ7Z shortcut is changing the extension from EPUB to .7z and extract the files where encryption.xml is found in the META-INF folder.
Deleted but then Book Proofer could decompress the "shrunken" and renamed EPUB file.
Almost there
-
25. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
AnneMarie Concepcion Dec 21, 2014 9:09 AM (in response to Dennis Whitehead)To prevent InDesign from adding an encryption.xml file to the EPUB, turn off the Include Embeddable Fonts checkbox in the EPUB Export Options dialog box. In CC 2014, you'll find this in the CSS panel.
That means your EPUB will only use the reading device's built-in fonts, not the ones in your InDesign file.
It is technically possible (but might be in violation of the fonts' EULAs) to embed the fonts (leave this checked), then unzip the EPUB, locate the encryption.xml file (in the META-INF folder), remove it, and re-zip the file.
I like using Rorohiko's free utility for Macs and PCs, eCanCrusher, for unzipping and zipping EPUBs.
http://www.docdataflow.com/ecancrusher/
AM
-
26. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
extrawurst Mar 8, 2015 12:18 PM (in response to AnneMarie Concepcion)Unfortunately you will find the option to uncheck "Embeddable Fonts" within ID CC 2014 only if you are creating an ePub with reflowable layout, but not if you are creating a "fixed layout" ePub.
I went with the suggestion of the eCanCrusher and was pleasantly surprised how easy to use this free tool is. You basically just drag your ePub over the icon of the App and it creates a folder in which you find the encryption.xml within the META-INF folder. Once you erased it you drag the folder over the icon of the App and through this you will get a new encryption-free ePub which now passes iTunes Connect Book Proofer test.
But then - opening the ePub without it's encryption within iBooks (on ipad) the text has moved, spaces between words are gone for no reason, words are even sticking into each other - it looks unacceptable! It does look OK on the iBook desktop app, however.
My solution was to change the font from Myriad to Verdana. I had changed the fonts before, because - whatever font I had used - it's reproduction on the ipad was messed up, and Myriad was the first one that I tried that looked alright, though, not so much after removing the encryption.xml. Unfortunately everything changes when you change fonts within a fixed layout ePub and all line breaks have to be revised now...
I also tried to remove the embedded fonts from inside the ePub, like someone else suggested, but that didn't help with the Book Proofer. It's really the encryption.xml that needs to be removed.
I wish that I now finally can submit successfully to Apple and wish that Adobe would have a better relationship with Apple to solve issues like that.
-
27. Re: How can I generate my own InDesign ePub file without the encryption.xml file?
Steve Werner Mar 8, 2015 4:16 PM (in response to extrawurst)I've moved this discussion to the InDesign EPUB forum

