inlinemediaobject — An inline media object (video, audio, image, and so on)
InlineMediaObject
contains a set of alternative
“graphical objects.” In DocBook V3.1, three types of
external graphical objects are defined: VideoObject
s,
AudioObject
s, and ImageObject
s. Additional
textual descriptions may be provided with TextObject
s.
Formatted inline.
The primary purpose of the InlineMediaObject
is to provide
a wrapper around a set of alternative presentations of the same
information.
If possible, the processing system should use the content of the
first object within the InlineMediaObject
. If the first
object cannot be used, the remaining objects should be
considered in the order that they occur. A processor should use
the first object that it can, although it is free to choose any
of the remaining objects if the primary one cannot be used.
Under no circumstances should more than one object in an
InlineMediaObject
be used or presented at the same time.
For example, an InlineMediaObject
might contain a high
resolution image, a low resolution image, and
a text description. For print publishing, the high resolution image is used;
for online systems, either the high or low resolution image is used,
possibly including the text description as an online alternative.
In a text-only environment, the text description is used.
These elements contain inlinemediaobject
: abbrev
, accel
, acronym
, address
, alt
, application
, arg
, artpagenums
, attribution
, authorinitials
, bibliocoverage
, biblioid
, bibliomisc
, bibliomset
, bibliorelation
, bibliosource
, bridgehead
, citation
, citebiblioid
, citetitle
, city
, classname
, classsynopsisinfo
, code
, command
, computeroutput
, confdates
, confnum
, confsponsor
, conftitle
, constant
, contractnum
, contractsponsor
, contrib
, country
, database
, edition
, email
, emphasis
(db._emphasis), emphasis
(db.emphasis), entry
, envar
, errorcode
, errorname
, errortext
, errortype
, exceptionname
, fax
, filename
, firstname
, firstterm
, foreignphrase
, funcdef
, funcparams
, funcsynopsisinfo
, function
, glosssee
, glossseealso
, glossterm
, guibutton
, guiicon
, guilabel
, guimenu
, guimenuitem
, guisubmenu
, hardware
, holder
, honorific
, html:button
, html:label
, html:legend
, initializer
, interfacename
, issuenum
, jobtitle
, keycap
, keycode
, keysym
, label
, lineage
, lineannotation
, link
, literal
, literallayout
, manvolnum
, markup
, mathphrase
, member
, methodname
, modifier
, mousebutton
, msgaud
, msglevel
, msgorig
, olink
, option
, optional
, orgdiv
, orgname
, otheraddr
, othername
, package
, pagenums
, para
, paramdef
, parameter
, personname
, phone
, phrase
(db._phrase), phrase
(db.phrase), pob
, postcode
, primary
, primaryie
, productname
, productnumber
, programlisting
, prompt
, property
, publishername
, quote
, refdescriptor
, refentrytitle
, refmiscinfo
, refname
, refpurpose
, releaseinfo
, remark
, replaceable
, returnvalue
, revnumber
, revremark
, screen
, secondary
, secondaryie
, see
, seealso
, seealsoie
, seeie
, seg
, segtitle
, seriesvolnums
, shortaffil
, simpara
, state
, street
, subscript
, subtitle
, superscript
, surname
, symbol
, synopsis
, systemitem
, tag
, td
, term
, termdef
, tertiary
, tertiaryie
, th
, title
, titleabbrev
, tocentry
, token
, trademark
, type
, uri
, userinput
, varname
, volumenum
, wordasword
, year
.
The following elements occur in inlinemediaobject: alt
, audioobject
, imageobject
, imageobjectco
, info
(db.titleforbidden.info), textobject
, videoobject
.
<article xmlns='http://docbook.org/ns/docbook'> <title>Example inlinemediaobject</title> <para>Einstein's most famous equation, <inlineequation> <mediaobject> <imageobject> <imagedata fileref="figures/emc2.png"/> </imageobject> <textobject> <phrase>E=mc<superscript>2</superscript></phrase> </textobject> </mediaobject> </inlineequation>, expresses the relationship between matter and energy. </para> </article>
Einstein's most famous equation,
, expresses the relationship between matter and energy.