[TxMt] TextMate & pdftricks

Alain Matthes alain.matthes at free.fr
Thu May 12 14:46:03 UTC 2005


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






More information about the textmate mailing list