Export content for digital editions (ebook), Digital editions reader software. see – Adobe InDesign CS4 User Manual
Page 123

115
USING INDESIGN CS4
Working with documents
Baseline to make each JPEG file display only after it has been completely downloaded; a placeholder appears in its place
until the file displays.
Link To Server Path
Rather than exporting images to a subfolder, this option lets you enter a local URL (such as
“images/”) that appears in front of the image file. In the HTML code, the link attribute displays the path and extension
you specify. This option is especially effective when you’re converting images to web-compatible images yourself.
Note: InDesign does not check the path you specify for Java™ scripts, external CSS styles, or image folders, so use
Dreamweaver to verify paths.
Advanced options
Use the Advanced area to set CSS and JavaScript options.
CSS Options
Cascading Style Sheets (CSS) are a collection of formatting rules that control the appearance of content
in a web page. When you use CSS to format a page, you separate content from presentation. The content of your page—
the HTML code—resides in the HTML file itself, while the CSS rules defining the presentation of the code reside in
another file (an external style sheet) or within the HTML document (usually in the Head section). For example, you
can specify different font sizes for selected text, and you can use CSS to control the format and positioning of block-
level elements in a web page.
When exporting to XHTML, you can create a list of CSS styles that appears in the Head section of the HTML file with
empty declarations (attributes). You can edit later these declarations in Dreamweaver. You can choose No CSS to omit
the CSS section, or you can specify an external CSS. If you select External CSS, specify the URL of the existing CSS style
sheet, which is usually a relative URL, such as “/styles/style.css.” InDesign does not check whether the CSS exists or is
valid, so you’ll want to use Dreamweaver to confirm your external CSS setup.
JavaScript Options
Select Link To External JavaScript to run a JavaScript when the HTML page is opened. Specify the
URL of the JavaScript, which is usually a relative URL. InDesign does not check whether the JavaScript exists or is valid.
Export content for Digital Editions (eBook)
You can export a document or book as a reflowable eBook that is compatible with the Adobe Digital Editions reader
software.
1 Do either of the following:
•
To export a document, open the document and choose File
> Export For Digital Editions.
•
To export an entire book, open the book and choose Export Book For Digital Editions from the Book panel menu.
2 Specify a filename and location, and then click Save.
3 In the Digital Editions Export Options dialog box, specify the desired options in the General, Images, and Contents
areas, and then click Export.
InDesign creates a single .epub file containing the XHTML-based content. The exported file includes a JPEG
thumbnail image from the first page in the specified document (or the style source document if a book was selected).
This thumbnail is used to depict the book in the Digital Editions Reader library view. To view the file, you need the
Digital Editions software, which you can download free from the Adobe website.
The .epub file is essentially a .zip file. To view and edit the contents of the .epub file, change the extension from .epub
to .zip, and then extract the contents. This is especially useful for editing the CSS file.
For more information on the ePub format, see
Updated 18 June 2009