[OS X TeX] Re: TextMate and pdftricks

Aaron Jackson jackson at msrce.howard.edu
Sat May 14 02:08:53 EDT 2005


On May 14, 2005, at 1:21 AM, Alain Matthes wrote:

> Hello
> Sorry for my bad english... :(
>
> I've no problem to use TeXniscope and TextMate without pdftricks  but
> =20
> when i use pdftricks ( with TeXshop it's perfect !) with a file like 
> =20
> this :

I have no idea what TextMate is, but I do see a problem with your file:

>
> \documentclass[a4paper,10pt]{article}
> \usepackage{ifpdf}
> \ifpdf
>     \usepackage{pdftricks}
>    \begin{psinputs}
>            \usepackage{pstricks}
>            \usepackage{pstricks-add}
>           \usepackage{pst-plot}
>    \end{psinputs}
> \else
>             \usepackage{pstricks}
>            \usepackage{pstricks-add}
>             \usepackage{pst-plot}

		\newenvironment{pdfdisplay}{}{}  % This line needs to be here when 
you process your file with latex.

> \fi
> \begin{document}
> \begin{pdfdisplay}
>    \[\psset{xunit=3D0.75,yunit=3D0.75}
>    \begin{pspicture}(-2,-2)(8,2)
>        \psset{griddots=3D0,gridlabels=3D10pt,subgriddiv=3D5}
>        \psset{shortput=3Dnab,nodesep=3D3pt,arrows=3D->,labelsep=3D3pt}
>        \cnodeput(1,0){A}{A}
>        \cnodeput(5,0){B}{B}
>        \nccircle[angleA=3D90]{A}{0.6cm}_{0,75}
>        \ncarc[arcangle=3D40]{A}{B}^{0,25}
>        \ncarc[arcangle=3D40]{B}{A}^{0,5}
>        \nccircle[angleA=3D-90]{B}{0.6cm}_{0,5}
>    \end{pspicture}\]
> \end{pdfdisplay}
> \end{document}
>
> In Command Output i've :
>
> 1: latex : command not found
> and in the log
> sh: line 1: latex: command not found
> rm: graphe-fig1.aux: No such file or directory
> rm: graphe-fig1.dvi: No such file or directory
>
> is it possible to use pdftricks with textmate ?
>

This is most likely a path problem, but I don't know TextMate and I 
don't know how you process this file.

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>





More information about the MacOSX-TeX mailing list