View Single Post
Old 06-30-2010, 03:31 PM   #92
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
Yes, all it took to fix the file that crashed was to remove the hyperlinks in the text. Then it ran just fine.

As to zipping the files, here is what I do using Linux zip program from the commandline:

cd to the directory created by your macro.

issue the following commands...

zip -X0 ../ebookname.epub mimetype

zip -Xgr ../ebookname.epub META-INF

zip -Xgr ../ebookname.epub OEBPS

that should do it, creating the file "ebookname.epub" in the directory above the working directory. Note that the -X0 (that is -X zero) is needed for zipping the "mimetype" file correctly. It should be 20 bytes long.

Looks like you're doing the file compression with java, so I don't know what the corresponding parameters should be.
st_albert is offline