IMAGE LINK DITA
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 147
- Joined: Sat Oct 19, 2013 8:21 am
IMAGE LINK DITA
Hi,
In topic i am an svg image.
From this image svg I want to place links on TOPICS.
For example :
it does not work
if you have a solution ?
Thank you
In topic i am an svg image.
From this image svg I want to place links on TOPICS.
For example :
Code: Select all
<a xlink:href="t.dita#tdita">
if you have a solution ?
Thank you
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: IMAGE LINK DITA
Hi,
Do you mean that inside the SVG you want to add links to files?
If so, the links should be directly to HTML files and not to DITA resources because the output folder will contain only HTML files and not DITA resources. You can from in the output folder the target HTML document and look in it for an anchor to refer to, then create the link accordingly.
Regards,
Radu
Do you mean that inside the SVG you want to add links to files?
If so, the links should be directly to HTML files and not to DITA resources because the output folder will contain only HTML files and not DITA resources. You can from in the output folder the target HTML document and look in it for an anchor to refer to, then create the link accordingly.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: IMAGE LINK DITA
Hi,
The main idea is that the base DITA processing does not process the contents of the SVG documents in order to re-write the links found there in any way.
I'm not sure what you want can be done. You would need to make some investigations.
First you would probably need to define in your XSL-FO output named anchors by adding an XSLT customization.
Please see this section which discusses named anchors:
http://xmlgraphics.apache.org/fop/0.95/extensions.html
After the PDF is generated with these named anchors probably your links in the SVG could be something like:
You should also ask around on the DITA Users List, maybe there is someone there who tried this before.
Regards,
Radu
The main idea is that the base DITA processing does not process the contents of the SVG documents in order to re-write the links found there in any way.
I'm not sure what you want can be done. You would need to make some investigations.
First you would probably need to define in your XSL-FO output named anchors by adding an XSLT customization.
Please see this section which discusses named anchors:
http://xmlgraphics.apache.org/fop/0.95/extensions.html
After the PDF is generated with these named anchors probably your links in the SVG could be something like:
Code: Select all
<a xlink:href="pdfFileName.pdf#named_anchor">
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Wed Aug 12, 2015 1:27 am
Re: IMAGE LINK DITA
Post by writeDirection »
Hi,
I'd like o do the same thing with html (the idea being to create a flow-chart, each module of which links to a task that describes the details for that step).
Is there a way to achieve this in OXY-19?
Thanks
I'd like o do the same thing with html (the idea being to create a flow-chart, each module of which links to a task that describes the details for that step).
Is there a way to achieve this in OXY-19?
Thanks
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: IMAGE LINK DITA
Hi,
I'm not sure why you need special support in Oxygen for this. If you want various links between HTML files why don't you add them? Or have I not understood your use case?
Regards,
Radu
I'm not sure why you need special support in Oxygen for this. If you want various links between HTML files why don't you add them? Or have I not understood your use case?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 66
- Joined: Thu Feb 08, 2018 2:44 pm
Re: IMAGE LINK DITA
Post by dpksaini89 »
Hi,
Is it now possible in Oxygen XML 20.1 (<oXygen/> XML Editor 20.1, build 2018061313) to:
Please suggest.

Is it now possible in Oxygen XML 20.1 (<oXygen/> XML Editor 20.1, build 2018061313) to:
- 1. create flow charts
2. link the text in flow chart to some topic
Please suggest.

-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: IMAGE LINK DITA
Hi,
You can right click the image reference in the Author visual editing mode and choose "Image Map Editor...".
https://www.oxygenxml.com/doc/versions/ ... odes2.html
Hotspots and hover links are only available in the published HTML-based outputs. For PDF the links will be presented under the image reference.
Regards,
Radu
You can right click the image reference in the Author visual editing mode and choose "Image Map Editor...".
https://www.oxygenxml.com/doc/versions/ ... odes2.html
Hotspots and hover links are only available in the published HTML-based outputs. For PDF the links will be presented under the image reference.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 66
- Joined: Thu Feb 08, 2018 2:44 pm
Re: IMAGE LINK DITA
Post by dpksaini89 »
Hi Radu,
Thanks for suggesting image map. Please also confirm if there is a way of creating flow charts like above in oxygen.
Thanks for suggesting image map. Please also confirm if there is a way of creating flow charts like above in oxygen.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: IMAGE LINK DITA
Hi,
Oxygen does not come bundled with a tool to create diagrams.
In such cases I think most of our users would either use a tool like Inkscape to create an SVG with the diagram or create the diagram with some other tool, export it to SVG and then link it as an image in the DITA topic.
Regards,
Radu
Oxygen does not come bundled with a tool to create diagrams.
In such cases I think most of our users would either use a tool like Inkscape to create an SVG with the diagram or create the diagram with some other tool, export it to SVG and then link it as an image in the DITA topic.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Thu Feb 18, 2021 6:52 pm
Re: IMAGE LINK DITA
Post by shantanu93 »
Hi,
I am trying to do exactly the same thing ( to hyperlink an image to a topic in the PDF)
But all creating an imagemap does is add a link to the topic before the image.
How can I add a link to the image so that when anyone clicks on the image in the PDF output, it redirects to a specific topic somewhere else in the PDF. Here's my code:
I am trying to do exactly the same thing ( to hyperlink an image to a topic in the PDF)
But all creating an imagemap does is add a link to the topic before the image.
How can I add a link to the image so that when anyone clicks on the image in the PDF output, it redirects to a specific topic somewhere else in the PDF. Here's my code:
Code: Select all
<imagemap id="imagemap_ayc_455_r4b">
<image href="images/xyz.png" height="900"
id="image_tx1_xrd_7812"/>
<area>
<shape>rect</shape>
<coords>3, 8, 508, 343</coords>
<xref href="topic.dita"/>
</area>
</imagemap>
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: IMAGE LINK DITA
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service