Hyperlinking in Inkscape

Discuss SVG code, accessible via the XML Editor.
Buy Inkscape books

Hyperlinking in Inkscape

Postby Nightwing » Sat Dec 13, 2008 3:10 pm

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 :tool_text: 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?
Nightwing
 
Posts: 1
Joined: Mon Oct 20, 2008 9:41 am

Re: Hyperlinking in Inkscape

Postby Simarilius » Sun Dec 14, 2008 5:59 am

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...
Simarilius
 
Posts: 612
Joined: Wed Jun 06, 2007 2:37 am

Re: Hyperlinking in Inkscape

Postby aho » Sun Dec 14, 2008 8:22 am

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.
User avatar
aho
 
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am

Re: Hyperlinking in Inkscape

Postby RM. » Fri Nov 27, 2009 8:51 am

I was looking for that too! :( It would be great for online magazines or just pdf tutorials, try with scribus
I'm just someone who likes to create..
http://iosonor.deviantart.com
User avatar
RM.
 
Posts: 237
Joined: Mon Jan 05, 2009 10:33 am
Location: Italy, Sardegna

Re: Hyperlinking in Inkscape

Postby spaventapasseri » Tue Jul 19, 2011 4:39 am

Hello guys , apologize if I reopen this thread, any news for the hyperlinking feature?
italian forum
inkscapeforum.it
spaventapasseri
 
Posts: 97
Joined: Fri Jan 28, 2011 8:50 pm

Re: Hyperlinking in Inkscape

Postby brynn » Tue Jul 19, 2011 11:23 am

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!
Basics:
> Help menu > Tutorials
> a Quick Guide to Inkscape
Manual:
> Inkscape: Guide to a Vector Drawing Program
Tutorials:
> Inkscape Community
Development news
> Google+
Gallery:
> Inkscape Community Gallery
User avatar
brynn
 
Posts: 6717
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA

Re: Hyperlinking in Inkscape

Postby spaventapasseri » Tue Jul 19, 2011 2:34 pm

@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
italian forum
inkscapeforum.it
spaventapasseri
 
Posts: 97
Joined: Fri Jan 28, 2011 8:50 pm

Re: Hyperlinking in Inkscape

Postby ~suv » Tue Jul 19, 2011 2:45 pm

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).
~suv
 
Posts: 1954
Joined: Sun May 10, 2009 2:07 am

Re: Hyperlinking in Inkscape

Postby spaventapasseri » Tue Jul 19, 2011 2:53 pm

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
italian forum
inkscapeforum.it
spaventapasseri
 
Posts: 97
Joined: Fri Jan 28, 2011 8:50 pm


Return to SVG / XML Code

Who is online

Users browsing this forum: No registered users and 1 guest