OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: 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 [camille@neodoc.biz]
Sent: Thursday, June 13, 2013 19:46
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] Link from part of SVG


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,

Camille Bégnis
Tél: +33 (0)
5, rue de la Touloubre
13770 Venelles

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]