[OS X TeX] TexShop engines make me crazy

Matthieu Masquelet matthieu.masquelet at gmail.com
Sun Aug 6 22:44:57 CEST 2006


Hi all,

I'm trying to add a glossary to my thesis and I was thinking of using  
a personal engine to do the bibtex of the glossary (along the usual  
latex's and bibtex's) but I can't seem to make it work...

Here is my engine file:
#!/bin/tcsh

set path = ($path  /usr/local/bin  /usr/local/teTeX/bin/`uname -p`- 
apple-darwin-current /usr/local/teTeX/share/texmf.tetex/tex/latex/ 
graphics)

set fbName = `basename "$1" .tex`
set fbName2 = `basename "$1" .gls`

simpdftex latex --maxpfb ${fbName}

bibtex --shell-escape ${fbName}

bibtex --shell-escape ${fbName2}

simpdftex latex --maxpfb ${fbName}

simpdftex latex --maxpfb ${fbName}

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 !

Thanks in advance

Matthieu

Console output:


### This is /usr/local/teTeX/bin/powerpc-apple-darwin-current/ 
simpdftex, Version $Revision: 2.18 $
### /usr/local/teTeX/bin/powerpc-apple-darwin-current/latex  
MS_thesis_draft
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
entering extended mode
(./MS_thesis_draft.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german,  
ngerman, d
utch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded.
(./gatech-thesis.cls
Document Class: gatech-thesis 2003/04/14 1.6 (Charles Wilson)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/calc.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/report.cls
Document Class: report 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size11.clo))
(./gatech-thesis-patch.sty
gatech-thesis-patch loaded
)) (/usr/local/teTeX/share/texmf.tetex/tex/latex/subfigure/subfigure.sty
****************************************
* Local config file subfigure.cfg used *
****************************************
(/usr/local/teTeX/share/texmf.tetex/tex/latex/subfigure/subfigure.cfg))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/epsfig.sty
(/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))))
(/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.

) (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/latexsym.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/amssymb.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amstext.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsgen.sty))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsbsy.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsopn.sty))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/memoir/memhfixc.sty
No memoir class: memhfixc does nothing
) (/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}

No pages of output.
Transcript written on MS_thesis_draft.log.

------------------------- 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 macostex-archives mailing list