Hello,
I was wondering if it is possible to hyperlink text in Inkscape so when I export my file as a PDF I can click on a single word and be taken to my desired site? I understand if I just use and type the web address in then in the PDF I will automatically be taken to the website when I click on the text link, but I was wondering if I could hyperlink a certain word or words, perhaps with the XML nodes?
Hyperlinking in Inkscape
-
- Posts: 626
- Joined: Wed Jun 06, 2007 2:37 am
Re: Hyperlinking in Inkscape
you can add hyperlinks to objects with right click>create link, but I believe it only works on full objects, so you cant limit it to single words in a text block.
Not sure if it gets exported properly to pdf either...
Not sure if it gets exported properly to pdf either...
Re: Hyperlinking in Inkscape
Accordingly to the specs and the valdiator, hyperlinking indivudal pieces of text within a tspan element is absolutely valid.
However, Inkscape currently doesn't allow you to do that. Additionally, FF2 and all Webkit based browsers (e.g. Chrome) won't render those text pieces at all. (Would be ace if someone could go ahead and confirm my Webkit bug report.)
There will be probably an extension for this a few weeks down the road since I started writing something very similar and it only would need some small changes to cover the functionality you need.
However, Inkscape currently doesn't allow you to do that. Additionally, FF2 and all Webkit based browsers (e.g. Chrome) won't render those text pieces at all. (Would be ace if someone could go ahead and confirm my Webkit bug report.)
There will be probably an extension for this a few weeks down the road since I started writing something very similar and it only would need some small changes to cover the functionality you need.
-
- Posts: 98
- Joined: Fri Jan 28, 2011 8:50 pm
Re: Hyperlinking in Inkscape
Hello guys , apologize if I reopen this thread, any news for the hyperlinking feature?
Re: Hyperlinking in Inkscape
Hhhmmm.....well regarding the original message, if you converted your text to paths, it would convert to PDF with no trouble. And with text as paths, the OP could in fact create a link from a single word or words, as far as I understand. But I don't know if the hyperlink would survive the conversion. And I haven't tried it. Maybe you would want to do a quick test?
But if you need the text to remain text....I don't know. Does anyone know if there's a list of all Inkscape extensions? Not just those provided with the program, but all those many unique extensions, created and hosted by individual users? That would be a nice list to have, and I think I might just start one, lol!
But if you need the text to remain text....I don't know. Does anyone know if there's a list of all Inkscape extensions? Not just those provided with the program, but all those many unique extensions, created and hosted by individual users? That would be a nice list to have, and I think I might just start one, lol!
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
-
- Posts: 98
- Joined: Fri Jan 28, 2011 8:50 pm
Re: Hyperlinking in Inkscape
@Brynn
thanks to replied
with the svg files not problem at all but with the pdf still is not possible I guess.
I think one confirm from @suv would be better,because I`m not pretty sure but I remember this bug
https://bugs.launchpad.net/inkscape/+bug/407701
thanks to replied
with the svg files not problem at all but with the pdf still is not possible I guess.
I think one confirm from @suv would be better,because I`m not pretty sure but I remember this bug
https://bugs.launchpad.net/inkscape/+bug/407701
Re: Hyperlinking in Inkscape
spaventapasseri wrote:Hello guys , apologize if I reopen this thread, any news for the hyperlinking feature?
- With regard to PDF export?
No: PDFs exported with Inkscape (latest stable 0.48.1 and current development tree) do not include web (aka hyper-) links added in the SVG document. - With regard to linking an individual <tspan> instead of the text object itself?
Not that I know of: Inkscape (up to latest stable 0.48.1 and the current development tree) doesn't have a GUI option to treat <tspan> as separate, selectable objects (you can only highlight it within the text tool context, and give it a different style).
-
- Posts: 98
- Joined: Fri Jan 28, 2011 8:50 pm
Re: Hyperlinking in Inkscape
Hi @suv,
I was pretty sure about the pdf links as I read the manual and I didn`t find any mention on it.
One of our users ask to me but before to tell him something wrong I was waiting your reply.
Thanks indeed
I was pretty sure about the pdf links as I read the manual and I didn`t find any mention on it.
One of our users ask to me but before to tell him something wrong I was waiting your reply.
Thanks indeed
Re: Hyperlinking in Inkscape
The reason I'm resurrecting this old thread is because it ranks high on search engines and I have a solution that might help others.
I've written a very hackish python script that takes the PDF generated by Inkscape and adds clickable hyperlinks to it. It's not plug-n-play — you have to do a little manual work but it's worth it since it seems to be the only option for now.
All the instructions on what you need and how to use the script is in the comment section of the script itself.
I've written a very hackish python script that takes the PDF generated by Inkscape and adds clickable hyperlinks to it. It's not plug-n-play — you have to do a little manual work but it's worth it since it seems to be the only option for now.
All the instructions on what you need and how to use the script is in the comment section of the script itself.
Re: Hyperlinking in Inkscape
PDF with links:
Save as SVG, open in Chrome
Change margins to none
print as PDF
Save as SVG, open in Chrome
Change margins to none
print as PDF