[OS X TeX] Pdftricks problem

Vince McGarry vmcgarry at austin.rr.com
Thu Feb 3 17:48:00 CET 2005


Sorry---here is the entire file.

%&program=pdflatex
\listfiles
\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=50pt,yunit=50pt}
     \begin{pspicture*}(-1,-4)(5,7)
     \psaxes[showorigin=false,ticks=all,arrowscale=1.5]{->}(4.5,6.5)
     \end{pspicture*}
 \end{pdfpic} 
\end{document}

Agreed that it should work, but the 3 is clearly clipped on the horizontal
axis on my system. I have tried from the command line with the same result
and then tried different switches with pstoeps. I think that the -g switch
is calculating the correct bounding box, at least the pdf of the graphic
appears to be complete in acrobat, even though it still looks clipped in
Preview, TeXniscope, and TeXShop.

On 2/3/05 10:18 AM, "Aaron Jackson" <jackson at msrce.howard.edu> wrote:

> On Feb 3, 2005, at 10:43 AM, Vince McGarry wrote:
> 
>> Thanks for response, but this is the complete latex file that causes
>> the
>> problem---this problem does not occur when using
>> latex/ghostscript---only
>> pdflatex.
> 
> I say that you didn't send the complete file, because I had to add the
> \documentclass, \begin{document} and \end{document} tags.  What was
> sent could not be ran through latex or pdflatex.
> 
>>  I am using the most current version of everything and would be
>> pleased to send you a copy of the ps graphic, pdf graphic, latex file,
>> and
>> my log file with file list if you have the time and think you might be
>> able
>> to help.
> 
> I don't know how much help I can give you, but all pdftricks does is
> make a separate file for each pdfpic and then run it through
> latex->dvips->ps2eps->epstopdf and then include the resulting pdf back
> into the main document.  You should be able to run everything by hand
> from the command line and get the same result.  In fact, the exact
> commands are in the log file.  So, if it works with latex/dvips it
> should also work with pdflatex.
> 
> --------------------- 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>
> 
> 

--------------------- 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 macostex-archives mailing list