dita2htmlhelp.dita 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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
  12. <indexterm>HTML Help</indexterm></indexterm>
  13. <indexterm>HTML Help
  14. <index-see-also>transformations</index-see-also></indexterm>
  15. <indexterm>CHM
  16. <index-see>HTML Help</index-see></indexterm>
  17. <indexterm>Microsoft HTML Help Workshop</indexterm>
  18. <indexterm>.hhc</indexterm>
  19. <indexterm>.hhk</indexterm>
  20. <indexterm>.hhp</indexterm>
  21. <indexterm>plug-ins
  22. <indexterm>dita2htmlhelp</indexterm></indexterm>
  23. <indexterm>dita2htmlhelp</indexterm>
  24. <indexterm>CSS
  25. <indexterm>HTML Help</indexterm></indexterm>
  26. <indexterm>index
  27. <indexterm>HTML Help</indexterm></indexterm>
  28. <indexterm>table of contents
  29. <indexterm>HTML Help</indexterm></indexterm>
  30. </keywords>
  31. </metadata>
  32. </prolog>
  33. <conbody>
  34. <p>In addition to the HTML output and CSS files, this transformation returns the following files, where
  35. <varname>mapname</varname> is the name of the master DITA map.</p>
  36. <simpletable outputclass="table-hover" frame="all" relcolwidth="2* 3*">
  37. <sthead>
  38. <stentry>File name</stentry>
  39. <stentry>Description</stentry>
  40. </sthead>
  41. <strow>
  42. <stentry><filepath><varname>mapname</varname>.hhc</filepath></stentry>
  43. <stentry>Table of contents</stentry>
  44. </strow>
  45. <strow>
  46. <stentry><filepath><varname>mapname</varname>.hhk</filepath></stentry>
  47. <stentry>Sorted index</stentry>
  48. </strow>
  49. <strow>
  50. <stentry><filepath><varname>mapname</varname>.hhp</filepath></stentry>
  51. <stentry>HTML Help project file</stentry>
  52. </strow>
  53. <strow>
  54. <stentry><filepath><varname>mapname</varname>.chm</filepath></stentry>
  55. <stentry>
  56. <p>Compiled HTML Help file</p>
  57. <note>The compiled file is only generated if the HTML Help Workshop is installed on the build system.</note>
  58. </stentry>
  59. </strow>
  60. </simpletable>
  61. <p>To run the HTML Help transformation, set the <parmname>transtype</parmname> parameter to
  62. <option>htmlhelp</option>, or pass the <parmname>--format</parmname>=<option>htmlhelp</option> option to the
  63. <cmdname>dita</cmdname> command line.</p>
  64. <codeblock><filepath conkeyref="conref-task/dita-cmd"/> <parmname>--input</parmname>=<varname>input-file</varname> <parmname>--format</parmname>=<option>htmlhelp</option></codeblock>
  65. <p>where:</p>
  66. <ul>
  67. <li conkeyref="conref-task/novice-variables-1"
  68. conrefend="../resources/conref-task.dita#ID/novice-variables-2"/>
  69. </ul>
  70. </conbody>
  71. </concept>