File: refentry.xml

package info (click to toggle)
docbook-defguide 2.0.17%2Bsvn9047-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 93,428 kB
  • sloc: xml: 396,442; perl: 4,471; python: 879; makefile: 150; sh: 66
file content (119 lines) | stat: -rw-r--r-- 4,062 bytes parent folder | download | duplicates (8)
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
<refentry id="callout.element">
<?dbhtml filename="callout.html"?>
<refentryinfo>
<pubdate>$Date$</pubdate>
<releaseinfo>$Revision$</releaseinfo>
</refentryinfo>

<refmeta>
<indexterm><primary>elements</primary>
<secondary>callout</secondary></indexterm>
<refentrytitle>callout</refentrytitle>
<refmiscinfo>Element</refmiscinfo>
</refmeta>
<refnamediv>
<refname>callout</refname>
<refpurpose>&callout.purpose;</refpurpose>
</refnamediv>

&callout.synopsis.gen;
<refsect1 condition='ref.description'><title>Description</title>

<para>
A <quote>callout</quote> is a visual device for associating annotations with
an image, program listing, or similar figure. Each location is identified
with a mark, and the annotation is identified with the same mark. This
is somewhat analagous to the notion of footnotes in print.
</para>

<para>
An example will help illustrate the concept. In the following example,
the synopsis for the <command>mv</command> command is annotated with two marks.
Note the location of the old and new filenames.
</para>

<screen>
mv <co id="co-oldname"/><replaceable>oldfile</replaceable> <co id="co-newname"/><replaceable>newfile</replaceable>
</screen>

<para>
Somewhere else in the document, usually close by, a <sgmltag>CalloutList</sgmltag>
provides a description for each of the callouts:
</para>

<calloutlist>
<callout arearefs="co-oldname"><para>The old filename. The <command>mv</command>
command renames the file currently called <replaceable>oldfile</replaceable>, which
must exist when <command>mv</command> is executed.
</para></callout>
<callout arearefs="co-newname"><para>The new filename. The <command>mv</command>
command changes the name of the old file to <replaceable>newfile</replaceable>. If
<replaceable>newfile</replaceable> exists when <command>mv</command> is executed, it will
be replaced by the old file.
</para></callout>
</calloutlist>

<para>
Each <sgmltag>Callout</sgmltag> contains an annotation for an individual
callout or a group of callouts. The <sgmltag>Callout</sgmltag> points to the
areas that it annotates with <acronym>ID</acronym> references.
The areas are identified by coordinates in an an <sgmltag>Area</sgmltag> or
<sgmltag>AreaSet</sgmltag>, or by an explicit <sgmltag>CO</sgmltag> element.
</para>

<refsect2><title>Processing expectations</title>
<para>
&format.block;
</para>
<para>
<sgmltag>CallOut</sgmltag>s usually generate text that points the reader to
the appropriate area on the object being augmented. Often, these are
numbered bullets or other distinct visual icons. The same icons should
be used in both places. In other words, whatever identifies the callouts
on the object should generate the same icons on the respective
callouts.
</para>
<para>
In online environments, it may also be possible to establish a linking
relationship between the two elements.
</para>
<para>
The processing expectations of <sgmltag>Callout</sgmltag>s are likely
to deserve special consideration for interchange.  See <xref
linkend="app-interchange"/>.  This is especially true if your
interchange partners are producing documentation in a medium
that has restricted visual presentation features, such as aural
media or Braille.
</para>
</refsect2>

&callout.parents.gen;
&callout.children.gen;

</refsect1>
<refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
<variablelist>
<varlistentry><term>arearefs</term>
<listitem>
<para>
<sgmltag class="attribute">AreaRefs</sgmltag> must point to one or more
callouts. Callouts can be identified with
<sgmltag>Area</sgmltag> or <sgmltag>AreaSet</sgmltag> elements in a
<sgmltag>GraphicCO</sgmltag>,
<sgmltag>MediaObjectCO</sgmltag>,
<sgmltag>ProgramListingCO</sgmltag>, or
<sgmltag>ScreenCO</sgmltag> element or with a simple
<sgmltag>CO</sgmltag> element in a number of other environments.
These callouts identify the
portions of the object described by this <sgmltag>Callout</sgmltag>.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1><title>Examples</title>

&callout.example.seealso.gen;
</refsect1>
</refentry>