[Tex/LaTex] LyX does not recognise texlive directory on Mac

lyxlyx-layoutsmac

I installed my TeX Live through Macports. There is no problem if I compile my .tex with xelatex in a terminal. But LyX only "knows" the texlive basic packages with are located at /usr/local/texlive/2013basic/.

But the extra features of TeX Live are put separately by Macports into /opt/local/share/.

I added the latter into the "PATH" of LyX and reconfigured it again and again but still LyX never sees the extra packages.

I have no idea what's wrong with LyX on Mac!

Best Answer

Fortunately almost all Mac installation problems can be solved by installing the full MacTeX distribution. As far as I can tell there is never any reason to us a distribution such as MacPorts for TeX on the Mac, and doing so can lead to various other problems (as you have found out.)

For some related discussion see: