[OS X TeX] a problem with pdftricks
Sergei Mariev
serguei.mariev at campus.lmu.de
Fri Apr 1 07:58:27 CEST 2005
Hi to everybody,
I am trying to get the following simple pstricks code to work and run
into problems. Could any one perhaps identify the problem and suggest
a solution?
This is the code:
\begin{pspicture}(0,0)(3.5,2.5)
\psline(2,1)(3,2)
\end{pspicture}
If I typset it via pstricks , i.e. typset the document usen latex +
ghostscript, I get the desired result ( the line I am trying to
draw). Here is the file that works this way:
\documentclass[10pt]{article}
\usepackage{pstricks}
\usepackage{rotating}
\usepackage{pst-plot}
\usepackage{pst-text,pst-node,pst-tree}
\begin{document}
\begin{pspicture}(0,0)(3.5,2.5)
\psline(2,1)(3,2)
\end{pspicture}
\end{document}
However, If I try do get the same line via pdftricks, I get two blank
pages and an error message. Here is the code I am trying to typset:
\documentclass[10pt]{article}
\usepackage{pdftricks}
\usepackage{ifpdf}
\ifpdf
\begin{psinputs}
\usepackage{pstricks-add}
\usepackage{pstricks}
\usepackage{rotating}
\usepackage{pst-plot}
\usepackage{pst-text,pst-node,pst-tree}
\end{psinputs}
\else
\usepackage{pstricks-add}
\usepackage{pstricks}
\usepackage{pst-plot}
\usepackage{pst-text,pst-node,pst-tree}
\fi
\begin{document}
\begin{pdfpic}
\begin{pspicture}(0,0)(3.5,2.5)
\psline(2,1)(3,2)
\end{pspicture}
\end{pdfpic}
\end{document}
And 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
(./example.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/contrib/pdftricks/pdftricks.sty
Package pdftricks Warning: ****************************************
(pdftricks) Package pdftricks v,1.15 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/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) ****************************************.
Special stream 'pdfpic')
(/usr/local/teTeX/share/texmf.tetex/tex/latex/oberdiek/ifpdf.sty)
(./example.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=example-fig1.texThis 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
rm: example-fig1.aux: No such file or directory
rm: example-fig1.dvi: No such file or directory
rm: example-fig1.eps: No such file or directory
<example-fig1.pdf, id=1, 614.295pt x 794.97pt> <use example-fig1.pdf>
Overfull \hbox (269.29349pt too wide) in paragraph at lines 25--25
[][][][][]
[1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updmap/pdftex.map}]
Overfull \vbox (244.96806pt too high) has occurred while \output is active
[2 <./example-fig1.pdf>] (./example.aux) )
(see the transcript file for additional information){/usr/local/teTeX/share/tex
mf.tetex/dvips/tetex/f7b6d320.enc}</usr/local/teTeX/share/texmf.tetex/fonts/typ
e1/bluesky/cm/cmr10.pfb>
Output written on example.pdf (2 pages, 6168 bytes).
Transcript written on example.log.
--------------------- 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