Git is one of the most advanced version control systems around. In this case your TeX environment will continue to work after upgrading to El Capitan. Note: You can also perform those steps on versions of OS X prior to El Capitan. This fixes the paths to the TeX distribution in Library. If you installed MacTeX and experience problems with the GUI or command line tools (or both) because of missing paths or binary files, make sure you execute the Setup-2015.pkg package in the TeX folder in Applications. Metapost "/Library/TeX/texbin/mpost" -interaction nonstopmodeĪsymptote "/Library/TeX/texbin/asy" %.asy PdfLaTeX "/Library/TeX/texbin/pdflatex" -synctex=1 -interaction=nonstopmode %.texĭvipdf "/Library/TeX/texbin/dvipdfm" %.dviĭvipng "/Library/TeX/texbin/dvipng" -T tight -D 120 %.dvi MakeIndex "/Library/TeX/texbin/makeindex" %.idxīiBTeX "/Library/TeX/texbin/bibtex" %.aux Therefore, you have to remap all commands usally found in /usr/texbin to the new location in /Library/TeX/texbin: latex "/Library/TeX/texbin/latex" -synctex=1 -interaction=nonstopmode %.texĭvips "/Library/TeX/texbin/dvips" -o %.ps %.dvi TeXstudio looks for a tex distribution in the /usr/texbin folder only, and obviously won’t find it there. Hence, El Capitan doesn’t only prevent you from installing (linking) the binaries of MacTeX to the very common location of TeX distributions in /usr/texbin, it even breaks your existing installations of MacTeX if you upgrade from Yosemite or earlier versions of OS X to El Capitan. Those system folders can be modified with system rights only – for a good reason. “Don’t touch my system folders” - El CapitanĮl Capitan’s all-new System Integrity Protection disallows modifying system folders such as /usr or /sbin even if you are granted super user rights. But after you have installed MacTeX and TeXstudio, you will find that TeXstudio reports that it’s not able to find a LaTeX distribution. Okay, installing a package is easy so far. However, I haven’t tested this distribution in combination with TeXstudio.) (There’s also a way smaller distribution called BasicTeX, whose package is only 109 megabytes in size. The most common TeX distribution on Mac is MacTeX, and this distribution is incredibly huge: MacTeX’s installation package is about 2.3 gigabytes in size. The distribution contains all important TeX binaries, Ghostscript and some GUI tools for managing packets or modifying global TeX settings. And here’s why: Installing MacTeX and TeXstudio Unfortunately, this was not an easy task. Since I’m going to need LaTeX more often in the next time, I finally set it up on OS X 10.11 El Capitan. Last year, I switched from Windows to OS X, but I didn’t take my LaTeX environment with me. This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021) (preloaded format=pdflatex 2021.11.For a couple of years now, TeXstudio is my favorite IWE (Integrated Writing Environment) for LaTeX. In either of the applications, the first line of the Log File should show you which version of TeXLive you are running. Next to LaTeX, PdfLaTeX,XeLaTeX,LuaLaTeX, DviPs, DviPng, Ps2Pdf, BibTeX, BibTeX 8-Bit, Biber, texindy, Makeglossaries, Metapost, Makeindex, Asymptote, Latexmk, prepend "/usr/ias/texlive/20YY/bin/x86_64-linux" TeXstudio Go to Options > Configure TeXstudio Where 20YY is the version of TeXLive you are running. Next to LaTeX, PdfLaTeX,XeLaTeX,LuaLaTeX, Bib(la)tex, Makeindex, dvips, Dvipdfm, ps2pdf, metapost, Asymptote, prepend "/usr/ias/texlive/20YY/bin/x86_64-linux" Texmaker Go to Options > Configure Texmaker
0 Comments
Leave a Reply. |