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.

<strong>Author</strong> Developer Guide | 230URI of the default CSS stylesheet from ${frameworks}/dita/css_classed/dita.css to${frameworks}/dita/css_classed/my_dita.css.Figure 113: Set the location of the default CSS stylesheet3. Press OK in all the dialogs to validate the changes. Now you can start editing DITA documents based on the newCSS stylesheet. You can edit the new CSS stylesheet itself at any time and see the effects on rendering DITA <strong>XML</strong>documents in the <strong>Author</strong> mode by running the Refresh action available on the <strong>Author</strong> toolbar and on the DITA menu.Document Type Sharing<strong>Oxygen</strong> has support for allowing you to share the customizations which you have made for a specific <strong>XML</strong> type bycreating your own Document Type in the Document Type Association preferences page.A document type can be shared between authors in two ways:• Save it externally in a separate framework folder in the OXYGEN_INSTALL_DIR/frameworks directory.Important: In order for this approach to work you will need to have <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> installedto a folder with full write access.Please see the following steps:1. Create a new directory in the OXYGEN_INSTALL_DIR/frameworks for your new framework. This directorywill contain resources for your framework (CSS files, new file templates, schemas used for validation, catalogs).See the Docbook framework structure from the OXYGEN_INSTALL_DIR/frameworks/docbook as anexample.2. Create your new custom document type and save it external in the newly created framework directory (with aname like custom.framework).3. Configure the custom document type according to your needs, take special care to make all file references relativeto the OXYGEN_INSTALL_DIR/frameworks directory by using the ${frameworks} editor variable. The<strong>Author</strong> Developer Guide contains all details necessary for creating and configuring a new document type.4. If everything went fine then you should have a new configuration file saved in:OXYGEN_INSTALL_DIR/frameworks/your_framework_dir/custom.framework after thePreferences are saved.5. You can then share the new framework directory with other users (have them copy it to theirOXYGEN_INSTALL_DIR/frameworks directory) and the new document type will be available in the list ofDocument Types when <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> is started.• Save the document type at project level in the Document Type Association page.Please see the following steps:

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

Saved successfully!

Ooh no, something went wrong!