RE: [docbook-apps] Link from part of SVG

From
Olsen, Morten Engelhardt <>
Date
2013-06-13T19:07:17+00:00
ID
Thread
RE: [docbook-apps] Link from part of SVG
I would probably start by looking at http://xmlgraphics.apache.org/fop/dev/svg.html (if you use FOP, that is)...

Take care to read the svg linking part...

 :: Morten Engelhardt Olsen

________________________________________
From: Camille Bégnis []
Sent: Thursday, June 13, 2013 19:46
To: 
Subject: [docbook-apps] Link from part of SVG

Hello,

I want to create a clickable SVG with various zones inside the SVG that point to different chapters in my document.
I have managed to create an HTML link from within a SVG, by adding the element

<a xlink:href="chap3">

so when I add that SVG inside a DocBook document, and transform it to HTML, that zone of the SVG points to the chapter with xml:id "chap3".
So far so good.

I haven't found the required code to be added to the SVG so that the same behavior is achieved in the PDF (made with fop) output.

Any idea?

Have a nice day,

--
NeoDoc
Camille Bégnis
<mailto:>
Tél: +33 (0)4.42.52.24.20
5, rue de la Touloubre
13770 Venelles
France
http://www.neodoc.fr/