[OS X TeX] doc no longer compiling

Herbert Schulz herbs at wideopenwest.com
Mon May 5 22:27:18 EDT 2014


On May 5, 2014, at 5:24 PM, Walschap, Gerard <gerard at ou.edu> wrote:

> 
>> 
>> 
>> On May 4, 2014, at 6:26 PM, Gerard Walschap <gerard at ou.edu> wrote:
>> 
>>> A document that I've been working on for years is all of a sudden no longer typesetting, and I just can't see what's wrong. When I opened TeXShop today, I was asked if I wanted to upgrade to 3.35 and I said yes (this is another machine than the one involved in a post several days ago). I then opened the root file for the document, and after typesetting got the following error:
>>> 
>>> Running 'pdflatex --shell-escape --synctex=1 --file-line-error  -recorder  "diffgeom.tex"'
>>> ------------
>>> Latexmk: applying rule 'pdflatex'...
>>> sh: pdflatex: command not found
>>> Latexmk: fls file doesn't appear to have been made
>>> Latexmk: Index file 'diffgeom.idx' was written
>>> Latexmk: Found input bbl file 'diffgeom.bbl'
>>> Latexmk: Log file says output to 'diffgeom.pdf'
>>> sh: kpsewhich: command not found
>>> sh: kpsewhich: command not found
>>> Latexmk: Failed to find one or more bibliography files 
>>> diffgeo.bib
>>> Collected error summary (may duplicate other messages):
>>> pdflatex: Command for 'pdflatex' gave return code 32512
>>> Latexmk: Use the -f option to force complete processing,
>>> unless error was exceeding maximum runs of latex/pdflatex.
>>> Latexmk: Errors, so I did not complete making targets
>>> 
>>> I should point out that the first line in the root file is "% !TEX TS-program = pdflatexmk". Anybody have a clue as to what's going on?
>>> 
>>> 	-Gerard
>> 
>> Howdy,
>> 
>> I doubt that it has anything to do with the update of TeXShop. The second line seems to be where your problem comes from:
>> 
>> sh: pdflatex: command not found
>> 
>> but let's look at other things first.
>> 
>> What version of the OS are you using? What version of TeXShop did you have before the update? Did you recently update the OS? What happens if you change that first line to use pdflatex rather than pdflatexmk? What version of MacTeX/TeX Live are you using?
>> 
>> Given that information we can start to analyze your problem.
>> 
>> Good Luck,
>> 
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>> 
>> 
>> 
>> 
> 
> 
> 	Hi Herb,
> 
> 	Yeah, sorry, I wasn’t sure what info to include in the original message. As it happens, I did upgrade from OS 10.8 to 10.9 right before firing up TeXShop. Am using TeXLive 2013. I’m not sure why, but I think the problem was fixed after I went to my TeX folder in Applications and opened a file named FixMacTeX2013.pkg. At least, it’s typesetting again.
> 
> 	Is there anything else I should have done?
> 
> 	Thanks,
> 
> 	-Gerard
> 

Howdy,

That would have been the first thing I would have suggested doing! Glad it worked!

Apple's major updates don't always play nicely with symbolic links and /usr/texbin is really a symbolic link that ends up pointing to the binaries of the active TeX distribution (controlled by the TeX Distribution Preference Pane in System Preferences --- but broken under Mavericks [hopefully fixed for MacTeX 2014]). The FixMacTeX2013.pkg fixes many of the problems we've seen folks have when updating major OS versions, etc. It's not perfect but it solves several problems that can crop up.

We've still had to do some deep analysis with some problems so it's nice to see that yours was fixed by installing FixMacTeX2013.pkg.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)





More information about the MacOSX-TeX mailing list