[OS X TeX] {picture}
Aaron Jackson
jackson at negril.msrce.howard.edu
Fri Dec 3 23:33:14 CET 2004
Do you have multips.sty installed? Try running from the command line
``latex filename''. You should get real error messages. Pdftricks
does some round about processing, so you won't see any error messages
related to pstricks (this is why I use the ifpdf to make sure the doc
can be run through pdflatex and latex).
On Dec 3, 2004, at 3:51 PM, Google Kreme wrote:
> On Fri, 3 Dec 2004 15:34:49 -0500, Aaron Jackson
> <jackson at msrce.howard.edu> wrote:
>
>> If you have a current version of gwtex, this should work with both
>> latex and pdftatex. Otherwise, you'll need to reinstall (old versions
>> are missing bbox and ps2eps which are required for pdftricks to work).
>> You will also need to get the multips package. It doesn't seem to be
>> on my system...
>
> \documentclass[12pt]{article}
>
> % See the ``Article customise'' template for come common customisations
> \usepackage{ifpdf}
> \ifpdf
> \usepackage{pdftricks}
> \begin{psinputs}
> \fi
> \usepackage{pstricks}
> \usepackage{multips}
> \ifpdf
> \end{psinputs}
> \fi
>
>
> %%% BEGIN DOCUMENT
> \begin{document}
>
> \ifpdf
> \begin{pdfdisplay}
> \fi
> \begin{pspicture}(1,1)
> \multips(0,0)(1.2,0){5}{\psframe(1,1)}
> \multips(0,0)(1.2,0){5}{\psline[linethickness=2pt](1,0)(1,1)}
> \psline(-.2,-1.4)(3.6,-1.4)
> \end{pspicture}
> \ifpdf
> \end{pdfdisplay}
> \fi
>
> \end{document}
>
> results in:
>
> This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
> \write18 enabled.
> output format initialized to PDF
> entering extended mode
> (./box2.tex
> LaTeX2e <2003/12/01>
> Babel <v3.8c> and hyphenation patterns for american, french, german,
> ngerman, n
> ohyphenation, loaded.
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
> Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size12.clo))
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/oberdiek/ifpdf.sty)
> (/usr/local/teTeX/share/texmf.gwtex/tex/latex/pdftricks/pdftricks.sty
>
> Package pdftricks Warning: ****************************************
> (pdftricks) Package pdftricks v,1.16 loaded
> (pdftricks) [psTricks support in PDF (CVR, ACL)]
> (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/graphics/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/graphics/color.cfg))
>
> Package pdftricks Warning: ****************************************
> (pdftricks) Using \write 18 capability
> (pdftricks) for producing PDF-figures.
> (pdftricks) ****************************************.
>
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/moreverb/moreverb.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/verbatim.sty)))
> No file box2.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 / Miscellaneous (2004.10.26)
> )
> loading : Context Support Macros / PDF (2004.10.26)
> ) Opening PDFStream=box2-fig1.texThis is pdfeTeX, Version
> 3.141592-1.20a-2.2 (Web2C 7.5.3)
> output format initialized to DVI
> entering extended mode
> rm: box2-fig1.aux: No such file or directory
> rm: box2-fig1.dvi: No such file or directory
> rm: box2-fig1.eps: No such file or directory
> (./box2.aux) )
> No pages of output.
> Transcript written on box2.log.
>
>
>
> --
> ::::::=== <http://2blog.kreme.com> ===::::::
> :: Build a man a fire and he'll be warm for ::
> :: a night, but set a man on fire and he'll ::
> :: be warm for the rest of his life. ::
> --------------------- 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