The -c xelatex was required because my document was a XeLaTeX document. For me, I ran the following command in the folder containing Resume.tex: The first time you try to compile a document, your installation will probably have to download some packages. It’s a WYSIWYG LaTeX editor, which lets you code as little or as much as you like as you learn the ropes. If you’re new to LaTeX, consider using LyX. There are other options out there as well. It may not ask you until the second launch.įor a dedicated *TeX editor, I use TeX Shop. If the Utility asks you if you’d like to update automatically, you’ll probably want to say yes. Open TeX Live Utility, and update all packages: ⇧⌘U First, get the TeX Live Utility for a GUI package manager. Now we’ll leave the command line for a bit. This is the utility that automatically grabs packages for us. (Note: Anything using tlmgr will probably require sudo.) Update the TeX Live Package Manager tlmgr. Now let’s make things a little more user-friendly and modern. Also, if this step fails, you can open up ~/.bash_profile and add the path manually.):Įcho "export PATH="/usr/local/texlive/2016basic/bin/x86_64-darwin:$PATH" > ~/.bash_profile In the command line, type the following (Note that your path might not be the same, for example, if you have different hardware. This lets Homebrew install MacOS apps.ĭelightfully, however, the installer doesn’t tell your system where it installed things. Get Homebrew if you don’t have it already. All work is done in the terminal, unless noted otherwise. These steps start with the minimal BasicTeX installation as well as several GUI applications, and then automatically adds packages as you need them. Why isn’t this a built-in feature, or at least well-publicized? Who knows. It turns out there’s a package we can install that’ll take care of dependencies for us. You will be appalled by how many packages your little document requires. BasicTeX, which is about 100 megabytes and contains so few packages that you’ll be manually installing every package as needed, one at a time.I’m currently trying to compile my resume, and I’d rather not let my TeX installation sequester 3% of my SSD to produce a single PDF. As impressive as that is, that’s roughly 3-4 gigabytes split among over 100k files on your disk. Install MacTeX which will include every package, and work.How nice! On MacOS, however, your options are to either accept bloat or tedious, tedious pain. If you’re on Windows, you can simply use MiKTeX, and any dependencies will be automatically downloaded as you need them. At the time of this article, there are 5,178 packages available for download depending on the functionality you want. That being said, LaTeX (and its parent, TeX) is a relic of times past. (If you’re still using Microsoft Word to do formulas, please stop.) It’s used in the first sentence in this paragraph to display the logo, and it is probably what was used to write any research paper that you have run across containing a formula. But just in case you’re not quite sure, LaTeX is the industry and academy standard for typesetting technical documents. If you’re here, you probably know what \(\LaTeX\) is. Installing (La)TeX on Mac, the Sane Way Aug 21, 2016
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |