![]() Unicode is required, and content producers must use either UTF-8 or UTF-16 encoding. ![]() For a table of all required mimetypes, see Section 1.3.7 of the specification. Other media types are allowed, but creators must include alternative renditions using supported types. ĮPUB also requires that PNG, JPEG, GIF, and SVG images be supported using the mimetypes image/png, image/jpeg, image/gif, image/svg+xml. The mimetype for CSS documents in EPUB is text/css. ![]() Font-embedding can be accomplished using the property, as well as including the font file in the OPF's manifest (see below). Custom properties include oeb-page-head, oeb-page-foot, and oeb-column-number. This specialized syntax requires that reading systems support only a portion of CSS properties and adds a few custom properties. Styling and layout are performed using a subset of CSS 2.0, referred to as OPS Style Sheets. The mimetype for XHTML documents in EPUB is application/xhtml+xml. There are, however, a few restrictions on certain elements. This is different from previous versions (OEBPS 1.2 and earlier), which used a subset of XHTML. Finally, the files are bundled in a zip file as a packaging format.Īn EPUB file uses XHTML 1.1 (or DTBook) to construct the content of a book as of version 2.0.1. XML is used to create the document manifest, table of contents, and EPUB metadata. ĮPUB internally uses XHTML or DTBook (an XML standard provided by the DAISY Consortium) to represent the text and structure of the content document, and a subset of CSS to provide layout and formatting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |