Skip to content

A wrapper for using the Inkscape cli with relative paths on macOS

License

Notifications You must be signed in to change notification settings

SV3A/inkscape-cli-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

inkscape-cli-wrapper

License: GPL v3

This is an Inkscape cli wrapper made as a patch for the macOS bug, where one must specify absolute paths when invoking Inkscape commands (see #1449251 and #181639). This script simply prepends to your relative path and calls the normal Inkscape binary with absolute paths.

Usage

  • Clone or download the script.
  • Use the script as you would use the $ inkscape commandline utility, e.g.
   ./inkscape-wrapper -z -D --file={filename}.svg --export-pdf={filename}.pdf

Optionally

  • Symlink the script with so that other programs, e.g. LaTeX packages, may use it.
ln -sf /path-to-script/inkscape-wrapper /usr/local/bin/inkscape

Note this command will overwrite any existing symbolic link. However, this can be undone easily by relinking the inkscape-bin found in /Applications/Inkscape.app/Contents/Resources/bin/

About

A wrapper for using the Inkscape cli with relative paths on macOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages