Hot answers tagged

132

It is possible to install MacTeX with homebrew using Homebrew Cask via $ brew tap caskroom/cask $ brew cask install mactex Since that basically downloads the MacTeX.pkg from ctan it should not be different from the usual manual installation. If you would like to install without the GUI, you can $ brew cask install mactex-no-gui [edit] Homebrew 2.2.6 Skip ...


44

Homebrew does not provide any version of LaTeX: $ brew search latex latex-mk latex2html latex2rtf pplatex rtf2latex2e If you meant `latex' precisely: Installing TeX from source is weird and gross, requires a lot of patches, and only builds 32-bit (and thus can't use Homebrew deps on Snow Leopard.) We recommend using a MacTeX distribution: ...


37

The new Mac OS comes with a feature named "rootless" that disallows modification of important system files, even by the root user. However, LaTeX installation requires access to the /usr/texbin folder, at least as an alias, and it is protected by Mac OS. There are two solutions: 1) Disable the rootless feature To disable the rootless feature at boot, ...


34

The simplest way to check and remove older versions of MacTeX is through the terminal. Open a terminal window and type: cd /usr/local/texlive ls If you have multiple years of TeX Live installed, you will see directories corresponding to each of the older years. For example, you may see: 2012 2013 texmf-local which would indicate that you have ...


34

Update: As noted by Dorian, brew cask is now smart enough to run the installer: $ brew cask install basictex ==> Downloading http://mirror.ctan.org/systems/mac/mactex/mactex-basictex-20180417.pkg ==> Downloading from http://ctan.math.washington.edu/tex-archive/systems/mac/mactex/mactex-basictex-20180417.pkg ############################################...


19

I just installed MacTeX with homebrew. brew install Caskroom/cask/mactex That provided me with /Application/TeX, containing TeXShop program and the utilities. However, I am missing the pdflatex tool from command line, and that also produces errors in the TeXShop program: After searching a little bit around, I found out that the missing utilities were ...


15

Whether the font is packaged as TTC or not is irrelevant to the issue here. Most (all?) Latin fonts shipped by Apple use AAT layout tables, not OpenType. Older versions of LuaTeX partially supported AAT rather accidentally; as egreg pointed out in his comment above, FontForge that is used as base for the LuaTeX font loader maps some AAT features to ...


15

this is due to the new permission settings on Mac OS X El Capitàn. Here you can find a way to configure everything properly. In that page (from which I copy), we find that Cause of the problem: MacTeX installs a symbolic link /usr/texbin pointing to the TeX binaries. GUI applications use this link to find the binaries. But in El Capitan, the location /usr ...


14

For some strange reasons, TeXMaker finds the path to pdflatex, but not the one to makeindex. The best solution is to specify the full path to makeindex in the corresponding slot of the 'Configure TeXMaker' -> 'Commands' dialog, by writing "/usr/texbin/makeindex" -s nomencl.ist -t %.nlg -o %.nls %.nlo -t %.nlg has been added to generate a .nlg ...


14

You can easily change the path for the TeX programs also with TeXShop and TeXworks; just make them point to /usr/local/texlive/2013/bin/x86_64-darwin; the drawback is that you need to change this at every installation. MacTeX does this for you by creating an infrastructure in /Library/TeX and making a symbolic link /usr/texbin that's managed by the installer ...


14

I just solved it. You just need to change the path of the files for the command according to the new organization in El Captain. I posted a screenshot. It works for me! Hope this helps!


13

TeX Live provides tlmgr to update, maintain and manage the installation. If you do not initially install a full TeX installation, you can use it to upgrade to a larger scheme or to install particular collections or packages. TeX Live package names will not generally correspond to those used by e.g. distros when packaging TL. So you need to do some detective ...


12

I had this issue, but none of the above solved it. Here is what worked: Diagnosing the Issue: I am on OSX 10.9.5 and installed BasicTex 2015 from here http://www.tug.org/mactex/morepackages.html I wanted fullpage.sty, but \usepackage{fullpage} was not working I checked my path using echo $PATH, and /Library/TeX/texbin was the only tex related entry, so ...


12

You don't need to write to Herb for a fix. Credit goes to Bruno Voisin for finding the solution to this. Some background is here: https://github.com/amaxwell/tlutility/issues/17#issuecomment-111517743 I think the simplest solution is here, requiring use of the Terminal: http://tug.org/pipermail/tex-live/2015-June/036927.html cd /tmp curl 'https://www....


11

Use \usepackage[showframe]{geometry} to see the margins configuration. Then you can set it up and increase the distance between the text area and the header (namely headsep). For example, \usepackage[showframe,headsep=1cm,headheight=2cm]{geometry}.


11

The problem was the PATH variable that Emacs uses (and passes on to shells it runs) is different from the users PATH variable. To customize Emacs' PATH one can use (setenv "PATH" "/usr/local/bin:/Library/TeX/texbin/:$PATH" t) With this change, AucTeX can call the command line programs again. See also this question. Update (Nov 2015): In AucTeX 11.88.9 ...


11

This is what I have done to configure my TexMaker and it has worked. I use Xetex for font and a variety of math tools. As far as I understand it is from Apple's side( the problem) and by adhering to the new OS rules of not to touch /usr we can make Tex maker run from different root


11

According to post by Dick Koch on the macosx-tex mailing list: This problem only concerns users who install Sierra on a new disk, rather than updating an existing system to Sierra. If these users install MacTeX-2016 or BasicTeX-2016, they will discover that they cannot typeset from the command line. To fix this problem, download FixLink from my web site: ...


10

To add cls package (like moderncv) in my OS distribution with texlive 2015, I just unzip package under /usr/local/texlive/2015basic/texmf-dist/tex/latex. Don't forget to run sudo texhash! Hope this help.


10

The TeX Distribution panel provides a simple GUI interface to what is essentially changing a symbolic link. You can change this link manually, by doing the following in the Terminal. (Information provided by Dick Koch. This is a temporary fix until the preference pane is updated.) cd /Library/TeX/Distributions/.DefaultTeX This folder will contain just ...


10

I found this; change all the folder directories accordingly and it will work for you. It did for me: Updated The previous screenshot has an error, in Makeglossaries, the /usr/texbin/, must be changed to /Library/Tex/texbin/, so that it properly works. This is how your configuration for OS X 10.11 should look:


9

(CW from comments) TeXworks is a multiplatform front-end to TeX/LaTeX; its current version is not able to print PDF files on any of the supported platforms. Whether the situation will change in the future is not known, but the issue doesn't seem to be high priority in the developer's intentions. Since TeXworks is largely inspired by TeXShop, on Mac OS X ...


9

I have had the same problem. In my case there was an error in my TikZ code (forgotten semicolon), which made the compiler run indefinitely. When you hit "ESC" in sublime, the compiling process does NOT get stopped, Sublime only hides the little window on the bottom. To actually cancel the compilation progress out of sublime you have to hit CMB+B again. The ...


9

I had the same problem after installing El Capitan. Did you test if you are able to use pdflatex running from the terminal? In my case it worked. After knowing that I used which pdflatex to see where the pdflatex is, andthe result was /Library/TeX/texbin/pdflatex. Then I went to this directory, and I noticed that most of its content (including the pdflatex)...


9

I had the same problem and it took me a while until I realized it was TeXShop causing all the trouble. Like you already mentioned, you need a reference to pygmentize within /Library/TeX/texbin, but it's sufficient to create a symlink instead of a copy: sudo ln -s "$(which pygmentize)" /Library/TeX/texbin/pygmentize


9

For most purposes, MacTeX is the Mac distribution of TeX Live. As with all other platforms, groups of volunteers compile new binaries for TeX Live every year, and the MacTeX group is responsible for compiling the binaries for the Mac. They also choose to distribute some other useful GUI program along with the TeX Live distribution including TeX Live ...


9

Although the TeX Live/MiKTeX package corresponding to the NewTX fonts is called newtx, this is of no consequence on how you have to load the LaTeX package. The unfortunate circumstance that we use the term ‘package’ with two different meanings sometimes leads to confusion. They're two distinct planes: TeX Live/MiKTeX package provide infrastructure that can ...


8

Shortly after posting this question I found out that a symbolic link is not the same as an alias and tried using a symbolic link. I've made a symbolic link in ~/Latex/images to the file in ~/Matlab by using SymbolicLinker (I'm not affiliated in any way). A symbolic link can also be made in Terminal as follows (file/folder names as given in the example): cd ~...


8

The location of the "private tree" is normally, with MacTeX, ~/Library/texmf to which the (pseudo)variable TEXMFHOME points: > kpsewhich --var-value TEXMFHOME /Users/<user>/Library/texmf (I only masked my real user name on this machine). If you try > less $(kpsewhich texmf.cnf) you'll get on your screen something like % (Public domain.) % ...


8

Update3: keep the MacTeX automatically updated sudo su tlmgr update --self --all Update 2: removing the cache of biber solved the reoccurring problem The biber problem reoccurred and egreg directed to the solution Biblatex/biber fails with a strange error about missing recode_data.xml file so rm -rf `biber --cache` Update 1: updating MacTex solved the ...


Only top voted, non community-wiki answers of a minimum length are eligible