Skip to content

Export inkscape SVGs to PDF while preserving hyperlinks

Notifications You must be signed in to change notification settings

jiribohac/svglinkify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inkscape as of 1.0 (4035a4fb49, 2020-05-01) saves the links in exported PDFs. This means that svglinkify is no longer needed.

svglinkify converts SVGs to PDFs using inkscape while preserving hyperlinks
applied to objects. To use, first create an SVG file in inkscape. Create
hyperlinks for any object by right clicking the object and selecting "Create
Link". Enter a URL in Href field and save your SVG. Then use svglinkify to
convert your SVG file.

If the hyper link is '#some-id', an internal link is created which when
clicked, will pan and zoom onto the object with id 'some-id'.

Usage: svglinkify input.svg output.pdf [options]

  -inkscape-path string
    	path to inkscape binary (default "/usr/bin/inkscape")

About

Export inkscape SVGs to PDF while preserving hyperlinks

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.1%
  • Shell 0.9%