Debian Codegraph @

en/refpages/elements/inlinemediaobject/refentry.xml

raw symbols SCIP
1 <refentry id="inlinemediaobject.element" revision='3.1'>
2 <?dbhtml filename="inlinemediaobject.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>inlinemediaobject</secondary></indexterm>
11 <refentrytitle>inlinemediaobject</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>inlinemediaobject</refname>
16 <refpurpose>&inlinemediaobject.purpose;</refpurpose>
17 </refnamediv>
18
19 &inlinemediaobject.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 <sgmltag>InlineMediaObject</sgmltag> contains a set of alternative
24 &ldquo;graphical objects.&rdquo; In DocBook V3.1, three types of
25 external graphical objects are defined: <sgmltag>VideoObject</sgmltag>s,
26 <sgmltag>AudioObject</sgmltag>s, and <sgmltag>ImageObject</sgmltag>s. Additional
27 textual descriptions may be provided with <sgmltag>TextObject</sgmltag>s.
28 </para>
29
30 <refsect2 id="dbreproc.inlinemediaobject"><title>Processing expectations</title>
31 <para>
32 &format.inline;
33 </para>
34 <para>
35 The primary purpose of the <sgmltag>InlineMediaObject</sgmltag> is to provide
36 a wrapper around a set of alternative presentations of the same
37 information.
38 </para>
39 <para>
40 If possible, the processing system should use the content of the
41 first object within the <sgmltag>InlineMediaObject</sgmltag>. If the first
42 object cannot be used, the remaining objects should be
43 considered in the order that they occur. A processor should use
44 the first object that it can, although it is free to choose any
45 of the remaining objects if the primary one cannot be used.
46 </para>
47 <para>
48 Under no circumstances should more than one object in an
49 <sgmltag>InlineMediaObject</sgmltag> be used or presented at the same time.
50 </para>
51 <para>
52 For example, an <sgmltag>InlineMediaObject</sgmltag> might contain a high
53 resolution image, a low resolution image, and
54 a text description. For print publishing, the high resolution image is used;
55 for online systems, either the high or low resolution image is used,
56 possibly including the text description as an online alternative.
57 In a text-only environment, the text description is used.
58 </para>
59 </refsect2>
60
61 <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title>
62 <para>
63 <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V5.0</acronym></secondary>
64 </indexterm>
65 In DocBook V5.0, <sgmltag>InlineMediaObject</sgmltag> will replace
66 <sgmltag>InlineGraphic</sgmltag>.
67 </para>
68 </refsect2>
69
70
71
72
73 &inlinemediaobject.parents.gen;
74 &inlinemediaobject.children.gen;
75 </refsect1>
76 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
77 &inlinemediaobject.seealso.gen;
78 </refsect1>
79 <refsect1><title>Examples</title>
80
81 <para>
82 In the following example, the <sgmltag>InlineEquation</sgmltag> uses
83 <sgmltag>InlineMediaObject</sgmltag> to provide to alternate renderings
84 for the equation. One is a graphic, the other is a text representation.
85 </para>
86
87 <para>
88 For display purposes, both in print and in the online presentation,
89 the graphic is selected. If you were generating content for some
90 other medium, a text only browser or a cell phone, for example, only
91 the text representation might be selected.
92 </para>
93
94 <informalexample role="example-source">
95 <programlisting>&inlinemediaobject.example.1.txt;</programlisting>
96 </informalexample>
97
98 <anchor id="ex.os.inlinemediaobject.1" role="HACK-ex.out.start"/>
99 &inlinemediaobject.example.1.gen;
100 <anchor id="ex.oe.inlinemediaobject.1" role="HACK-ex.out.end"/>
101
102 &inlinemediaobject.example.seealso.gen;
103 </refsect1>
104 </refentry>
105