EPUB features

Features for formatting components and functionality of EPUB ebooks

Display graphics for EPUB features

When producing EPUB files from XML, cop-e-boox (with the bundled DocBook stylesheets) generates the individual component folders and files in an output directory called "epuboutput" (e.g. META-INF and OEBPS directories, mimetype file). You then need to manually create the final EPUB by copying the EPUB CSS file into the OEBPS directory, zipping all the component files and renaming the zipped file with the extension ".epub".

The stylesheet e0-epubdocbookmaster has features and instructions to set up the functionality of EPUB ebooks. The formats that can be set in the stylesheet are:

XML markup to edit

Change the abbreviation for the ebook format. The stylesheet feature at e0-70 is an abbreviation or name that selects a specific image in each <imageobject> element only for output to EPUB. You specify the name in a role attribute. For example:
<imageobject role="epub">
The image that is contained inside this particular <imageobject> element will appear only in EPUB output. The name that you specify in the stylesheet must match the abbreviation you use in XML files. You can change the name to any text, such as "ebook", but you need to use the same name in both the stylesheet and XML files.

Index naming. Read the section about adding an ID name to the <index> element.

Stylesheet settings to edit

The relevant Stylesheet Guide page to set up EPUB ebook formats is EPUB-master.svg.