[OS X TeX] TexShop engines make me crazy

Morten Høgholm morten.hoegholm at gmail.com
Sun Aug 6 17:10:36 EDT 2006


On Sun, 06 Aug 2006 22:44:57 +0200, Matthieu Masquelet  
<matthieu.masquelet at gmail.com> wrote:

> Note that the last part of the path is there to try to fix the  
> problem... In fact, it says (see belox) that texshop cannot find the  
> pdftex.def to do the eps/pdf conversion whereas this works like a charm  
> when I just typeset the basic "Latex" in TexShop... I know my teTex  
> install is not perfect (things should be in texmf.local instead of  
> texmf.tetex as I understood but I have no idea why it is like this). Any  
> help would be greatly appreciated !

TeXShop usually calls pdfLaTeX when you press LaTeX. Look for the  
checkmark near the bottom of the Typeset menu.

> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/epsfig.sty

Here you load the long obsolete epsfig package.

> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.cfg)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/dvips.def))))

The dvips driver is loaded.

> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/lscape.sty)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/oberdiek/epstopdf.sty
>
> Package epstopdf Warning: Graphics driver file `pdftex.def' not loaded.

epstopdf correctly discovers that you have not loaded the pdftex graphics  
driver and so will probably not work.

> ) (/usr/local/teTeX/share/texmf.local/tex/latex/pdfsync.sty)
> (./gatech-thesis-gloss.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/gloss/gloss.sty))
> (./MS_thesis_draft.aux)
> ! pdfTeX error (\pdfsavepos): used while \pdfoutput is not set.
> \@PDFSYNC ->\relax \ifPDFSYNCOK \pdfsavepos
>                                              \immediate \write \PDFPOS  
> {l\spa...
> l.79 \begin{preliminary}

You are running regular LaTeX on the file but request pdf-only packages  
such as epstopdf and pdfsync. Load the ifpdf package and then load these  
packages conditionally as

\usepackage{ifpdf}
\ifpdf
   \usepackage{epstopdf}
   \usepackage{pdfsync}
\fi


Cheers,
-- 
Morten
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list