Scrivener 3 does not find LaTex on MacOS

Hi,

I just upgraded Mac OS to High Sierra and MacTeX / TeXLive from 2016 to 2017. Afterwards, I wanted to set up Scrivener 3 to use MMD and LaTex to create PDF output. However, I could not get it to work and was not able to find any hints …

I am wondering …

  1. Where does Scrivener 3 expect LaTeX to reside?
  2. Is there a way to tell Scrivener 3 where to look for LaTeX?
  3. Am I missing something?

Any help is greatly appreciated.
Thanks,
Matthias

Further Information:

When I try to Compile the Tutorial with “MultiMarkdown → PDF” a window called “ErrorLog” opens and displays the following messages:

stat(/Library/usr) failed ...
/Library/usr: No such file or directory
Assertion failed: (ret), function remove_dots, file ../../../texk/kpathsea/progname.c, line 316.

Right aftert that a dialog opens giving the following message:

TeXLive is installed in /usr/local/texlive/2017/ ; there is a directory structure under /Library/TeX which symlinks there.

snoopy:~ mp$ [b]uname -a[/b]
Darwin snoopy 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov  9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64
snoopy:~ mp$ which pdflatex
/usr/local/texlive/2017/bin/x86_64-darwin/pdflatex
snoopy:~ mp$ ls -l /Library/TeX/texbin/
lrwxr-xr-x  1 root  wheel  39 28 Okt  2014 /Library/TeX/texbin/ -> ../.DefaultTeX/Contents/Programs/texbin
snoopy:~ mp$ cd /Library/TeX/texbin/
snoopy:texbin mp$ pwd -P
/usr/local/texlive/2017/bin/x86_64-darwin

Although the error message does seem to indicate difficulty finding LaTeX, I don’t think that’s the problem. Scrivener actually removes the PDF option entirely from the compile list if it cannot find LaTeX. It does report any error messages other scripts might generate, so more likely that’s coming from something else.

Were you having difficulties before updating to TeXLive 2017, or is all of this new? I’m not having any problems with 2016, using the built-in copy of MMD that Scrivener uses.

Thank you for the quick response - it did point me in the right direction!

I checked the TexLive Installation one more time and there were some “left-overs” from previous installations (2012, 2013, 2014, 2015). I removed all of the TeXLive-related stuff completely and did a fresh install. Afterwards everything worked fine …

Thanks!
Matthias

Good to know! I might have to do likewise when I finally get around to upgrading, as I checked and have back to 2014 installed.