1 Next | First Some Common TEI Encoding Problems

Linking <figure> to an image: classic code


<!DOCTYPE TEI.2 PUBLIC "-//TEI P4//DTD Main DTD Driver File//EN"
                       "/path/to/tei2.dtd" [
 <!ENTITY % TEI.XML      'INCLUDE' >
 <!ENTITY % TEI.prose    'INCLUDE' >
 <!ENTITY % TEI.linking  'INCLUDE' >
 <!ENTITY % TEI.figures  'INCLUDE' >
 <!NOTATION jpeg PUBLIC "ISO DIS 10918//NOTATION JPEG Graphics Format//EN" >
 <!ENTITY logo SYSTEM "../../../logos/TEI-400.jpg" NDATA jpeg >
 ]>
<TEI.2>
  <teiHeader>
    <!-- ... -->
  </teiHeader>
  <text>
    <body>
      <div rend="slide">
        <head>Linking <gi>figure</gi> to an image: classic image</head>
        <p>
          <figure entity="logo">
            <head>The TEI Logo</head>
            <figDesc>Stylized yellow angle brackets with the letters
             <mentioned>TEI</mentioned> in between and <mentioned>text
             encoding initiative</mentioned> underneath.</figDesc>
          </figure>
        </p>
      </div>
    </body>
  </text>
</TEI.2>