Quote:
Originally Posted by andyd273
I did the conversion from the html to epub, then opened it in sigil.
Not a ton of errors, but I'm not sure what to do with them... most of them say "no character data is allowed by content model"
a few say "element 'br' is not allowed for content model '(p|h1|h2|h3|...'"
in this case it's a br inside of a blockquote...
how do I do line breaks inside of a blockquote?
I have a few that say "element 'metadata' is now allowed for content model", but those went away when I removed the <metadata></metadata> tags from the top of the <body>. I didn't put those all in there, it was calibre. not a big deal for this file because it's only 11 chapters, but I have one I'm helping with that'll end up being 372 chapters (one for each day of the year, plus a few extra sections) and I'm hoping not to have to edit out 372 <metadata></metadata> tags.
The last error is for OEBPS/images/titleart.jpg "this resource is present in the OPF <manifest> but it's not reachable (it's unused)."
Should I remove the reference to the titleart.jpg from the OPF file?
|
Just use multiple <p></p> tags inside of a blockquote and control the top and bottom margins to your preference. theducks advice on this is equally valid.
Note Calibre generally creates working ePubs, but it's not guaranteed to create compliant ePubs. I'm not sure why Calibre inserted those metadata tags, someone else may be able to comment. Anyway you can use Sigil's search and replace to create a regex to remove them simultaneously for 372 chapters should the problem come up again.
If you're not using titleart.jpg then it's simplest to delete it, yes. Delete the actual file and Sigil will automatically update the OPF.