[OS X TeX] please help me with pdftricks

Troy Goodson Troy.D.Goodson at jpl.nasa.gov
Mon Sep 16 18:16:45 EDT 2002



I thought I try out pdftricks.  I went over to 
<http://www.lyx.org/help/pdf/pdftricks.php> and copied the example on 
that page (it's kinda long so I won't list it here)

{short story: it didn't work, I don't know why, and I'm hoping 
somewhere here might help me.  the following is some info on what 
happened...}

I saved it in a file named "pdftricks_example.tex"
I went into Terminal and typed
   pdflatex -shell-escape pdftricks_example.tex

{Problem is, the resulting "pdftricks_example.pdf" doesn't seem to 
include the graphic created with pdftricks.  I can open 
"pdftricks_example-fig1.eps.pdf" with Preview and I see it there. }



My log includes
  This is pdfTeX, Version 3.14159-1.00b-pretest-20020211 (Web2C 7.3.7x)
...[snip]
(pdftricks)                Using \write 18 capability
(pdftricks)                for producing PDF-figures.
... [snip]
Opening PDFStream=pdftricks_example-fig1.texThis is TeX, Version 
3.14159 (Web2C 7.3.7x)
This is dvips(k) 5.90a Copyright 2002 Radical Eye Software (www.radicaleye.com)
' TeX output 2002.09.16:1454' -> pdftricks_example-fig1.eps
<tex.pro><alt-rule.pro><texc.pro><pstricks.pro><pst-dots.pro><special.pro>.
[1]
... [snip]
Output written on pdftricks_example.pdf (1 page, 10720 bytes).
Transcript written on pdftricks_example.log.


I ended up with these files:
-rw-r--r--  1 tdg  staff   11294 Sep 16 14:54 pdftricks_example.log
-rw-r--r--  1 tdg  staff   10720 Sep 16 14:54 pdftricks_example.pdf
-rw-r--r--  1 tdg  staff     334 Sep 16 14:54 pdftricks_example.aux
-rw-r--r--  1 tdg  staff     771 Sep 16 14:54 pdftricks_example-fig1.eps.pdf
-rw-r--r--  1 tdg  staff     667 Sep 16 14:54 pdftricks_example-fig1.tex
-rw-r--r--  1 tdg  staff      22 Sep 16 14:54 tmp.inputs
-rw-r--r--  1 tdg  staff    5148 Sep 16 14:54 pdftricks_example.tex

Problem is, "pdftricks_example.pdf" doesn't seem to include the 
graphic created with pdftricks.  I can open 
"pdftricks_example-fig1.eps.pdf" with Preview and I see it there.

** Any ideas as to what went wrong?

** Also, if I try and run this in TeXShop, I get this message:

(pdftricks)                No \write 18 capability.
(pdftricks)                You'll have to run a script by yourself!

what's up here?  I thought I could avoid this with a 
~/Library/texmf/web2c/texmf.cnf, containing "shell_escape = t"


** Finally, if the personal texmf.cnf won't work, does anyone a 
script I can use in TeXShop as my "personal script" that will handle 
this?

Thanks,

Troy.


-----------------------------------------------------
Mac TeX info, resources, and news can be found at:
<http://www.esm.psu.edu/mac-tex/>
-----------------------------------------------------
List archives can be found at:
<http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------




More information about the MacOSX-TeX mailing list