plugins-installing.html 7.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html
  2. SYSTEM "about:legacy-compat">
  3. <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="copyright" content="(C) Copyright 2020"><meta name="DC.rights.owner" content="(C) Copyright 2020"><meta name="DC.type" content="task"><meta name="description" content="Use the dita install subcommand to install plug-ins."><meta name="DC.subject" content="command, dita, plug-ins, plug-ins, installing, integrator, plug-ins"><meta name="keywords" content="command, dita, plug-ins, plug-ins, installing, integrator, plug-ins"><meta name="DC.relation" scheme="URI" content="../topics/adding-plugins.html"><meta name="DC.relation" scheme="URI" content="../topics/custom-plugins.html"><meta name="DC.relation" scheme="URI" content="../topics/plugins-registry.html"><meta name="DC.relation" scheme="URI" content="../parameters/dita-command-arguments.html"><meta name="DC.format" content="HTML5"><meta name="DC.identifier" content="plugins-installing"><meta name="DC.language" content="en"><link rel="stylesheet" type="text/css" href="../css/commonltr.css"><link rel="stylesheet" type="text/css" href="../css/dita-ot-doc.css"><title>Installing plug-ins</title></head><body id="plugins-installing"><header role="banner"><div class="header">
  4. <p>DITA Open Toolkit</p>
  5. <hr>
  6. </div></header><nav role="toc"><ul><li><a href="../index.html">DITA Open Toolkit 3.5</a></li><li><a href="../release-notes/index.html">Release Notes</a></li><li><a href="../topics/installing-client.html">Installing DITA-OT</a></li><li><a href="../topics/building-output.html">Building output</a></li><li><a href="../topics/input-formats.html">Authoring formats</a></li><li><a href="../topics/output-formats.html">Output formats</a></li><li><a href="../parameters/index.html">Parameters</a></li><li><a href="../topics/html-customization.html">Customizing HTML</a></li><li><a href="../topics/pdf-customization.html">Customizing PDF</a></li><li><a href="../topics/adding-plugins.html">Adding plug-ins</a><ul><li class="active"><a href="../topics/plugins-installing.html">Installing plug-ins</a></li><li><a href="../topics/plugins-removing.html">Removing plug-ins</a></li><li><a href="../topics/plugins-registry.html">Plug-in registry</a></li><li><a href="../topics/rebuilding-docs.html">Rebuilding documentation</a></li></ul></li><li><a href="../topics/custom-plugins.html">Creating plug-ins</a></li><li><a href="../topics/troubleshooting-overview.html">Troubleshooting</a></li><li><a href="../reference/index.html">Reference</a></li><li><a href="../topics/dita-and-dita-ot-resources.html">Resources</a></li></ul></nav><main role="main"><article role="article" aria-labelledby="ariaid-title1">
  7. <h1 class="title topictitle1" id="ariaid-title1">Installing plug-ins</h1>
  8. <div class="body taskbody"><p class="shortdesc">Use the <span class="keyword cmdname">dita install</span> subcommand to install plug-ins.</p>
  9. <section><div class="tasklabel"><h2 class="sectiontitle tasklabel">Procedure</h2></div><div class="li step p">
  10. <span class="ph cmd">At the command-line prompt, enter the following command:</span>
  11. <div class="itemgroup info">
  12. <pre class="pre codeblock"><code><span class="keyword cmdname">dita install</span> <var class="keyword varname">&lt;plug-in&gt;</var></code></pre>
  13. <p class="p">where:</p>
  14. <ul class="ul">
  15. <li class="li">the optional <span class="ph filepath"><var class="keyword varname">&lt;plug-in&gt;</var></span> argument is one of
  16. the following:
  17. <ul class="ul">
  18. <li class="li">the unique <var class="keyword varname">ID</var> of the plug-in as defined in the plug-in registry at
  19. <a class="xref" href="https://www.dita-ot.org/plugins" target="_blank" rel="external noopener">dita-ot.org/plugins</a> (or a local registry)</li>
  20. <li class="li">the remote <var class="keyword varname">URL</var> of the plug-in’s distribution ZIP file</li>
  21. <li class="li">the name of a local ZIP <var class="keyword varname">file</var></li>
  22. </ul>
  23. </li>
  24. </ul>
  25. <div class="note note note_note"><span class="note__title">Note:</span> <span class="ph">In earlier versions of DITA-OT (2.4–3.4), use the double-hyphen option
  26. syntax <span class="keyword cmdname">dita</span></span>
  27. <span class="keyword parmname">--install</span>. <span class="ph">In DITA-OT 2.0–2.3, use the
  28. single-hyphen form: <span class="keyword cmdname">dita</span></span>
  29. <span class="keyword parmname">-install</span>.</div>
  30. <div class="note tip note_tip"><span class="note__title">Tip:</span>
  31. <span class="ph">If no <var class="keyword varname">ID</var>, <var class="keyword varname">URL</var>, or
  32. <var class="keyword varname">file</var> argument is provided, the installation process reloads the current set of
  33. plug-ins from the <span class="ph filepath">plugins</span> directory. This approach can be used to add or remove
  34. multiple plug-ins at once, or any individual plug-ins you have already copied to (or removed from) the
  35. <span class="ph filepath">plugins</span> directory. Any plug-ins added or removed in the process will be listed
  36. by their plug-in ID.</span>
  37. </div>
  38. </div>
  39. </div></section>
  40. </div>
  41. <nav role="navigation" class="related-links"><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/adding-plugins.html" title="You can extend DITA-OT with additional plug-ins to change the default output types in various ways, add entirely new kinds of output formats, or implement DITA specializations. A variety of open source plug-ins are available from the plug-in registry at dita-ot.org/plugins.">Adding and removing plug-ins</a></div></div><div class="linklist relconcepts"><strong>Related concepts</strong><br><ul class="linklist"><li class="linklist"><a class="link" href="../topics/custom-plugins.html" title="In addition to adding plug-ins from the plug-in registry at dita-ot.org/plugins, you can create custom DITA-OT plug-ins of your own to modify the default output, add new output formats, support new languages, or implement DITA topic specializations.">Creating custom plug-ins</a></li></ul></div><div class="linklist relref"><strong>Related reference</strong><br><ul class="linklist"><li class="linklist"><a class="link" href="../parameters/dita-command-arguments.html" title="The dita command takes mandatory arguments to process DITA content. Subcommands can be used to manage plug-ins, or print information about the current configuration. A series of options are available to modify the command behavior or specify additional configuration parameters.">Arguments and options for the dita command</a></li></ul></div><div class="linklist relinfo"><strong>Related information</strong><br><ul class="linklist"><li class="linklist"><a class="link" href="../topics/plugins-registry.html" title="DITA-OT 3.2 supports a new plug-in registry that makes it easier to discover and install new plug-ins. The registry provides a searchable list of plug-ins at dita-ot.org/plugins.">Adding plug-ins via the registry</a></li></ul></div></nav></article></main></body></html>