Created
August 21, 2018 15:11
-
-
Save hadisfr/1219182c358fbb0db2b793dd496155ba to your computer and use it in GitHub Desktop.
convert svg files to LaTeX-compatible pdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function svg2tex { | |
_addr=$(readlink -f $1) | |
inkscape -D -z --file=$_addr --export-pdf=${_addr/.svg/.pdf} --export-latex | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment