[OS X TeX] Pdftricks problem

Aaron Jackson jackson at negril.msrce.howard.edu
Thu Feb 3 19:41:52 CET 2005


OK, I didn't zoom into the pdf the first time, but now I notice what 
you are talking about, the bottom part of the three is clipped.  I seem 
to remember that pdftricks used to work, but I ran my old files and 
they do not work now.  I would guess that the ghostscript upgrade is 
causing the problem...

On Feb 3, 2005, at 11:48 AM, Vince McGarry wrote:

> 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>
>
>

--------------------- 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