Hot answers tagged

118

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


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, ...


32

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 ...


29

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 ############################################...


24

You can't use tlmgr (or its front-end TeX Live Utility). There is a script called getnonfreefonts at http://www.tug.org/fonts/getnonfreefonts/ that you have to download with the Terminal command curl -O http://tug.org/fonts/getnonfreefonts/install-getnonfreefonts and then install with sudo texlua install-getnonfreefonts Then you can get direction on its ...


22

TUG maintain an archive of historic material, which includes TeX Live versions and MacTeX images. Thus you should be OK to get set up for anything over the past few years.


18

As an addition to Tobi's answer: After enabling Check for file changes, Skim will monitor file updates, but still ask you if you want to reload it (at least on the first change), which can still be a nuisance. It is possible to configure Skim to automatically reload without confirmation. To apply this, open a Terminal window and enter: defaults write -app ...


17

You need to download the UMBC themes, as described in Werner's response from April 17. The readme included with the UBMC themes is not very explicit: Unzip the archive You get a folder Beamer, rename it to UMBC In the menu choice Go, choose Go to Folder or ⌘ + Shift +G and type ~/Library If you have a folder named texmf, open it or if not create it. Inside ...


16

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 ...


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 log file so ...


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!


14

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 ...


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

You must tell Skim to check for changes … Go to the preferences [cmd] + [,] and then to “Sync” where you can activate “Check for file changes”. Furthermore you can use pdfsyncing to jump to the place edit the last edit. Normally Skim keeps the position of the PDF while reloading.


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

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 ...


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

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 ...


10

Depending on how the installation is performed, it may happen that the new system doesn't keep the necessary file in /etc/paths.d The solution is simple: restore the file in the correct position. From a Terminal window, issue the following two commands echo /usr/texbin > TeX sudo mv TeX /etc/paths.d (you will be asked to type your password; this must ...


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

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 ...


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

(Robin's answer moved from the question area) Here a short abstract of "Latexmk For TeXShop.pdf" by Herbert Schulz (herbs2@mac.com). Reading this and following the explained steps solved my problem. I don't own the right of this text! If you own the rights of this text and aren't ok with the citation contact me, so i can delete it. thx. 1 What is latexmk?...


9

Someone on the Ars Technica forums realized what was wrong. I will bet quite a bit of money that you used The Unarchiver to unzip the file that contained the .mpkg file. Apparently, something about the way it unzips introduced some sort of corruption. If you go back, and instead of using The Unarchiver, use Apple's own Archive Utility, then try the ...


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

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 ...


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