File: indexing.xml

package info (click to toggle)
gnome-devel-docs 2.22.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 6,924 kB
  • ctags: 8
  • sloc: xml: 43,787; sh: 8,277; makefile: 373
file content (373 lines) | stat: -rw-r--r-- 10,824 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<!-- =================== INDEXING Original author Pat 
Costello ================= -->
<chapter id="indexing"> 
  <title>Indexing Your Documentation</title> 
  <para>
	 This chapter provides you with tips that can help you to effectively index
	 your documentation. 
  </para>
  <sect1 id="indexing-1"> 
	 <title>Index Essentials</title> 
	 <para>
		An index helps users to find the information they need in the
		documentation that you write. A good index records every pertinent statement in
		the body of the text. The subject matter and purpose of each section in your
		book determine which statements are pertinent and which are peripheral.
		Deciding which statements are pertinent is a judgment call, and the task that
		causes most difficulty for writers. These guidelines help you to recognize and
		label statements for an index. 
	 </para>
	 <sect2 id="indexing-2"> 
		<title>Topics to Index</title> 
		<para>
		  Consider the following points when you look for pertinent statements to
		  index: 
		  <itemizedlist> 
			 <listitem> 
				<para>
				  A pertinent statement can be a single phrase, a sentence, a
				  paragraph, or even several pages. 
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Begin the search for pertinent statements in the first paragraph
				  of the main body of your manual. 
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Conclude your search for pertinent statements on the last page of
				  the last appendix.
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Do not index the front matter.
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Indexing the glossary can provide a useful source of information
				  for the user but is not essential, especially for manuals that appear in print
				  as well as online.
				</para>
			 </listitem> 
		  </itemizedlist> 
		</para>
		<para>
		  Statements that refer to the following topics are often pertinent for
		  an index: 
		  <itemizedlist> 
			 <listitem> 
				<para>
				  Definitions
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Restrictions
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Acronyms
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Commands
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Command qualifiers
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Routines
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Data structures
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Key functions
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Procedures and tasks
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Tips, notes, and cautions
				</para>
			 </listitem> 
			 <listitem> 
				<para>
				  Examples, tables, and figures
				</para>
			 </listitem> 
		  </itemizedlist> 
		</para>
	 </sect2> 
	 <sect2 id="indexing-3"> 
		<title>How to Compose Index Entries</title> 
		<para>
		  When you identify a pertinent statement, you need to flag the statement
		  in a way that alerts the user to the information. This flag is the index entry.
		  When you compose an index entry, you must first determine the topics that
		  relate to the statement. These topics become the primary entries. Next, you
		  must determine the nature of the information in the statement relating to each
		  topic. These descriptions become the secondary entries.
		</para>
		<sect3 id="indexing-4"> 
		  <title>Primary Entries</title> 
		  <para>
			 Make your primary entries precise, logical, and consistent with the
			 terminology in the rest of the documentation set. Some tips: 
			 <itemizedlist> 
				<listitem> 
				  <para>
					 Make your primary entries nouns or a noun phrase that a user
					 might look for. For example: 
				  </para>
	 <informaltable frame="topbot"> 
		<tgroup cols="2" colsep="0" rowsep="0" align="left"><colspec
		  colwidth="2.50*" align="left"/><colspec colwidth="2.50*" align="left"/> 
		  <tbody> 
			 <row valign="top"> 
				<entry align="left" valign="top"> 
				  <para>Applications</para> </entry> 
				<entry align="left" valign="top"> 
				  <para>Noun.</para> </entry> 
			 </row> 
			 <row valign="top"> 
				<entry align="left" valign="top"> 
				  <para>Starting applications </para> </entry> 
				<entry align="left" valign="top"> 
				  <para>Noun phrase.</para> </entry> 
			 </row> 
		  </tbody> 
		</tgroup> 
	 </informaltable> 
				</listitem> 
				<listitem> 
				  <para>
					 Do not use verbs or adjectives standing alone, because users
					 are unlikely to search for these words. 
				  </para>
				</listitem> 
				<listitem> 
				  <para>
					 Make sure that the term used for the primary entry appears on
					 the page to which the index points. 
				  </para>
				</listitem> 
			 </itemizedlist> 
		  </para>
		</sect3> 
		<sect3 id="indexing-5"> 
		  <title>Subentries</title> 
		  <para>
			 A subentry is a verb, phrase, or adjective that describes the nature
			 of the information about a topic. You can also use nouns and noun phrases for
			 subentries. For example: 
			 <variablelist> 
				<varlistentry> 
				  <term>Applications</term> 
				  <listitem> 
					 <para>
						menu 
					 </para>
					 <para>
						starting from menu 
					 </para>
					 <para>
						starting from command line 
					 </para>
				  </listitem> 
				</varlistentry> 
			 </variablelist> 
		  </para>
		  <para>
			 See the 
			 <ulink url="http://developer.gnome.org/projects/gdp/handbook.html"> 
				<citetitle>GNOME Handbook of Writing Software
				  Documentation</citetitle></ulink>, <emphasis>Indexing</emphasis> for more
			 examples of index subentries. 
		  </para>
		</sect3> 
	 </sect2> 
	 <sect2 id="indexing-6"> 
		<title>Index Navigation</title> 
		<para>
		  You can use the following types of cross-references to help users to
		  navigate the index: 
		  <variablelist> 
			 <varlistentry> 
				<term>See</term> 
				<listitem> 
				  <para>
					 Use this cross-reference to point from a synonym to the term
					 under which the user can find the index entries. 
				  </para>
				</listitem> 
			 </varlistentry> 
		  </variablelist> 
		  <variablelist> 
			 <varlistentry> 
				<term>See also</term> 
				<listitem> 
				  <para>
					 Use this cross-reference to point the user to topics that are
					 related to the original entry. 
				  </para>
				</listitem> 
			 </varlistentry> 
		  </variablelist> 
		</para>
	 </sect2> 
  </sect1> 
  <sect1 id="indexing-7"> 
	 <title>How to Evaluate Your Index</title> 
	 <para>
		When you create an index for a manual, you need to check the index for
		the following attributes: 
		<itemizedlist> 
		  <listitem> 
			 <para>
				Balance and structure 
			 </para>
		  </listitem> 
		  <listitem> 
			 <para>
				Clarity and consistency 
			 </para>
		  </listitem> 
		</itemizedlist> 
	 </para>
	 <sect2 id="indexing-8"> 
		<title>Balance and Structure</title> 
		<para>
		  Check the index for the following common problems: 
		  <variablelist> 
			 <varlistentry> 
				<term>Overloaded primary entries</term> 
				<listitem> 
				  <para>
					 If you find that a small number of primary entries in your
					 index have a large number of subentries, try to find other labels for some of
					 the subentries. Try to keep the number of subentries to a useful level.
				  </para>
				</listitem> 
			 </varlistentry> 
			 <varlistentry> 
				<term>Inadequate subentry labels</term> 
				<listitem> 
				  <para>
					 If your subentry labels are too cryptic, for example just page
					 numbers, then the reader does not have enough pointers to decide where to go in
					 the book for the required information. 
				  </para>
				</listitem> 
			 </varlistentry> 
			 <varlistentry> 
				<term>Unbalanced entries across the book</term> 
				<listitem> 
				  <para>
					 If one or two chapters in the book are heavily represented in
					 the index, then you need to look at the indexing frequency in the other
					 chapters. Also, you might want to look at the overall information design
					 structure of your book, to see if you really need those other chapters. 
				  </para>
				</listitem> 
			 </varlistentry> 
		  </variablelist> 
		</para>
	 </sect2> 
	 <sect2 id="indexing-9"> 
		<title>Clarity and Consistency</title> 
		<para>
		  To check the index for clarity and consistency, perform the following
		  actions: 
		  <variablelist> 
			 <varlistentry> 
				<term>Ensure that all primary entries are nouns</term> 
				<listitem> 
				  <para>
					 Look through your index for primary entries that are verbs and
					 adjectives. Replace the verbs and adjectives with nouns or noun phrases. 
				  </para>
				</listitem> 
			 </varlistentry> 
			 <varlistentry> 
				<term>Clarify the relationship between primary entries and
				  subentries</term> 
				<listitem> 
				  <para>
					 Make sure that the subentries bear a meaningful relationship to
					 the primary entries. 
				  </para>
				</listitem> 
			 </varlistentry> 
			 <varlistentry> 
				<term>Correlate primary entries and subentries</term> 
				<listitem> 
				  <para>
					 Make sure that related subentries are all gathered together
					 under the same primary entries. 
				  </para>
				</listitem> 
			 </varlistentry> 
		  </variablelist> 
		</para>
	 </sect2> 
  </sect1> 
  <sect1 id="indexing-10"> 
	 <title>When to Index GNOME Documentation</title> 
	 <para>
		When you want to index a manual, you need to consider the type of
		documentation: 
		<variablelist> 
		  <varlistentry> 
			 <term>Online Help</term> 
			 <listitem> 
				<para>
				  As <application>Scrollkeeper</application> is still a product in
				  development, the use of indexing is not yet clear. Until the situation
				  clarifies, you only need to put a single index entry into each online Help
				  manual to create a primary entry for the application name. The template for the
				  online Help manuals provides an example of where to create the index entry in
				  the online Help manual. When the role and function of
				  <application>Scrollkeeper</application> becomes clearer, writers can apply more
				  of the indexing principles outlined in this chapter. 
				</para>
				<para>
				  You can find out more about the templates in the 
				  <ulink
					url="http://developer.gnome.org/projects/gdp/handbook.html"> 
					 <citetitle>GNOME Handbook for Writing Software
						Documentation</citetitle></ulink>. 
				</para>
			 </listitem> 
		  </varlistentry> 
		  <varlistentry> 
			 <term>Printed manuals</term> 
			 <listitem> 
				<para>
				  Apply the indexing principles outlined in this chapter to printed
				  manuals.
				</para>
			 </listitem> 
		  </varlistentry> 
		</variablelist> 
	 </para>
  </sect1> 
</chapter>