| 1 | <refentry id="callout.element"> |
| 2 | <?dbhtml filename="callout.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>callout</secondary></indexterm> |
| 11 | <refentrytitle>callout</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>callout</refname> |
| 16 | <refpurpose>&callout.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &callout.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <quote>callout</quote> is a visual device for associating annotations with |
| 24 | an image, program listing, or similar figure. Each location is identified |
| 25 | with a mark, and the annotation is identified with the same mark. This |
| 26 | is somewhat analagous to the notion of footnotes in print. |
| 27 | </para> |
| 28 | |
| 29 | <para> |
| 30 | An example will help illustrate the concept. In the following example, |
| 31 | the synopsis for the <command>mv</command> command is annotated with two marks. |
| 32 | Note the location of the old and new filenames. |
| 33 | </para> |
| 34 | |
| 35 | <screen> |
| 36 | mv <co id="co-oldname"/><replaceable>oldfile</replaceable> <co id="co-newname"/><replaceable>newfile</replaceable> |
| 37 | </screen> |
| 38 | |
| 39 | <para> |
| 40 | Somewhere else in the document, usually close by, a <sgmltag>CalloutList</sgmltag> |
| 41 | provides a description for each of the callouts: |
| 42 | </para> |
| 43 | |
| 44 | <calloutlist> |
| 45 | <callout arearefs="co-oldname"><para>The old filename. The <command>mv</command> |
| 46 | command renames the file currently called <replaceable>oldfile</replaceable>, which |
| 47 | must exist when <command>mv</command> is executed. |
| 48 | </para></callout> |
| 49 | <callout arearefs="co-newname"><para>The new filename. The <command>mv</command> |
| 50 | command changes the name of the old file to <replaceable>newfile</replaceable>. If |
| 51 | <replaceable>newfile</replaceable> exists when <command>mv</command> is executed, it will |
| 52 | be replaced by the old file. |
| 53 | </para></callout> |
| 54 | </calloutlist> |
| 55 | |
| 56 | <para> |
| 57 | Each <sgmltag>Callout</sgmltag> contains an annotation for an individual |
| 58 | callout or a group of callouts. The <sgmltag>Callout</sgmltag> points to the |
| 59 | areas that it annotates with <acronym>ID</acronym> references. |
| 60 | The areas are identified by coordinates in an an <sgmltag>Area</sgmltag> or |
| 61 | <sgmltag>AreaSet</sgmltag>, or by an explicit <sgmltag>CO</sgmltag> element. |
| 62 | </para> |
| 63 | |
| 64 | <refsect2><title>Processing expectations</title> |
| 65 | <para> |
| 66 | &format.block; |
| 67 | </para> |
| 68 | <para> |
| 69 | <sgmltag>CallOut</sgmltag>s usually generate text that points the reader to |
| 70 | the appropriate area on the object being augmented. Often, these are |
| 71 | numbered bullets or other distinct visual icons. The same icons should |
| 72 | be used in both places. In other words, whatever identifies the callouts |
| 73 | on the object should generate the same icons on the respective |
| 74 | callouts. |
| 75 | </para> |
| 76 | <para> |
| 77 | In online environments, it may also be possible to establish a linking |
| 78 | relationship between the two elements. |
| 79 | </para> |
| 80 | <para> |
| 81 | The processing expectations of <sgmltag>Callout</sgmltag>s are likely |
| 82 | to deserve special consideration for interchange. See <xref |
| 83 | linkend="app-interchange"/>. This is especially true if your |
| 84 | interchange partners are producing documentation in a medium |
| 85 | that has restricted visual presentation features, such as aural |
| 86 | media or Braille. |
| 87 | </para> |
| 88 | </refsect2> |
| 89 | |
| 90 | &callout.parents.gen; |
| 91 | &callout.children.gen; |
| 92 | |
| 93 | </refsect1> |
| 94 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 95 | <variablelist> |
| 96 | <varlistentry><term>arearefs</term> |
| 97 | <listitem> |
| 98 | <para> |
| 99 | <sgmltag class="attribute">AreaRefs</sgmltag> must point to one or more |
| 100 | callouts. Callouts can be identified with |
| 101 | <sgmltag>Area</sgmltag> or <sgmltag>AreaSet</sgmltag> elements in a |
| 102 | <sgmltag>GraphicCO</sgmltag>, |
| 103 | <sgmltag>MediaObjectCO</sgmltag>, |
| 104 | <sgmltag>ProgramListingCO</sgmltag>, or |
| 105 | <sgmltag>ScreenCO</sgmltag> element or with a simple |
| 106 | <sgmltag>CO</sgmltag> element in a number of other environments. |
| 107 | These callouts identify the |
| 108 | portions of the object described by this <sgmltag>Callout</sgmltag>. |
| 109 | </para> |
| 110 | </listitem> |
| 111 | </varlistentry> |
| 112 | </variablelist> |
| 113 | </refsect1> |
| 114 | <refsect1><title>Examples</title> |
| 115 | |
| 116 | &callout.example.seealso.gen; |
| 117 | </refsect1> |
| 118 | </refentry> |
| 119 |