[OS X TeX] Pdftricks problem

Vince McGarry vmcgarry at austin.rr.com
Thu Feb 3 13:11:39 EST 2005


Well, the more I experiment, the more I think there are multiple problems
here and I'm not sure if it is something in my setup...

(1) pstoeps is ignoring my specified size for the graphic,

\begin{pspicture*}(-1,-4)(5,7),

choosing to clip on the content. Any whitespace surrounding the graphic is
lost

...and...

(2) The size of the bounding box doesn't appear to be correct as calculated
by ps2eps.

Compiling the following with latex I see a gap between the two graphs on my
system; with pdflatex I don't.


%&program=pdflatex

\documentclass[10pt]{article}

 \usepackage{ifpdf}
 \ifpdf%
     \usepackage{pdftricks}
     \begin{psinputs}
         \usepackage{pstricks}
         \usepackage{pst-plot}
     \end{psinputs}
 \else
     \usepackage{pstricks}
     \usepackage{pst-plot}
     \newenvironment{pdfpic}{}{}
 \fi
 
\begin{document}
 \begin{pdfpic}
     \psset{xunit=20pt,yunit=20pt}
     \begin{pspicture*}(-1,-4)(5,7)
     \psaxes[showorigin=false,ticks=all,arrowscale=1.5]{->}(4.5,6.5)
     \end{pspicture*}
 \end{pdfpic}
 
 \begin{pdfpic}
     \psset{xunit=20pt,yunit=20pt}
     \begin{pspicture*}(-1,-1)(5,7)
     \psaxes[showorigin=false,ticks=all,arrowscale=1.5]{->}(4.5,6.5)
     \end{pspicture*}
 \end{pdfpic} 
\end{document}

I'd be real curious to know what others see, and then to look at what
happens we remove the empty line between the pdfpic environments. The two
graphics should be side by side. They don't look that way on my system when
I compile it with pdflatex.

There seem to be several incompatibilities or I have some problems with my
setup. Thanks for all of your help.
 
Vince McGarry
Austin Community College
Rio Grande Campus
1212 Rio Grande Street
Austin, TX  78701

Phone: (512)-223-3358
email: vince at austincc.edu
       vmcgarry at austin.rr.com

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list