Skip to content

Instantly share code, notes, and snippets.

@PMaynard
Created May 5, 2014 23:10
Show Gist options
  • Save PMaynard/537eaa247a3ee2ce69fe to your computer and use it in GitHub Desktop.
Save PMaynard/537eaa247a3ee2ce69fe to your computer and use it in GitHub Desktop.
Dot to SVG-Tex
D=$(basename $1 .dot)
dot -Tsvg $1 -o $D.svg
inkscape -D -z --file=$D.svg --export-pdf=../$D.pdf --export-latex
echo "EOF"
@PMaynard
Copy link
Author

PMaynard commented May 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment