Created
May 5, 2014 23:10
-
-
Save PMaynard/537eaa247a3ee2ce69fe to your computer and use it in GitHub Desktop.
Dot to SVG-Tex
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
D=$(basename $1 .dot) | |
dot -Tsvg $1 -o $D.svg | |
inkscape -D -z --file=$D.svg --export-pdf=../$D.pdf --export-latex | |
echo "EOF" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to - http://anorien.csc.warwick.ac.uk/mirrors/CTAN/info/svg-inkscape/InkscapePDFLaTeX.pdf