<graphic>

Graphic (画像)

静止画像を包含する外部ファイルの説明とポインター。

備考

<graphic> に関連付けられた外部ファイルは、画像やイラストなどを保持し、通常はバイナリオブジェクトの形式です。<graphic> 要素の「中身」(存在する場合) はオブジェクト自体ではなく、単にオブジェクトに関する情報です。オブジェクトを含む外部ファイルは、@xlink:href 属性によって指定されます。
関連する解説: <graphic> の使用方法については、Figures and Graphics を参照してください。
位置: @position 属性を使用して、この要素がテキスト内の正確な位置に固定する必要があるのか、浮動する可能性があるのかを示すことができますが、画像に関しては固定することをお勧めします。図、表などの内部のすべての画像も固定されている必要があります。ただし外側の構造体 (図、囲み文字)は浮動できます。
使用法: <caption> などの表示に用いる要素は、常に可能な限り高いレベルで使用する必要があります。つまり、<graphic> 要素が <fig> 要素内にある場合、<caption><long-desc> などは、<fig> に含める必要があり、<graphic> 要素に入れてはいけません。<caption> 要素 (および類似の表示用要素) を <graphic> に含めるのは、その画像オブジェクトが他の構造体に含まれていない場合、またはある図が複数の画像を含んでおり、それぞれが独自の <caption> を持つ場合に限られます。同様の理由から、@position 属性は、より大きな表示用コンテナに含まれる <graphic> 要素 (たとえば <fig> の中の) では固定とする必要があります。

関連要素

このスイートには、<graphic><inline-graphic><media><supplementary-material><inline-supplementary-material> などの非 XML 素材を記述し指す要素がいくつか含まれています。要素 <graphic> および <inline-graphic> には、文書の切り離せない一部である静止画像 (写真、図形、線画など) へのポインタが含まれています。要素 <media> には、ドキュメントコンテンツの一部である非 XML 素材 (動画、音声クリップ、データセット、その他の非 XML 形式) へのポインタが含まれます。ここで「切り離せない」という意味は、これらメディア・オブジェクトが文書の中で議論され (あるいは実際に表示され) るからであり、これらメディア・オブジェクトは文書の一部であるといえます。
一方、要素 <supplementary-material><inline-supplementary-material> は、文書に附属する補足的な (切り離しが可能な) XML 素材 (図、表、セクションなど) や非 XML 素材 (画像、フィルム、音声クリップ、データセット、その他) を記述します<graphic><inline-graphic>、および <media> と同様に、補助資料要素は、図のような XML オブジェクトであっても、オブジェクトそれ自体を含むことは決してなく、それらをポイントするだけです。
<inline-supplementary-material> 要素は、テキストの通常の流れの中で言及され、プレビュー画像または別個のキャプションを持たない追加資料への参照を記述するために使用されます。<supplementary-material> 要素は、より複雑な参照を記述するために使用されます。たとえば、図と同様に、浮動または固定されたオブジェクトとして指定できたり、キャプションを持つような場合です。
推奨用法: ラベルのない図形オブジェクトには <graphic> を用い、<fig> は使いません。あるオブジェクトが <fig><graphic> かどうかを判断する一般的なテストは、「図一覧表」中にこのオブジェクトが表示される必要があるかどうかです。

属性

コンテンツ・モデル

<!ELEMENT  graphic      %graphic-model;                              >

拡張コンテンツ・モデル

(alt-text | long-desc | abstract | email | ext-link | uri | caption | object-id | kwd-group | label | attrib | permissions)*

記述方法

この要素は以下の要素内に含むことができます:

用例 1

図の中の典型的な画像:
... 
<fig id="f1" orientation="portrait" position="float">
<graphic xlink:href="f1"/>
<attrib>Brookhaven National Laboratory</attrib>
</fig>
...
... 
<fig id="f8" orientation="portrait" position="float">
<label>FIG. 8.</label>
<caption>
<p>Time difference between events F and A as a function of the 
length of entering plug for bifurcations B to BXXX, where X stands 
for 0 or 1.</p>
</caption>
<graphic orientation="portrait" position="float" xlink:href="f8"/>
</fig>
...

