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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Predefined Document Types | 158<strong>plugin</strong> generates an ID if the Auto generate ID's for elements is enabled. If you want to keep already set elementid's when copying content in the same document, make sure the Remove ID's when copying content in the samedocument option is not checked.All actions described above are available in the contextual menu, the TEI P4 submenu of the main menu or in the<strong>Author</strong> custom actions toolbar.A drag and drop with a file from the Project view or from the DITA Maps Manager view to a TEI P4 document that isedited in <strong>Author</strong> mode will create a link to the dragged file (the ptr element with the target attribute) at the droplocation.Transformation ScenariosThe following default transformations are available:• TEI HTML - Transforms a TEI document into a HTML document• TEI P4 -> TEI P5 Conversion - Convert a TEI P4 document into a TEI P5 document• TEI PDF - Transforms a TEI document into a PDF document using the Apache FOP engineTemplatesThe default templates are stored in ${frameworks}/tei/templates/TEI P4 folder and they can be used foreasily creating basic TEI P4 documents. These templates are available when creating new documents from templates.• TEI P4 - Lite - New TEI P4 Lite• TEI P4 - New Document - New TEI P4 standard documentCustomization of TEI FrameworksThe TEI P4 framework and TEI P5 one are available as a public project at the following SVN repository:https://oxygen-tei.googlecode.com/svn/trunk/This project is the base for customizing a TEI framework.1. Check out the project on a local computer from the SVN repository.This action is done with an SVN client application that creates a working copy of the SVN repository on a localcomputer.2. Customize the TEI framework in <strong>Oxygen</strong>.a) Set the <strong>Oxygen</strong> frameworks folder to the folder of the SVN working copy.Go to menu Options > Preferences > Global and set the path of the SVN working copy in the option Use customframeworks.b) Edit the TEI framework in the Preferences dialog.Go to menu Options > Preferences > Document Type Association and edit the TEI framework.c) Close the Preferences dialog with the OK button.If the dialog is closed with the Cancel button, the modifications are not saved on disk.3. Build a jar file with the TEI framework.The SVN project includes a build.xml file that can be used for building a jar file using the Ant tool. The commandthat should be used:ant -f build.xml4. Distribute the jar file to the users that need the customized TEI framework.The command from the above step creates a file tei.zip in the dist subfolder of the SVN project. Each userthat needs the customized TEI framework will receive the tei.zip file and will unzip it in the frameworksfolder of the <strong>Oxygen</strong> install folder. After restarting the <strong>Oxygen</strong> application the new TEI framework will appear inthe Options > Preferences > Document Type Association.

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

Saved successfully!

Ooh no, something went wrong!