OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] RE: Epub3 - zip, or not ?


Richard:

There are some errors reported by epubcheck that are known to be fixed soon.

Could you post what are the errors you're getting from validation?

Carlos

On Thu, Aug 30, 2012 at 3:50 AM, Kerry, Richard <richard.kerry@atos.net> wrote:
>
> OK, so that wasn't quite what I'd done.
> I didn't really want to add zip's folder to my path as I'm not using it for anything else, so I was actually running it by doing
>
> set zip=<path-to>\Info-Zip\zip232xn\zip.exe
>
> then not doing
> zip -r -X mybook.epub mimetype META-INF OEBPS
>
> but actually doing
> %zip% -r -X mybook.epub mimetype META-INF OEBPS
>
> And that gives the errors I showed before.
> If I add it to my path it is working.
>
> Though now I'm at step 4 - Validating with epubcheck 3
> and that is giving failures.
>
>
> Eventually,
> Richard.
>
>
>
>
> Richard Kerry
> BNCS Engineer
> T: +44 (0)20 82259063
> M: +44 (0)7812 325518
> Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
> richard.kerry@atos.net
> uk.atos.net
>
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
>
> ________________________________________
> From: Kerry, Richard
> Sent: 30 August 2012 11:22
> To: DocBook Apps Mailing List ‎[docbook-apps@lists.oasis-open.org]‎
> Subject: Epub3 - zip, or not ?
>
> I decided to try building an epub from my DocBook document, using epub3 .....
> Following the instructions in the README.
>
> Step 1.  XSL (epub3/chunk.xsl) to generate Xhtml and other files.
>     That seems to work fine.
>
> Step 2.  Copy in any image files.
>     I wrote some XSL to scan package.opf and generate a batch file to do the copy.
>     I don't think XSL (or Saxon) has a built-in ability to copy files, so I build a batch file then run it.
>
> Step 3.  Zip it.
>     Ok, so I do the command as in the README -
> zip -r -X mybook.epub mimetype META-INF OEBPS
>
> And I get -
> 'zip' is not recognized as an internal or external command, operable program or batch file.
>
> So - firstly, if referring to a program that isn't part of the operating system, please explain exactly what is meant.
>
>
> Anyway, I thought I recognized the syntax as Info-Zip's zip (I normally use 7-zip) so I set about getting a copy.
> Ok, the download is FTP, which I haven't used for ages.  So install Filezilla and try and download an info-zip exe.
> Eventually find an exe, from zip323xn.  Add its folder to my Path.
>
> Then run it ....
> zip -r -X mybook.epub mimetype META-INF OEBPS
>
> And now I get -
>         zip warning: multiple disk information ignored
> <path-to>/Info-Zip/zip232xn/zip.exe: found a preamble of 20832 bytes
>         zip warning: name not matched: mybook.epub
> zip I/O error: Permission denied
> zip error: Could not create output file (<path-to>//Info-Zip/zip232xn/zip.exe)
>
>
> Ok, so can someone tell me how to actually get this to work ?
>
>
> And ......
> Can 7-zip be used for this, if Info-zip's zip is going to give problems ?
> I think I've seen somewhere that "mimetype" should be in the archive but not compressed.  Is this so ?
> If so how do we get it not to compress certain files ?
>
>
> Frustratedly,
> Richard.
>
>
>
>
>
>
>
> Richard Kerry
> BNCS Engineer
> T: +44 (0)20 82259063
> M: +44 (0)7812 325518
> Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
> richard.kerry@atos.net
> uk.atos.net
>
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]