用例 2

表題、キャプション、代替テキストなどを含む複雑な図の中の画像で、<object-id> を持つ例:
...
<sec sec-type="results">
<title>Results</title>
<p>We identified 703 abstracts, of which 687 were not
relevant ... Details of randomisation procedures,
treatment schedules, and numbers of patients followed up
are given on the <italic>BMJ</italic> website.</p>
<fig id="F1">
<caption>
<title>Deaths among patients receiving day hospital care
or alternative services.</title>
<p>Odds ratios of death by end of follow up were calculated by 
fixed effects model. Heterogeneity between trials is presented as
&#x03C7;<sup>2</sup></p>
</caption>
<alt-text>Deaths in hospitals or with alternative services</alt-text>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="fors2662.f1">
<object-id>456472</object-id>
</graphic>
</fig>
...</sec>
...

用例 3

複数の代替画像が存在する例:
... 
<fig id="f3" position="float">
<label>FIG. 3.</label>
<caption>...</caption>
<alternatives>
<graphic specific-use="print" xlink:href="1.4821168.figures.highres.f3.zip"></graphic>
<graphic specific-use="online" xlink:href="1.4821168.figures.online.f3.jpg"></graphic>
</alternatives>
</fig>
...

用例 4

単一の図の中に複数の画像が存在する例:
...
<fig id="f1" orientation="portrait" position="float">
<label>FIG. 1.</label>
<caption>
<p>(a) Schematic of the working principles of HFM, (b) a typical application
scheme for an electric bias in HFM, (c) regulation the conformations and
dynamics (trapping, concentration, and sudden stretching) of λ-DNA molecules
in HFM, and (d) schematic of the trapping location regulation (enhanced online).
[URL: <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1063/1.4762852.1">
http://dx.doi.org/10.1063/1.4762852.1</ext-link>]
<alternatives>
<media id="v1" mime-subtype="avi" mimetype="video" orientation="portrait"
position="anchor" specific-use="original-format" xlink:href="v1">
<object-id pub-id-type="doi" specific-use="metadata">10.1063/1.4762852.1</object-id>
</media>
<media mime-subtype="mpeg" mimetype="video" orientation="portrait"
position="anchor" specific-use="archival-format" xlink:href="v1"></media>
<media mime-subtype="x-flv" mimetype="video" orientation="portrait"
position="anchor" specific-use="online-format" xlink:href="v1"></media>
</alternatives>
</p>
</caption>
<graphic orientation="portrait" position="float" xlink:href="f1"/>
<graphic id="f1a" orientation="portrait" position="float" xlink:href="dummy1.png"/>
<graphic id="f1b" orientation="portrait" position="float" xlink:href="dummy2.png"/>
<graphic id="f1c" orientation="portrait" position="float" xlink:href="dummy3.png"/>
<graphic id="f1d" orientation="portrait" position="float" xlink:href="dummy4.png"/>
</fig>
...

用例 5

画像が段落に固定されておらず、本文テキスト中で浮動している:
... 
<body>
<graphic specific-use="online" position="anchor" 
xlink:href="prodbe.int.aip.org:8080/journal/journal_fs/
1.2983775.1373315697!/images/1460725790.jpg"/>
...</body>
...

用例 6

画像が表のセルの中にある:
... 
<table-wrap id="t14">...
<table frame="box" rules="all" cellpadding="5"> ...
<tr valign="bottom">
<td align="left" colspan="1" rowspan="1">3</td>
<td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4411</td>
<td align="center" colspan="1" rowspan="1">
<graphic id="g14" orientation="portrait" position="anchor" xlink:href="d14"/></td>
<td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4411</td>
<td align="center" colspan="1" rowspan="1">
<graphic id="g15" orientation="portrait" position="anchor" xlink:href="d15"/></td>
<td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4414</td>
<td align="center" colspan="1" rowspan="1">
<graphic id="g16" orientation="portrait" position="anchor" xlink:href="d16"/></td>
<td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4414</td>
<td align="center" colspan="1" rowspan="1">
<graphic id="g17" orientation="portrait" position="anchor" xlink:href="d17"/></td>
</tr>
</table>
</table-wrap>  
...