1<?xml version="1.0" encoding="utf-8"?> 2<!DOCTYPE article 3 PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 4 "/dtd/4.1.2/docbookx.dtd" [ 5<!ENTITY emc2 SYSTEM "emc2.png" NDATA PNG> 6]> 7 8<!-- test document --> 9 10<article><title>Graphics Test Document Title</title> 11 12<section><title>Graphic</title> 13 14 <para>fileref:</para> 15 <graphic fileref="emc2.png"/> 16 17 <para>entityref:</para> 18 <graphic entityref="emc2"/> 19 20 <para>fileref, scale=200:</para> 21 <graphic fileref="emc2.png" scale="200"/> 22 23 <para>fileref, width=20, depth=20</para> 24 <graphic fileref="emc2.png" width="20" depth="20"/> 25 26</section> 27 28<section><title>Inlinegraphic</title> 29 30 <para>fileref: <inlinegraphic fileref="emc2.png"/></para> 31 32 <para>entityref: <inlinegraphic entityref="emc2"/></para> 33 34 <para>fileref, scale=200: <inlinegraphic fileref="emc2.png" scale="200"/></para> 35 36</section> 37 38<section><title>MediaObject</title> 39 <para>fileref:</para> 40 <mediaobject> 41 <imageobject> 42 <imagedata fileref="emc2.png"/> 43 </imageobject> 44 </mediaobject> 45 46 <para>entityref:</para> 47 <mediaobject> 48 <imageobject> 49 <imagedata entityref="emc2"/> 50 </imageobject> 51 </mediaobject> 52 53 <para>fileref, scale=20:</para> 54 <mediaobject> 55 <imageobject> 56 <imagedata fileref="emc2.png" scale="20"/> 57 </imageobject> 58 </mediaobject> 59 60 <para>fileref, width=200, depth=400:</para> 61 <mediaobject> 62 <imageobject> 63 <imagedata fileref="xyzzy.foo"/> 64 </imageobject> 65 <imageobject> 66 <imagedata fileref="emc2.png" width="200" depth="400"/> 67 </imageobject> 68 <textobject> 69 <para>This is a text object</para> 70 </textobject> 71 </mediaobject> 72 73 <para>fileref, width=20, depth=20, alt=Alt text:</para> 74 <mediaobject> 75 <imageobject> 76 <imagedata fileref="xyzzy.foo"/> 77 </imageobject> 78 <imageobject> 79 <imagedata fileref="emc2.png" width="20" depth="20"/> 80 </imageobject> 81 <textobject> 82 <phrase>Alt text</phrase> 83 </textobject> 84 </mediaobject> 85 86</section> 87 88</article> 89 90