[OS X TeX] pdfcrop doesn't crop anymore

Michael Sharpe msharpe at ucsd.edu
Thu Apr 29 17:08:59 CEST 2010


On Apr 29, 2010, at 7:31 AM, Michael Hoppe wrote:

> Dear TeXers,
> 
> when compiling
> 
> %---------------  fehler.tex  -----------------------
> \documentclass{minimal}
> \listfiles
> \usepackage{auto-pst-pdf}
> \usepackage{pstricks}
>  \usepackage{pst-plot}
> 
> \begin{document}
> 
> \Cartesian(1.5cm,0.8cm)
> 
> \begin{pspicture}(-1,-5)(5,5)
> 	\psgrid
> 	\psaxes(0,0)(-1,-5)(5,5)
> 	\psplot[plotstyle=curve,plotpoints=200,linewidth=.8pt]{0.1}{5.0}{x
> 	1 x div sub}
> \end{pspicture}
> 
> \end{document}
> %----------------------------------------------------
> 
> the picture isn't cropped: large portions of the curve reside outside the grid.  What goes wron here?  The same file has been cropped for years!
> 

The output in cropped form should be in the file fehler-pics.pdf. If you want the curve to be clipped at the edge of the grid, you have to use the form

\begin{pspicture*}(-1,-5)(5,5)
	\psgrid
	\psaxes(0,0)(-1,-5)(5,5)
	\psplot[plotstyle=curve,plotpoints=200,linewidth=.8pt]{0.1}{5.0}{x
	1 x div sub}
\end{pspicture*}

Michael




More information about the macostex-archives mailing list