preprocess-genlist.dita 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <reference id="preprocess-genlist" xml:lang="en-US">
  5. <title>Generate lists (gen-list)</title>
  6. <shortdesc>The <codeph>gen-list</codeph> step examines the input files and creates lists of topics, images, document
  7. properties, or other content. These lists are used by later steps in the pipeline. This step is implemented in
  8. Java.</shortdesc>
  9. <prolog>
  10. <metadata>
  11. <keywords>
  12. <indexterm>deprecated features<indexterm><parmname>htmlfile</parmname></indexterm></indexterm>
  13. <indexterm>deprecated features<indexterm><codeph>html.file</codeph></indexterm></indexterm>
  14. <indexterm>deprecated features<indexterm><parmname>imagefile</parmname></indexterm></indexterm>
  15. <indexterm>deprecated features<indexterm><codeph>image.file</codeph></indexterm></indexterm>
  16. <indexterm>preprocessing<indexterm><codeph>gen-list</codeph></indexterm></indexterm>
  17. <indexterm><codeph>gen-list</codeph></indexterm>
  18. <indexterm>conref</indexterm>
  19. <indexterm>dita.list</indexterm>
  20. <indexterm>dita.xml.properties</indexterm>
  21. </keywords>
  22. </metadata>
  23. </prolog>
  24. <refbody>
  25. <section>
  26. <p>For example, one list includes all topics that make use of the conref attribute; only those files are processed
  27. during the conref stage of the build. The list file name name is derived from the list file property. For
  28. example, the <codeph>conref.list</codeph> file is generated for “conreffile” and a corresponding list property
  29. is provided for each generated list, in this case “conreflist”.</p>
  30. <p>The result of this step is a set of several list files in the temporary directory, including
  31. <filepath>dita.list</filepath> and <filepath>dita.xml.properties</filepath>.</p>
  32. <table outputclass="table-hover" frame="none" colsep="0" rowsep="1">
  33. <tgroup cols="3">
  34. <colspec colwidth="2*"/>
  35. <colspec colwidth="3*"/>
  36. <colspec colwidth="3*"/>
  37. <thead>
  38. <row>
  39. <entry>List file property</entry>
  40. <entry>List file</entry>
  41. <entry>Usage</entry>
  42. </row>
  43. </thead>
  44. <tbody>
  45. <row>
  46. <entry>canditopicsfile</entry>
  47. <entry><codeph>canditopics.list</codeph><indexterm>canditopics.list</indexterm></entry>
  48. <entry/>
  49. </row>
  50. <row>
  51. <entry>conreffile</entry>
  52. <entry><codeph>conref.list</codeph><indexterm>conref.list</indexterm></entry>
  53. <entry>Documents that contain conref attributes that need to be resolved in preprocess.</entry>
  54. </row>
  55. <row>
  56. <entry>conreftargetsfile</entry>
  57. <entry><codeph>conreftargets.list</codeph><indexterm>conreftargets.list</indexterm></entry>
  58. <entry/>
  59. </row>
  60. <row>
  61. <entry>copytosourcefile</entry>
  62. <entry><codeph>copytosource.list</codeph><indexterm>copytosource.list</indexterm></entry>
  63. <entry/>
  64. </row>
  65. <row>
  66. <entry>flagimagefile</entry>
  67. <entry><codeph>flagimage.list</codeph><indexterm>flagimage.list</indexterm></entry>
  68. <entry/>
  69. </row>
  70. <row>
  71. <entry>fullditamapandtopicfile</entry>
  72. <entry><codeph>fullditamapandtopic.list</codeph><indexterm>fullditamapandtopic.list</indexterm></entry>
  73. <entry>All of the ditamap and topic files that are referenced during the transformation. These may be
  74. referenced by href or conref attributes.</entry>
  75. </row>
  76. <row>
  77. <entry>fullditamapfile</entry>
  78. <entry><codeph>fullditamap.list</codeph><indexterm>fullditamap.list</indexterm></entry>
  79. <entry>All of the ditamap files in dita.list</entry>
  80. </row>
  81. <row>
  82. <entry>fullditatopicfile</entry>
  83. <entry><codeph>fullditatopic.list</codeph><indexterm>fullditatopic.list</indexterm></entry>
  84. <entry>All of the topic files in dita.list</entry>
  85. </row>
  86. <row>
  87. <entry>hrefditatopicfile</entry>
  88. <entry><codeph>hrefditatopic.list</codeph><indexterm>hrefditatopic.list</indexterm></entry>
  89. <entry>All of the topic files that are referenced with an href attribute</entry>
  90. </row>
  91. <row>
  92. <entry>hreftargetsfile</entry>
  93. <entry><codeph>hreftargets.list</codeph><indexterm>hreftargets.list</indexterm></entry>
  94. <entry>Link targets</entry>
  95. </row>
  96. <row importance="deprecated">
  97. <entry>htmlfile</entry>
  98. <entry><codeph>html.list</codeph><indexterm>html.list</indexterm></entry>
  99. <entry>Resource files</entry>
  100. </row>
  101. <row importance="deprecated">
  102. <entry>imagefile</entry>
  103. <entry><codeph>image.list</codeph><indexterm>image.list</indexterm></entry>
  104. <entry>Image files that are referenced in the content</entry>
  105. </row>
  106. <row>
  107. <entry>outditafilesfile</entry>
  108. <entry><codeph>outditafiles.list</codeph><indexterm>outditafiles.list</indexterm></entry>
  109. <entry/>
  110. </row>
  111. <row>
  112. <entry>resourceonlyfile</entry>
  113. <entry><codeph>resourceonly.list</codeph><indexterm>resourceonly.list</indexterm></entry>
  114. <entry/>
  115. </row>
  116. <row>
  117. <entry>subjectschemefile</entry>
  118. <entry><codeph>subjectscheme.list</codeph><indexterm>subjectscheme.list</indexterm></entry>
  119. <entry/>
  120. </row>
  121. <row>
  122. <entry>subtargetsfile</entry>
  123. <entry><codeph>subtargets.list</codeph><indexterm>subtargets.list</indexterm></entry>
  124. <entry/>
  125. </row>
  126. <row>
  127. <entry>tempdirToinputmapdir.relative.value</entry>
  128. <entry/>
  129. <entry/>
  130. </row>
  131. <row>
  132. <entry>uplevels</entry>
  133. <entry/>
  134. <entry/>
  135. </row>
  136. <row>
  137. <entry>user.input.dir<indexterm>user.input.dir</indexterm></entry>
  138. <entry/>
  139. <entry>Absolute input directory path</entry>
  140. </row>
  141. <row>
  142. <entry>user.input.file.listfile<indexterm>user.input.file.listfile</indexterm></entry>
  143. <entry/>
  144. <entry>Input file list file</entry>
  145. </row>
  146. <row>
  147. <entry>user.input.file<indexterm>user.input.file</indexterm></entry>
  148. <entry/>
  149. <entry>Input file path, relative to the input directory</entry>
  150. </row>
  151. </tbody>
  152. </tgroup>
  153. </table>
  154. </section>
  155. </refbody>
  156. </reference>