dita2htmlhelp.dita 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <concept id="dita2htmlhelp" xml:lang="en-US">
  5. <title>HTML Help</title>
  6. <shortdesc>The <option>htmlhelp</option> transformation generates HTML output, CSS files, and the control files that
  7. are needed to produce a Microsoft Compiled HTML Help (.chm) file.</shortdesc>
  8. <prolog>
  9. <metadata>
  10. <keywords>
  11. <indexterm>transformations<indexterm>HTML Help</indexterm></indexterm>
  12. <indexterm>HTML Help<index-see-also>transformations</index-see-also></indexterm>
  13. <indexterm>CHM<index-see>HTML Help</index-see></indexterm>
  14. <indexterm>Microsoft HTML Help Workshop</indexterm>
  15. <indexterm>.hhc</indexterm>
  16. <indexterm>.hhk</indexterm>
  17. <indexterm>.hhp</indexterm>
  18. <indexterm>plug-ins<indexterm>dita2htmlhelp</indexterm></indexterm>
  19. <indexterm>dita2htmlhelp</indexterm>
  20. <indexterm>CSS<indexterm>HTML Help</indexterm></indexterm>
  21. <indexterm>index<indexterm>HTML Help</indexterm></indexterm>
  22. <indexterm>table of contents<indexterm>HTML Help</indexterm></indexterm>
  23. </keywords>
  24. </metadata>
  25. </prolog>
  26. <conbody>
  27. <p>In addition to the HTML output and CSS files, this transformation returns the following files, where
  28. <varname>mapname</varname> is the name of the master DITA map.</p>
  29. <simpletable outputclass="table-hover" frame="all" relcolwidth="2* 3*">
  30. <sthead>
  31. <stentry>File name</stentry>
  32. <stentry>Description</stentry>
  33. </sthead>
  34. <strow>
  35. <stentry><filepath><varname>mapname</varname>.hhc</filepath></stentry>
  36. <stentry>Table of contents</stentry>
  37. </strow>
  38. <strow>
  39. <stentry><filepath><varname>mapname</varname>.hhk</filepath></stentry>
  40. <stentry>Sorted index</stentry>
  41. </strow>
  42. <strow>
  43. <stentry><filepath><varname>mapname</varname>.hhp</filepath></stentry>
  44. <stentry>HTML Help project file</stentry>
  45. </strow>
  46. <strow>
  47. <stentry><filepath><varname>mapname</varname>.chm</filepath></stentry>
  48. <stentry>
  49. <p>Compiled HTML Help file</p>
  50. <note>The compiled file is only generated if the HTML Help Workshop is installed on the build system.</note>
  51. </stentry>
  52. </strow>
  53. </simpletable>
  54. <p>To run the HTML Help transformation, set the <parmname>transtype</parmname> parameter to
  55. <option>htmlhelp</option>, or pass the <parmname>--format</parmname>=<option>htmlhelp</option> option to the
  56. <cmdname>dita</cmdname> command line.</p>
  57. <codeblock><filepath conref="../resources/conref-task.dita#ID/dita-cmd"/> <parmname>--input</parmname>=<varname>input-file</varname> <parmname>--format</parmname>=<option>htmlhelp</option></codeblock>
  58. <p>where:</p>
  59. <ul>
  60. <li conref="../resources/conref-task.dita#ID/novice-variables-1"
  61. conrefend="../resources/conref-task.dita#ID/novice-variables-2"/>
  62. </ul>
  63. </conbody>
  64. </concept>