determining-version-of-ditaot.dita 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
  3. <!--This file is part of the DITA Open Toolkit project. See the accompanying LICENSE.md file for applicable licenses.-->
  4. <task id="determining-version-of-dita-ot">
  5. <title>Checking the DITA-OT version</title>
  6. <shortdesc>You can determine the version of the DITA Open Toolkit from a command prompt.</shortdesc>
  7. <taskbody>
  8. <steps>
  9. <step>
  10. <cmd conref="../resources/conref-task.dita#ID/open-terminal"/>
  11. </step>
  12. <step>
  13. <cmd>Issue the following command:</cmd>
  14. <choicetable frame="topbot" relcolwidth="1.0* 3.0*">
  15. <chrow platform="linux osx">
  16. <choption>Linux or Mac OS&#xA0;X&#xA0;</choption>
  17. <chdesc>
  18. <cmdname>bin/dita</cmdname>
  19. <option>-version</option>
  20. </chdesc>
  21. </chrow>
  22. <chrow platform="windows">
  23. <choption>Windows</choption>
  24. <chdesc>
  25. <cmdname>bin\dita</cmdname>
  26. <option>-version</option>
  27. </chdesc>
  28. </chrow>
  29. </choicetable>
  30. <info>
  31. <note conref="../resources/conref-task.dita#ID/dita-in-path"/>
  32. </info>
  33. </step>
  34. </steps>
  35. </taskbody>
  36. </task>