View Single Post
Old 10-26-2015, 10:26 AM   #5
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,741
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by crankypants View Post
1. What is the minimal code in the XHTML files of an EPUB?
There is no minimal code. Theoretically, you should be able to use any valid XHTML file in an ePub.
Some tags/CSS rules aren't supported, though.
You can easily check your ePub with the online version of the official IDPF checker, ePubCheck.

Quote:
Originally Posted by crankypants View Post
I ask because Sigil doesn't support some tags like: <aside>, <blockquote>, and <codeblock>.
Sigil 0.8.x does support all of these tags, if you use the proper doctype for HTML5 files. However, if you want to use <aside> or <code>, you'll have to convert your book to an ePub3 book with the Sigil ePub3 output plugin. (<blockquote> can also be used in epub2 books.)

Quote:
Originally Posted by crankypants View Post
My Google Play reader for Android doesn't render this list correctly (manually entered in Calibre)
Theoretically, all ePub apps and eInk readers should display valid ePubs correctly, however, very few apps actually support all features defined in the ePub2/3 standards.
There are many other Android epub apps out there that might display your book better. I'd recommend a free Adobe RMSDK based app, e.g. Bluefire Reader.

Quote:
Originally Posted by HarryT View Post
The "<BLOCKQUOTE>" tag should be supported by all devices; it's basic HTML. I've certainly not encountered a device which doesn't support it.
Many ebook designers use <blockquote> tags incorrectly. For example, the following code fragment will be flagged by epubcheck:

Code:
  <blockquote>
    This is a blockquote.
  </blockquote>
However, if you add paragraph tags (or other suitable tags), the book will pass epubcheck:

Code:
    <blockquote>
      <p>This is a blockquote.</p>
    </blockquote>
Doitsu is offline   Reply With Quote