Using jEdit with EADA
jEdit Setup Information
- jEdit will not run unless you have Java on your system. Java can be downloaded from http://java.sun.com/j2se/1.3/download.html
-
After downloading jEdit, double-click on the downloaded file and follow the installation directions provided by your system.
- Before jEdit will parse your xml file, the correct plug-ins must be installed.
- Select "Plugins" from the menu
- Select "Plugin Manager" from the drop-down box.
- Select "Install Plugins".
- In the next window, choose "XML" and "XML Indenter" for installation, making certain that the radio button "Install in user plugin directory . . . " is selected.
- At this point, jEdit must be restarted for the plugins to work.
|
Parsing within jEdit
- Once the plug-ins are loaded, restart jEdit; open the file "EADAHeader.xml"; and rename it according to the naming conventions outlined in the Overview. Be certain to save the file in a directory you can locate easily.
- Ensure that the DTD is in the same directory on your computer in which you saved the XML document mentioned above. This way, jEdit will automatically read the line of code <!DOCTYPE TEI.2 SYSTEM "eada.dtd"> in the header of the XML file and recognize the correct DTD document against which it will parse.
- The best way to ensure that you are encoding correctly, is to keep the parsing mechanism on at all times. Under "Plugins" on the menu bar, select "Sidekick". Then select "Parse on Keystroke". If there is an error, the error will be listed at the bottom of the window in the "Error List" and a red line will appear underneath the section of text in which the error appears.
- Also, parsing can be enabled at any moment by choosing "Parse Buffer" within the "Sidekick" menu option.
|
Encoding the body of the document within jEdit.
- Ensure that the DTD is in the same directory on your computer as the XML file. jEdit will automatically indicate which tags are allowed within outer elements.
- To complete the header information and for complete instructions on encoding the main body of the document (e.g., within either the <front> or the <back> elements) see the instructions included in the Elements Descriptions.
|
|
|
|
|
|
|