[OS X TeX] a problem with pdftricks
Aaron Jackson
jackson at msrce.howard.edu
Fri Apr 1 18:24:14 EST 2005
Are you still using Herb's new version of pstricks? Try:
kpsewhich pdftricks.sty
It should give you something like
/Users/jackson/Library/texmf/tex/latex/pdftricks.sty. If it doesn't,
take Herb's version out of your tex tree and try again.
Aaron
On Apr 1, 2005, at 5:34 PM, Sergei Mariev wrote:
> Thanks a lot! The bbox and ps2eps were not there, so I got the
> archieve, copied ps2eps and the bbox for Mac OS X to /usr/local/bin
> and checked to make sure they are executable. However, the document
> does not produce any results. Here is the log:
>
>
> This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2C 7.5.2)
> \write18 enabled.
> %&-line parsing enabled.
> (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
> entering extended mode
> (./new-example1.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/
> pdftex.cfg
> }
> LaTeX2e <2001/06/01>
> Babel <v3.7h> and hyphenation patterns for american, british, french,
> german, n
> german, greek, italian, latin, russian, spanish, nohyphenation, loaded.
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
> Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
> (/Users/sm/Library/texmf/tex/latex/NewPdftricks/pdftricks.sty
>
> Package pdftricks Warning: ****************************************
> (pdftricks) Package pdftricks v,1.16.2 loaded
> (pdftricks) [psTricks support in PDF (CVR, ACL),
> processing chan
> ges (HS)]
> (pdftricks) ****************************************.
>
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/config/graphics.cfg)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/pdftex.def)))
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/config/color.cfg))
>
> Package pdftricks Warning: ****************************************
> (pdftricks) Using \write 18 capability
> (pdftricks) for producing PDF-figures.
> (pdftricks) ****************************************.
>
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/misc/moreverb.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/verbatim.sty)))
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/oberdiek/ifpdf.sty)
> No file new-example1.aux.
> (/usr/local/teTeX/share/texmf.tetex/tex/context/base/supp-pdf.tex
> (/usr/local/teTeX/share/texmf.tetex/tex/context/base/supp-mis.tex
> loading : Context Support Macros / Missing
> )
> loading : Context Support Macros / PDF
> ) Opening PDFStream=new-example1-fig1.tex### This is
> /usr/local/teTeX/bin/powerpc-apple-darwin-current/altpdflatex, Version
> $Revision: 2.15 $
> ### /usr/local/teTeX/bin/powerpc-apple-darwin-current/latex
> new-example1-fig1
> This is e-TeXk, Version 3.141592-2.1 (Web2C 7.5.2)
> %&-line parsing enabled.
> (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
> entering extended mode
> ### WARNING: TeX returned non zero exit status
> ### /usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips -R
> -Poutline -o /tmp/altpdflatex.565-1112394524/new-example1-fig1.ps
> new-example1-fig1.dvi
> This is dvips(k) 5.94a Copyright 2003 Radical Eye Software
> (www.radicaleye.com)
> /usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips: ! DVI file
> can't be opened.
> ### FAILED to generate
> /tmp/altpdflatex.565-1112394524/new-example1-fig1.ps ()
> rm: new-example1-fig1.aux: No such file or directory
> rm: new-example1-fig1.dvi: No such file or directory
> (./new-example1.aux) )
> No pages of output.
> Transcript written on new-example1.log.
>
>
>> On Apr 1, 2005, at 2:42 PM, Sergei Mariev wrote:
>>
>>> I installed it about one year ago, in fact it could have been in
>>> may or june last year. How can I find out if the the auxiliary
>>> utilities are there? I would prefer not to upgrade now as I am
>>> submitting my thesis in on 21 of April, and I just want to be sure
>>> that everything works the way it has been working so far.
>>
>> I quite understand. All pdftricks does is make seperate files for
>> each pdfpic and processes them in the following order:
>>
>> latex->dvips->ps2eps->epstopdf
>>
>> The missing pieces may by ps2eps and bbox. Type:
>>
>> which bbox
>> which ps2pes
>>
>> You should get something like /usr/local/bin/bbox and
>> /usr/local/bin/ps2eps as a response. If nothing is returned, then
>> that is your problem. You can get them from here:
>>
>> http://www.ctan.org/tex-archive/support/ps2eps/
>>
>> Just download the tar file and copy ps2eps, which is a perl script
>> and bbox, which is a c program, to /usr/local/bin. If you have the
>> dev tools installed on your computer, then you can look through the
>> source to make sure that it is not doing anything harmful and then
>> compile the source e.g. gcc -o bbox bbox.c. I personally don't like
>> precompiled binaries, as I am a little paranoid...
>>
>> Aaron
>>
>> --------------------- 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 MacOSX-TeX
mailing list