UNPKG

epubjs

Version:

Render ePub documents in the browser, across many devices

67 lines (45 loc) 5.92 kB
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html><html xmlns:epub="http://www.idpf.org/2007/ops" xmlns="http://www.w3.org/1999/xhtml"><head><title>Why Atlas</title><link rel="stylesheet" type="text/css" href="epub.css"/></head><body data-type="book"><section data-type="chapter" epub:type="chapter" data-pdf-bookmark="Chapter 3. Why Atlas"><div class="chapter" id="why-atlas"> <h1><span class="label">Chapter 3. </span>Why Atlas</h1> <p>Unlike other authoring platforms, Atlas is proven to work in a professional editorial and production environment. We’ve used Atlas to write and produce hundreds of O’Reilly books, and we’ve refined the system so that you can create professional-quality versions of your content in print, digital book, and web formats. Look no further: You’ve found the service for creating the next-generation of books.</p> <p>With Atlas, you can:</p> <ul> <li>Write in a WYSIWYG editor or in a markup language like Markdown or AsciiDoc</li> <li>Build EPUB, Mobi, print or online PDF, and a website from a single source</li> <li>Design “themes” using CSS and easily apply them to all formats</li> <li>Include rich content types, such as video or interactive visualizations, with intelligent fallbacks for print</li> <li><span>Store content in GitHub, enabling massive collaboration</span></li> </ul> <p>The following sections describe each feature in more detail.</p> <section data-type="sect1" data-pdf-bookmark="Editing Environments"><div class="sect1" id="editingenvironments"> <h1>Editing Environments</h1> <p>Atlas supports two editing modes: WYSIWYG and text markup.</p> <p>In WYSIWYG mode, you write in an online environment that is similar to a traditional word processor. This visual editor gives you a toolbar with all your standard formatting tools, and lets you write in a clean environment while still providing the underlying document structure that is necessary to <a data-original-title="" title="" href="ch06.html#building">build your project</a></p> <p><img class="icontentsimageswysiwyg_editorpng" src="assets/wysiwyg_editor.png"/></p> <p>Behind the scenes, you’re actually getting well-formed HTML5—specifically, <a href="https://github.com/oreillymedia/HTMLBook">HTMLBook</a>, our new open standard for writing books (or book-like projects) in HTML. </p> <p>If you prefer writing in one of the lightweight markup languages popular today, then we’ve got you covered with the Code Editor. In this text markup mode, you can use either Markdown or AsciiDoc, a language similar to Markdown but more robust for presenting complex information. Both of these languages can still be built to <a href="ch06.html#outputformats">all four output formats</a>.</p> <p><img class="icontentsimagestexteditorpng" src="assets/texteditor.png"/></p> </div></section> <section data-type="sect1" data-pdf-bookmark="Build All Formats from a Single Source"><div class="sect1" id="idm552096"> <h1>Build All Formats from a Single Source</h1> <p><span>Like the web, Atlas separates content from presentation. Once you’ve written your material, you can “build” it into any of the major publishing and distribution formats: PDF, EPUB, Mobi, or HTML (for publication on the web). Simply drag and drop the files in the order you would like them to appear, and Atlas handles the rest. Atlas uses O’Reilly Media’s industry-leading publishing toolchain, so the output formats are suitable for distribution in all major print and digital channels.</span></p> </div></section> <section data-type="sect1" data-pdf-bookmark="Content Themes"><div class="sect1" id="idm8224"> <h1>Content Themes</h1> <p>Atlas “themes” allow you to style the various output formats using CSS. Consequently, the same content in Atlas can be easily restyled into almost any design. For example, the following image shows the same content, but with two different themes. Read more about themes in "<a href="ch07.html#stylingandtheming">Styling and Theming</a>“.</p> <img class="icontentsimagessame_content_different_themepng" src="assets/same_content_different_theme.png"/></div></section> <section data-type="sect1" data-pdf-bookmark="Interactive Content"><div class="sect1" id="idm4928"> <h1>Interactive Content</h1> <p>Content in Atlas can be easily exported to a fully interactive website, allowing authors to create compelling online sites like these:</p> <ul> <li><a href="http://chimera.labs.oreilly.com/books/1234000001552/ch04.html#s04_5">Web Audio API</a> has interactive tools that allow the reader to manipulate the examples described in the book.</li> <li><a href="http://chimera.labs.oreilly.com/books/1230000000345/ch11.html#_pie_layout">Interactive Data Visualization for the Web</a> contains live data visualizations that readers can manipulate using a “Try It Now” section.</li> <li><a href="http://chimera.labs.oreilly.com/books/1234000001654/ch08.html#the_geo_blaster_basic_full_source">HTML5 Canvas</a> allows the reader to play a game that is described in the book itself.</li> </ul> <p>A critical feature of these interactive elements is that the author can include “fallbacks” for formats where the interactive element is not supported. For example, you can include a still image that will be automatically used in place of a video in the PDF version of the content.</p> </div></section> <section data-type="sect1" data-pdf-bookmark="Content Stored on GitHub"><div class="sect1" id="idm775008"> <h1>Content Stored on GitHub</h1> <p>Atlas stores all content natively in GitHub using the GitHub APIs. This means that all content in Atlas can take full advantage of the unrivaled collaborative power of GitHub, as well as the rich, underlying power of Git for versioning, change tracking, and auditing.</p> <img class="icontentsimagescontent_on_gitpng" src="assets/content_on_git.png"/></div></section> </div></section></body></html>