# pstool + pgfplots + parskip conflict [closed]

I've recently observed extremely strange latex bug if pstool + pgfplots + parskip packages are used at the same time.

\documentclass{article}

\usepackage{pstool}
\usepackage{pgfplots}
\usepackage{parskip}

\begin{document}

\begin{figure}
\psfragfig{fig}
\caption{Figure Psfrag.}
\end{figure}

\end{document}


This code just inserts a psfrag figure, generated by matlabfrag extension. If these three packages are used, than the resultant output is cropped from below, see figure. However, once I remove \usepackage{pgfplots}, the problem is resolved and the output is perfect! Has anyone experienced this issue? Any suggestions how to resolve it?

## closed as unclear what you're asking by Paul Gessler, Kurt, Svend Tveskæg, Masroor, JesseJan 10 '15 at 15:00

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Completely sure. In fact, the issue arises even if I modify \parskip manually, not necessarily via \usepackage{parskip}. So it is somehow related with the non-zero value of the \parskip. – Vladimir Ivannikov Apr 11 '14 at 16:48
• I cannot compile your example (I don't have that .eps). May be you should give us something which we can compile and which shows the same problem. – Manuel Apr 11 '14 at 17:29
• Here is that eps file. – Vladimir Ivannikov Apr 11 '14 at 18:02
• I cannot reproduce the problem with latex P && dvips P.dvi -o P.ps and not with ... && ps2pdf P.ps. I used the most recent pgfplots/pgf combination and some older one (pgf 2.10 / pgfplots 1.5). Could you give more input about your versions? Furthermore, I would expect that you can substitute pgfplots by tikz in your example. – Christian Feuersänger Apr 12 '14 at 14:08