24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Predefined Document Types | 140The DocBook 5 Document TypeA file is considered to be a DocBook 5 document when the namespace is http://docbook.org/ns/docbook.DocBook 5 documents use a Relax NG and Schematron schema located in${frameworks}/docbook/5.0/rng/docbookxi.rng, where ${frameworks} is a subdirectory of the <strong>Oxygen</strong><strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> install directory.The CSS file used for rendering DocBook content is located in ${frameworks}/docbook/css/docbook.css.The <strong>XML</strong> catalog is stored in ${frameworks}/docbook/5.0/catalog.xml.<strong>Author</strong> ExtensionsThe DocBook 5 extensions are the same as the DocBook 4 extensions. In addition, the table actions work also for HTMLtables.A drag and drop with a file from the Project view or from the DITA Maps Manager view to a DocBook 5 documentthat is edited in <strong>Author</strong> mode will create a link to the dragged file (the link DocBook element) at the drop location. Adrag and drop with an image file from the default file system application (Windows Explorer on Windows, Finder onMac OS X, etc) will insert an image element (the inlinemediaobject DocBook element with an imagedatachild element) with the location of the dragged file at the drop location, like the Insert Graphic toolbar action.Transformation ScenariosDefault transformation scenarios allow you to transform DocBook 5 documents to HTML, HTML Chunk, PDF, XHTML,XHTML Chunk, WebHelp (experimental) and EPUB.DocBook to EPUB TransformationThe EPUB specification recommends the use of OpenType fonts (recognized by their .otf file extension) when possible.To use a specific font:• first you need to declare it in your CSS file, like:@font-face {font-family: "MyFont";font-weight: bold;font-style: normal;src: url(fonts/MyFont.otf);}• tell the CSS where this font is used. To set it as default for h1 elements, use the font-family rule as in thefollowing example:h1 {font-size:20pt;margin-bottom:20px;font-weight: bold;font-family: "MyFont";text-align: center;}• in your DocBook to EPUB transformation, set the epub.embedded.fonts parameter to fonts/MyFont.otf.If you need to provide more files, use comma to separate their file paths.Note: The html.stylesheet parameter allows you to include a custom CSS in the output EPUB.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!