[tei-council] links into images
Sebastian Rahtz
sebastian.rahtz at oucs.ox.ac.uk
Tue Oct 10 11:14:36 EDT 2006
Dot Porter wrote:
> Yeah, I thought those hrefs on <rect> looked odd, but it validated so
> I thought it was okay (I used an online validator rather than my usual
> oXygen so perhaps I can blame that).
which version of SVG did your validator claim to use?
Anyway, I subsequently loaded my example in Inkscape,
and draw some rectangles around the real picture,
so the values are actually _correct_ in the following code.
<body>
<linkGrp>
<link targets="#l9801 #e9801 #p-e9801 #p-l9801"/>
<link targets="#l9802 #e9802 #p-e9802 #p-l9802"/>
<link targets="#l9806 #e9806 #p-e9806 #p-l9806"/>
<link targets="#l9807 #e9807 #p-e9807 #p-l9807"/>
</linkGrp>
<div>
<figure>
<head>Woodcut of "The Study"</head>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" >
<image
xlink:href="../Source/Images/compic.png"
width="597"
height="897"
id="image1764" />
<rect
style="fill:none;opacity:1;stroke:#eaac24;stroke-width:2"
id="p-l9801"
width="169"
height="53.5"
x="57"
y="467.86218"/>
<rect
style="fill:none;opacity:1;stroke:#eaac24;stroke-width:2"
id="p-l9802"
width="126"
height="47"
x="312"
y="474.36218"/>
<rect
style="fill:none;opacity:1;stroke:#eaac24;stroke-width:2"
id="p-l9806"
width="158.5"
height="32.5"
x="313"
y="601.36218"/>
<rect
style="fill:none;opacity:1;stroke:#eaac24;stroke-width:2"
id="p-e9806"
width="233"
height="25.5"
x="56.5"
y="591.36218"/>
<rect
style="fill:none;opacity:1;stroke:#eaac24;stroke-width:2"
id="p-l9807"
width="130"
height="25.5"
x="312"
y="635.86218"/>
<rect
style="fill:none;opacity:1;stroke:#eaac24;stroke-width:2"
id="p-e9807"
width="188"
height="22.5"
x="55"
y="618.86218"/>
</svg>
</figure>
</div>
<div xml:id="e98" xml:lang="en" type="lesson">
<head>The Study</head>
<p>
<seg xml:id="e9801">The Study</seg>
<seg xml:id="e9802">is a place</seg>
<seg xml:id="e9803">where a Student,</seg>
<seg xml:id="e9804">a part from men,</seg>
<seg xml:id="e9805">sitteth alone,</seg>
<seg xml:id="e9806">addicted to his Studies,</seg>
<seg xml:id="e9807">whilst he readeth</seg>
<seg xml:id="e9808">Books,</seg>
</p>
</div>
<div xml:id="l98" xml:lang="la" type="lesson">
<head>Muséum</head>
<p>
<seg xml:id="l9801">Museum</seg>
<seg xml:id="l9802">est locus</seg>
<seg xml:id="l9803">ubi Studiosus,</seg>
<seg xml:id="l9804">secretus ab hominibus,</seg>
<seg xml:id="l9805">solus sedet,</seg>
<seg xml:id="l9806">Studiis deditus,</seg>
<seg xml:id="l9807">dum lectitat</seg>
<seg xml:id="l9808">Libros,</seg>
</p>
</div>
</body>
--
Sebastian Rahtz
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
OSS Watch: JISC Open Source Advisory Service
http://www.oss-watch.ac.uk
More information about the tei-council
mailing list