make pdf picture with pgf and preview package.