[TxMt] Re: LaTeX Setup: Problems switching from TexShop to Textmate

Robi Ragan robi.ragan at gmail.com
Wed Mar 10 14:33:42 UTC 2010


Thanks for the suggestions but that did not fix the problem. I have
determined that the error that is causing the problem is:

Latex Error: ./texfile.tex:22 LaTeX Error: Cannot determine size of
graphic in image.pdf (no BoundingBox).

But there should be no problem with bounding boxes because it is a pdf
file. And again this file compiles perfectly in TeXShop. This makes me
think TextMate is still somehow using a different method for compiling
the file.

After examining the log files produced by each method I find that they
are handling the graphics in different ways and that is likely what is
leading to the bounding box errors.

TeXShop calls:
------
Package graphics Info: Driver file: pdftex.def on input line 91.

(/usr/local/texlive/2009/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2009/08/25 v0.04m Graphics/color for pdfTeX
\Gread at gobject=\count87
))
-----

While the method used by Textmate calls:

------
Package graphics Info: Driver file: dvips.def on input line 91.

(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
------

So how do I get textmate to use the same graphics process as TeXXhop.
I assume this is some sort of option I need to set in the preferences.
Anyone know what it would be and how to set it?

On Tue, Mar 9, 2010 at 9:40 PM, Alex Ross <z-textmate at lasersox.net> wrote:
> On Mar 9, 2010, at 5:36 PM, Robi Ragan wrote:
>
>>> To set LaTeX preferences in TextMate, press ⌘⌥, or select the menu item “Bundles > LaTeX > Preferences…”
>>> —Alex
>>
>> Oh how I know it. I have read all the documentation and I cannot find
>> anything that tells me exactly what to put in these preferences. In
>> order to get Textmate to use the same engine that my TeXShop is using.
>>
>> Anyone else have any ideas??
>
> You want “Default Engine: pdflatex” and “Options: --shell-escape”.
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>



More information about the textmate mailing list