[TxMt] Re: How do I set up TextMate for LaTeX correctly?

Alain Matthes alain.matthes at mac.com
Thu Mar 19 21:21:32 UTC 2009


Le 19 mars 09 à 19:42, Gewitterbukk a écrit :

> I think the problem is "pstricks". If this package is involved, TM
> uses automatically "latex" although "pdflatex" is set as default
> engine. You can try it with this small example:
>
>
> \documentclass{scrreprt}
>
> \usepackage{auto-pst-pdf}
> \usepackage{pstricks}
>
> \begin{document}
> 	
> Hallo
>
> \end{document}
>
>
> The package "auto-pst-pdf" should make using "pstricks" with
> "pdflatex" possible but TM doesn't consider this. The only way I
> found to avoid this is using the line


hi,

it's fine for me

This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) \write18  
enabled. file:line:error style messages enabled. %&-line parsing  
enabled. entering extended modeProcessing: ./autopst.texLaTeX2e  
<2005/12/01> Babel and hyphenation patterns for english, usenglishmax,  
dumylang, nohyphenation, german-x-2008-06-18, ngerman-x-2008-06-18,  
ancientgreek, ibycus, arabic, basque, bulgarian, catalan, pinyin,  
coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi,  
finnish, french, galician, german, ngerman, monogreek, greek,  
hungarian, icelandic, indonesian, interlingua, irish, italian, latin,  
lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish,  
portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian,  
spanish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh,  
loaded. (/usr/local/texlive/2008/texmf-dist/tex/latex/koma-script/ 
scrreprt.cls
Document Class: scrreprt 2009/01/24 v3.02b KOMA-Script document class  
(report)

(/usr/local/texlive/2008/texmf-dist/tex/latex/koma-script/scrkbase.sty  
(/usr/local/texlive/2008/texmf-dist/tex/latex/koma-script/scrbase.sty  
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/keyval.sty) (/ 
usr/local/texlive/2008/texmf-dist/tex/latex/koma-script/scrlfile.sty  
Package scrlfile, 2008/07/09 v3.00 KOMA-Script package (loading files)  
Copyright (C) Markus Kohm ))) (/usr/local/texlive/2008/texmf-dist/tex/ 
latex/koma-script/tocbasic.sty) (/usr/local/texlive/2008/texmf-dist/ 
tex/latex/koma-script/scrsize11pt.clo) (/usr/local/texlive/2008/texmf- 
dist/tex/latex/koma-script/typearea.sty Package typearea, 2009/01/24  
v3.02b KOMA-Script package (type area) Copyright (C) Frank Neukam,  
1992-1994 Copyright (C) Markus Kohm, 1994- )) (/usr/local/texlive/2008/ 
texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty (/usr/local/texlive/ 
2008/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/local/texlive/ 
2008/texmf-dist/tex/latex/xkeyval/xkeyval.sty (/usr/local/texlive/2008/ 
texmf-dist/tex/generic/xkeyval/xkeyval.tex)) (/usr/local/texlive/2008/ 
texmf-dist/tex/latex/ifplatform/ifplatform.sty) (/usr/local/texlive/ 
2008/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty (/usr/local/texlive/2008/ 
texmf-dist/tex/latex/graphics/graphicx.sty (/usr/local/texlive/2008/ 
texmf-dist/tex/latex/graphics/graphics.sty (/usr/local/texlive/2008/ 
texmf-dist/tex/latex/graphics/trig.sty) (/usr/local/texlive/2008/texmf/ 
tex/latex/config/graphics.cfg) (/usr/local/texlive/2008/texmf-dist/tex/ 
latex/graphics/dvips.def))))) (/usr/local/texlive/2008/texmf-dist/tex/ 
latex/pstricks/pstricks.sty (/usr/local/texlive/2008/texmf-dist/tex/ 
generic/pstricks/pstricks.tex `PSTricks' v1.27 <2009/01/25> (tvz) (/ 
usr/local/texlive/2008/texmf-dist/tex/generic/pstricks/pstricks.con))  
(/usr/local/texlive/2008/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/ 
local/texlive/2008/texmf/tex/latex/config/color.cfg))) No file  
autopst.aux. [1] (./autopst.aux) )

My path is : /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin  
and I put this
in  TM prefs > advanced > shell variable > PATH

perhaps you don't have /usr/texbin: in the shell variable (copy/paste  
you PATH)

kpsewhich is a tool to find packages in your tex distribution

Mundus:~ ego$ kpsewhich pstricks
/usr/local/texlive/2008/texmf-dist/tex/generic/pstricks/pstricks.tex
Mundus:~ ego$ kpsewhich pdftexconfig.tex
/usr/local/texlive/2008/texmf-config/tex/generic/config/pdftexconfig.tex

Regards

Alain Matthes




More information about the textmate mailing list