Terminology plugin usage

Parent: Terminology plugin

The basic idea to create a terminology database using the plugin is to create one <termentry> topic per terminology concept. A terminology concept contains multiple terms, represented with <fullForm>, <abbreviation> or acronym elements. A <termentry> topic also can have typfied semantical relations to other <termentry> topics in the <relations> section.

Creating a <termentry> topics is very easy when you have installed the Oxygen XML framework, as explained on the installation page. The following picture shows, how a <termentry> topic is rendered in the Oxygen XML Author view. You can find the underlying DITA XML code underneath.

Termentry topic in Oxygen XML author view

Example: car.dita <termentry> topic
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:jung:dita:rng:termentry.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="urn:jung:dita:rng:termentry.rng" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<termentry id="car">
 <title>Car</title>
 <definition>
  <definitionText>A car is a wheeled, self-powered motor vehicle used for transportation.</definitionText>
  <definitionSource>
   <sourceReference href="https://en.wikipedia.org/wiki/Car" format="html" scope="external"
    >Wikipedia</sourceReference>
  </definitionSource>
 </definition>
 <termBody>
  <fig>
   <title>2015 Volkswagen Passat (3G MY16) 132TSI</title>
   <image href="https://upload.wikimedia.org/wikipedia/commons/7/78/2015_Volkswagen_Passat_%283G_MY16%29_132TSI_station_wagon_%282015-11-11%29_01.jpg" scope="external" width="600px">
    <alt>By OSX (Own work) [Public domain], via Wikimedia Commons</alt>
   </image>
  </fig>
  <domains>
   <domain concept-domain="Car"/>
  </domains>
  <partOfSpeech/>
  <fullForm usage="preferred" language="en-GB">
   <termVariant xml:lang="en-GB">car</termVariant>
  </fullForm>
  <fullForm usage="notRecommended" language="de-DE">
   <termVariant xml:lang="de-DE">Automobil</termVariant>
  </fullForm>
  <abbreviation usage="preferred" language="de-DE">
   <termVariant xml:lang="de-DE">Auto</termVariant>
  </abbreviation>
 </termBody>
 <relations>
  <relatedTerms>
   <relatedTerm keyref="truck"/>
  </relatedTerms>
 </relations>
</termentry>

org.jung.terminology ships a comprehensive set of sample files, that show you how to create terms and create the various outputs. The samples contain a DITA-OT project file with predefined transformations to create termchecker files, termbrowser, and so forth. If you don’t know what a DITA-OT project file is, read dita-ot.org - Publishing with project files. You can read more about how to publish with a DITA-OT project file in the Oxygen XML documentation. To test the transformations, just open the terminology.ditamap in the oXygen DITA Maps Manager and run a transformation scenario.

CAUTION <termentry> topics are not meant to be used or reused in a normal DITA project, they are just used for storing the terminology.

INFO If you have found a bug or want to request a feature, please raise a GitHub issue.