I am switching from using TextMate for all of my programing tasks. The last (and incredibly frustrating) hang-up I am having is getting it to compile my LaTeX documents. Whenever I add the command \includegraphics{filename.pdf} to a file it chokes even thought if I open the same LaTeX document with TeXShop it compiles perfectly. The output I get even when I am using verbose is not very helpful, even though I have been using LaTeX for 7 years or so.
I compile in TexShop with the Latex command and it appears from the log that it is accessing the "/usr/local/texlive/2009" directory. Further TeXShop is set with the following settings (I have also attached a screencap of these settings:
Path settings
(pdf)TeX (default: /usr/texbin) /usr/texbin
Distiller (ghostscript) (default: /usr/local/bin) /usr/local/bin
pdfTeX
Tex (default: pdftex) pdftex --shell-escape
Latex (default: pdflatex) pdflatex --shell-escape
TeX + dvips + distiller
Tex (default: simpdftex tex) simpdftex tex --maxpfb
Latex (default: simpdftex latex) simpdftex latex --maxpfb
I am guessing that Textmate must be calling a different version of latex that does not like to be fed .pdf files.
The PATH that Textmate recovered the first time I tried to compile a LaTeX document is:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin
Is there a way I can set Textmate to use the same engine that TexShop is using?
Thanks,
Robi
Did you check for spaces in path to your graphics file? I had a similar problem awhile back that was solved by renaming folders, or just moving the pdf to the same directory as the .tex document.
Kyle H. Ambert Fellow, National Library of Medicine Oregon Health & Science University
On Mar 9, 2010, at 1:12 PM, Robi Ragan wrote:
I am switching from using TextMate for all of my programing tasks. The last (and incredibly frustrating) hang-up I am having is getting it to compile my LaTeX documents. Whenever I add the command \includegraphics{filename.pdf} to a file it chokes even thought if I open the same LaTeX document with TeXShop it compiles perfectly. The output I get even when I am using verbose is not very helpful, even though I have been using LaTeX for 7 years or so.
I compile in TexShop with the Latex command and it appears from the log that it is accessing the "/usr/local/texlive/2009" directory. Further TeXShop is set with the following settings (I have also attached a screencap of these settings:
Path settings
(pdf)TeX (default: /usr/texbin) /usr/texbin
Distiller (ghostscript) (default: /usr/local/bin) /usr/local/bin
pdfTeX
Tex (default: pdftex) pdftex --shell-escape
Latex (default: pdflatex) pdflatex --shell-escape
TeX + dvips + distiller
Tex (default: simpdftex tex) simpdftex tex --maxpfb
Latex (default: simpdftex latex) simpdftex latex --maxpfb
I am guessing that Textmate must be calling a different version of latex that does not like to be fed .pdf files.
The PATH that Textmate recovered the first time I tried to compile a LaTeX document is:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin
Is there a way I can set Textmate to use the same engine that TexShop is using?
Thanks,
Robi <texshopSettigns.png> _______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
To set LaTeX preferences in TextMate, press ⌘⌥, or select the menu item “Bundles > LaTeX > Preferences…”
—Alex
On Mar 9, 2010, at 1:12 PM, Robi Ragan wrote:
I am switching from using TextMate for all of my programing tasks. The last (and incredibly frustrating) hang-up I am having is getting it to compile my LaTeX documents. Whenever I add the command \includegraphics{filename.pdf} to a file it chokes even thought if I open the same LaTeX document with TeXShop it compiles perfectly. The output I get even when I am using verbose is not very helpful, even though I have been using LaTeX for 7 years or so.
I compile in TexShop with the Latex command and it appears from the log that it is accessing the "/usr/local/texlive/2009" directory. Further TeXShop is set with the following settings (I have also attached a screencap of these settings:
Path settings
(pdf)TeX (default: /usr/texbin) /usr/texbin
Distiller (ghostscript) (default: /usr/local/bin) /usr/local/bin
pdfTeX
Tex (default: pdftex) pdftex --shell-escape
Latex (default: pdflatex) pdflatex --shell-escape
TeX + dvips + distiller
Tex (default: simpdftex tex) simpdftex tex --maxpfb
Latex (default: simpdftex latex) simpdftex latex --maxpfb
I am guessing that Textmate must be calling a different version of latex that does not like to be fed .pdf files.
The PATH that Textmate recovered the first time I tried to compile a LaTeX document is:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin
Is there a way I can set Textmate to use the same engine that TexShop is using?
Thanks,
Robi <texshopSettigns.png> _______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate