| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
- <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
- <task id="determining-version-of-dita-ot">
- <title>Checking the DITA-OT version number</title>
- <titlealts>
- <navtitle>Checking the version</navtitle>
- </titlealts>
- <shortdesc>You can determine the DITA Open Toolkit version number from a command prompt.</shortdesc>
- <prolog>
- <metadata>
- <keywords>
- <indexterm>macOS
- <indexterm>DITA-OT version</indexterm></indexterm>
- <indexterm>Linux
- <indexterm>DITA-OT version</indexterm></indexterm>
- <indexterm>Windows
- <indexterm>DITA-OT version</indexterm></indexterm>
- <indexterm>command line
- <indexterm>checking DITA-OT version</indexterm></indexterm>
- <indexterm>installing
- <indexterm>check current version</indexterm></indexterm>
- </keywords>
- </metadata>
- </prolog>
- <taskbody>
- <steps>
- <step>
- <cmd conkeyref="conref-task/open-terminal"/>
- </step>
- <step>
- <cmd>Issue the following command:</cmd>
- <choicetable frame="topbot" relcolwidth="1* 3*">
- <chrow platform="linux mac">
- <choption>Linux or macOS </choption>
- <chdesc>
- <cmdname>bin/dita</cmdname>
- <parmname>--version</parmname>
- </chdesc>
- </chrow>
- <chrow platform="windows">
- <choption>Windows</choption>
- <chdesc>
- <cmdname>bin\dita</cmdname>
- <parmname>--version</parmname>
- </chdesc>
- </chrow>
- </choicetable>
- <info>
- <note conkeyref="conref-task/dita-in-path"/>
- </info>
- </step>
- </steps>
- <result>
- <p>The DITA-OT version number appears on the console:</p>
- <codeblock><systemoutput>DITA-OT version <keyword keyref="maintenance-version"/></systemoutput></codeblock>
- </result>
- </taskbody>
- </task>
|