public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* epubcheck errors with Pandoc 2
@ 2017-10-30 16:17 Russ
       [not found] ` <bddc34b4-5b72-49b4-96a4-f02d936fab9d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Russ @ 2017-10-30 16:17 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1727 bytes --]


In our tests, we noticed a few errors in epubcheck when compiling books 
with the Pandoc 2.0, these both compiled before without error on the 
previous Pandoc version :


Validating using EPUB version 2.0.1 rules.

ERROR(RSC-005): books.epub/EPUB/content.opf(2,181): Error while parsing 
file 'attribute "prefix" not allowed here; expected attribute "id"'.

ERROR(RSC-007): books.epub/EPUB/cover.xhtml(10,83): Referenced resource 
could not be found in the EPUB.


1. Now the first one looks like a problems with `prefix="ibooks: 
http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/"` 
in content.opf? Is there a way to turn this off or fix the error?

<package version="2.0" unique-identifier="epub-id-1" prefix="ibooks: 
http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/" 
xmlns="http://www.idpf.org/2007/opf">


2. The second one looks like a problem with this line in cover.xhtml, 
capital 'S' for Styles?

<link rel="stylesheet" type="text/css" href="../styles/stylesheet1.css"/>


Should it be ?

<link rel="stylesheet" type="text/css" href="../Styles/stylesheet1.css"/>


Any advice appreciated.


Russ

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/bddc34b4-5b72-49b4-96a4-f02d936fab9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 440678 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-31 16:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-30 16:17 epubcheck errors with Pandoc 2 Russ
     [not found] ` <bddc34b4-5b72-49b4-96a4-f02d936fab9d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-10-30 17:24   ` John MACFARLANE
2017-10-31  0:04     ` John MACFARLANE
2017-10-31  0:43       ` John MACFARLANE
2017-10-31  7:11         ` Russ
     [not found]           ` <3c5d257d-6865-4843-83b2-65cfe058aae7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-10-31 16:58             ` John MACFARLANE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).