Skip to content

ymarco/inkscape.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

inkscape.el

Use M-x inkscape (or M-x ink) to

  1. Query for a file name to edit from the figure directory (./figures/ by default)
  2. If the file does not exist, create it from the template (stored in inkscape-plain-svg-template, by default the contents of template.svg)
  3. Open Inkscape (asynchronically) on the file
  4. Once the process exits, compile the file to pdf_tex by default (controlled by inkscape-compilation-args)
  5. Check that the target file exists. If it does, copy the include string (\def\svgwidth{0.7\textwidth} \input{./figures/%s.pdf_tex} by default).

Doom Emacs recipe:

(package! inkscape
  :recipe (:host github
           :repo "ymarco/inkscape.el"
           :files ("*.el" "*.svg")))

Installation via use-package and straight (https://github.com/radian-software/straight.el):

(use-package inkscape
  :straight (:host github
             :repo "ymarco/inkscape.el"
             :files ("*.el" "*.svg")))

About

Comfortably launch inkscape from Emacs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published