# pstool does not scale

Hello I am trying to use pstool by invoking

\psfragfig*[scale=0.5]{picname}


However, the picture does not get scaled. Here an example where this does not work:

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{pstool}
\usepackage{mathtools}
\usepackage[utf8]{inputenc}
\usepackage[francais]{babel}
\usepackage{pdfpages}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\begin{center}
\psfragfig[scale=0.01]{PCO}
{\tiny\psfrag{[t]}{$t$}}

\end{center}
\end{figure}
\end{document}


• Please edit your question so that it includes a complete example that illustrates the problem. Without this, it may be difficult for anyone to help you. You might need to make your eps file available for download and add a link here, but not if you can reproduce the problem with a masterpiece such as pumpkin.eps. – Ian Thompson Feb 21 '17 at 21:55

You need to run pdflatex with shell escape enabled. So, if I save your file as test.tex, then
pdflatex --shell-escape test.tex