Customization of TEI Frameworks Using the Latest Sources
The TEI P4 and TEI
P5 frameworks are available as a public project at the following SVN repository:
This project is the base for
customizing a TEI framework.
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 local computer.
Customize the TEI framework in Oxygen.
Set the Oxygen 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 custom frameworks.
Edit the TEI framework in the Preferences dialog.
Go to menu Options > Preferences > Document Type Association and edit the TEI framework.
Close the Preferences dialog with the OK button.
If the dialog is closed with the Cancel button, the modifications are not saved on disk.
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 command that should be used:
ant -f build.xml
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 user that needs the customized TEI framework will receive the tei.zip file and will unzip it in the frameworks folder of the Oxygen install folder. After restarting the Oxygen application the new TEI framework will appear in the Options > Preferences > Document Type Association.