Issue with cropping pdfs using latest graphics package

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with cropping pdfs using latest graphics package

Clemens Schäfermeier
Dear all,
updating the "graphics" package from 1.0r / 15-May-16 to 1.0r /
21-Jun-16, the following example doesn't yield a properly cropped pdf
(LaTeX -> PS -> PDF):

\documentclass{standalone}
\usepackage{pst-circ}
\begin{document}
\psset{unit=1cm}

\begin{pspicture}[showgrid = true](-5, -5)(7, 1)

\pnodes
(-1, 0){D2}
(0, -2){FGEN1}
(0, -1){FGEN1in}
(1, 0){PID1}
(3, 0){PID1out}
(3, 0){HV1}
(5, 0){HV1out}

\nput[labelsep = -.75]{0}{D2}{D2}
\mixer[tripolestyle = bottom, tripoleconfig = right, inputarrow = true,
labeloffset = -1.5](D2)(PID1)(FGEN1in)%
{}{}
\oscillator[output = top, inputarrow = false](FGEN1)%
{X}{}
\amplifier[inputarrow = true](PID1)(PID1out){PID}
\amplifier[inputarrow = false](HV1)(HV1out){HV amp}
\psline[arrows = ->](HV1out)([Xnodesep = .1]HV1out)
\nput[labelsep = .5]{0}{HV1out}{P1}

\end{pspicture}
\end{document}

Best regards
Clemens

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
Reply | Threaded
Open this post in threaded view
|

Re: Issue with cropping pdfs using latest graphics package

Ulrike Fischer-2
Am Fri, 24 Jun 2016 08:37:09 +0200 schrieb Clemens Schäfermeier:

> Dear all,
> updating the "graphics" package from 1.0r / 15-May-16 to 1.0r /
> 21-Jun-16, the following example doesn't yield a properly cropped pdf
> (LaTeX -> PS -> PDF):

dvi/dvips is quite difficult regarding page size as the *first
setting wins, and dvips.def now sets a page size. I notified David
Carlisle. He will look at it.

You can avoid the problem by loading graphicx or graphics with the
nosetpagesize option:

\documentclass{standalone}
\usepackage[nosetpagesize]{graphicx}
\usepackage{pst-circ}
\begin{document}
...


--
Ulrike Fischer
http://www.troubleshooting-tex.de/


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml