Hello:)
Sorry for my bad english. I hope that you can understand my question.
I've some difficulties to use pdftricks with TextMate and TeXniscope
Example : graphe.tex
\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} \fi
\begin{document}
\begin{pdfdisplay} [\psset{xunit=0.75,yunit=0.75} \begin{pspicture}(-2,-2)(8,2) \psset{griddots=0,gridlabels=10pt,subgriddiv=5} \psset{shortput=nab,nodesep=3pt,arrows=->,labelsep=3pt} \cnodeput(1,0){A}{A} \cnodeput(5,0){B}{B} \nccircle[angleA=90]{A}{0.6cm}_{0,75} \ncarc[arcangle=40]{A}{B}^{0,25} \ncarc[arcangle=40]{B}{A}^{0,5} \nccircle[angleA=-90]{B}{0.6cm}_{0,5} \end{pspicture}]
\end{pdfdisplay}
\end{document}
i've no problem with Texshop but with TextMate...
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 rm: graphe-fig1.log: No such file or directory rm: graphe-fig1.eps: No such file or directory This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) \write18 enabled. etc...
Thanks Alain Matthes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Alain,
Have you made some changes to the Latex and Texniscope command? By default Latex and Texniscope is setup to run pdflatex and yet the error message you are getting is latex: command not found.
If pdftricks starts up its own separate process then it looks like the appropriate PATH information is not getting inherited from TextMate.
Brad
On May 12, 2005, at 6:32 AM, Alain Matthes wrote:
Hello:)
Sorry for my bad english. I hope that you can understand my question.
I've some difficulties to use pdftricks with TextMate and TeXniscope
Example : graphe.tex
\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} \fi
\begin{document}
\begin{pdfdisplay} [\psset{xunit=0.75,yunit=0.75} \begin{pspicture}(-2,-2)(8,2) \psset{griddots=0,gridlabels=10pt,subgriddiv=5} \psset{shortput=nab,nodesep=3pt,arrows=->,labelsep=3pt} \cnodeput(1,0){A}{A} \cnodeput(5,0){B}{B} \nccircle[angleA=90]{A}{0.6cm}_{0,75} \ncarc[arcangle=40]{A}{B}^{0,25} \ncarc[arcangle=40]{B}{A}^{0,5} \nccircle[angleA=-90]{B}{0.6cm}_{0,5} \end{pspicture}]
\end{pdfdisplay}
\end{document}
i've no problem with Texshop but with TextMate...
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 rm: graphe-fig1.log: No such file or directory rm: graphe-fig1.eps: No such file or directory This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) \write18 enabled. etc...
Thanks Alain Matthes ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Le 12 mai 05 à 14:00, Brad Miller a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Alain,
Have you made some changes to the Latex and Texniscope command? By default Latex and Texniscope is setup to run pdflatex and yet the error message you are getting is latex: command not found.
If pdftricks starts up its own separate process then it looks like the appropriate PATH information is not getting inherited from TextMate.
Brad
My command :
/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex - interaction=nonstopmode -shell-escape -file-line-error-style "$TM_FILEPATH" | perl -e 'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^\n])/ $1$2/g;print;' echo echo "Previewing..." echo $TM_FILEPATH | perl -e 'while(<>){s/.tex$/.pdf/;print;}' | xargs open -a TeXniscope
Only -shell-escape for the use of pdftricks.
Perhaps i need to change the prefs in TeXniscope ?
Alain
On May 12, 2005, at 16:46, Alain Matthes wrote:
My command :
/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex - interaction=nonstopmode -shell-escape -file-line-error-style "$TM_FILEPATH" | perl -e 'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^ \n])/$1$2/g;print;' echo echo "Previewing..." echo $TM_FILEPATH | perl -e 'while(<>){s/.tex$/.pdf/;print;}' | xargs open -a TeXniscope
Only -shell-escape for the use of pdftricks.
Perhaps i need to change the prefs in TeXniscope ?
It does sound like a PATH issue (as mentioned by Brad). Not sure which TM you're using and if you've setup BASH_ENV. But try e.g. to add this line at the top of your command:
export PATH="$PATH:/usr/local/teTeX/bin/powerpc-apple-darwin-current"
Le 13 mai 05 à 03:30, Allan Odgaard a écrit :
On May 12, 2005, at 16:46, Alain Matthes wrote:
My command :
/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex - interaction=nonstopmode -shell-escape -file-line-error-style "$TM_FILEPATH" | perl -e 'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^ \n])/$1$2/g;print;' echo echo "Previewing..." echo $TM_FILEPATH | perl -e 'while(<>){s/.tex$/.pdf/;print;}' | xargs open -a TeXniscope
Only -shell-escape for the use of pdftricks.
Perhaps i need to change the prefs in TeXniscope ?
It does sound like a PATH issue (as mentioned by Brad). Not sure which TM you're using and if you've setup BASH_ENV. But try e.g. to add this line at the top of your command:
export PATH="$PATH:/usr/local/teTeX/bin/powerpc-apple-darwin-current"
Thanks
Yes it was a path problem ! After the update 10.3.9 -> 10.4, the file /etc/profile was a new one :(
Alain Matthes