Actively converts a tikz picture to pdf