El Capitan導入後にしたこと. Homebrewのメンテナンス $ brew doctor を実行し,出てくる指示に従って,お掃除をした。 mactexの設定修正; いつもお世話になっている奥村先生のサイト情報にしたがって,以下を実行した。. For animals common and rare, quarantine has been in place for more than a century, including a recent drove of seven miniature donkeys. When riding through the West aboard Amtrak, you'll understand why optimism and opportunity are so much a part of the American spirit. Whether you're taking your own epic trip from the Great Plains through the Rocky Mountains to the Pacific coastline or exploring all California train routes, you'll have a ringside seat to some of the most spectacular sights in this country.
NavigationLaTeX (typically pronounced lay-TEK or lah-TEK) is the gold standard for mathematical typesetting. If you've ever tried to format an equation in Microsoft Word (or any other WYSIWYG word processor), you know how incredibly painful it is. You might have wondered how math professors maintain their sanity when writing handouts, quizzes, tests, and research papers loaded with symbols. Our secret? We don't touch Microsoft Word for these tasks. LaTeX is a document processing system and markup language that makes creating beautifully formatted documents a breeze. Well, it's a breeze 99% of the time once you've gotten over the learning curve. Many Math 301 classes introduce our majors and minors to LaTeX, but here are some resources in case you didn't get started with LaTeX there or just need a refresher. All the software you'll ever need to make documents in LaTeX is 100% free, which is great news!
Microsoft Windows Users
You need MikTeX. This, fortunately, is a reasonable file size to download. Go to the MikTeX download page, download the current version of the basic MikTeX installer and run the file you download. (There's a tutorial near the top of that page if you need assistance.) MikTeX comes with an editor called TeXWorks. Download a template file from below and open it in TeXWorks, and click the appropriate button to typeset your file.
MacOS Users
You need MacTeX. This is a huge download (~2.4 GB), unfortunately. Get it from the TeX Users Group page. (You want to download MacTeX.pkg. Don't try to save time with the 'Smaller Download'.) If you're a BitTorrent user, you might try the BitTorrent file as a faster/more reliable way to download. Once you've downloaded it, double click on MacTeX.pkg to install MacTeX and a bunch of associated utilities. Download a template file from below and open it with TeXShop. (If you're lucky, double-clicking on hw-template.tex will open TeXShop. If not, you can find TeX shop in the TeX folder inside your Applications folder.) Typeset hw-template.tex by clicking the big 'Typeset' button at the top left. (Make sure that 'LaTeX' is selected in the drop down. Otherwise, chaos may ensue.)
Issues with El Capitan (OS X 10.11)
Mac OS X 10.11 (El Capitan) made some changes to where the MacTeX bundle is allowed to write files. This can cause issues. See below for some troubleshooting tips, and if you get stuck you can ask a math professor. Profs. Bush and Keller have both debugged some of these issues.
- Existing installations: If you had previously installed LaTeX and then upgraded to El Capitan and suddenly your TeXShop complains about not being able to compile, the first thing you should do is go to the TeXShop menu and check for updates. For many users, you'll find there's an update to install and that will fix your problem. If that doesn't solve things, try downloading and installing MacTeX again and then have TeXShop update itself (again…reinstalling MacTeX will replace TeXShop).
- New installations: If you've never installed LaTeX before, the first thing you'll want to do after launching TeXShop is to go to the TeXShop menu and check for updates. Once you update TeXShop, it should work fine.
- All installations: If you want to use the other programs that come with MacTeX (LaTeX-it and BibDesk in particular), there are some manual settings changes required. (You might try checking for updates in those applications before digging into the manual settings. The developers are working on updates that will make the fix seamless.)
Editing LaTeX Online
if you're not sure that you want to install software on your own computer, you might try out some free online sites for editing and compiling LaTeX documents. These sites can be particularly useful if you're editing a document collaboratively or want to share something with a professor to see why a file won't compile.
Template Files
- LaTeX Primer (.tex file) and accompanying graphic (PDF file to save to same folder as .tex file) first developed by Prof. Humke and updated by other faculty.
Useful Links
- DeTeXify: Draw a symbol with your cursor and it will find you the LaTeX code to typeset the symbol.
- Quick LaTeX guide from Prof. Dana C. Ernst of Northern Arizona University
For a couple of years now, TeXstudio is my favorite IWE (Integrated Writing Environment) for LaTeX. Last year, I switched from Windows to OS X, but I didn’t take my LaTeX environment with me. 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. Unfortunately, this was not an easy task. And here’s why:
Installing MacTeX and TeXstudio
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. (There’s also a way smaller distribution called BasicTeX, whose package is only 109 megabytes in size. However, I haven’t tested this distribution in combination with TeXstudio.)
Okay, installing a package is easy so far. But after you have installed MacTeX and TeXstudio, you will find that TeXstudio reports that it’s not able to find a LaTeX distribution. Huh, why is that?
Keep Out, Super User!
“Don’t touch my system folders” — El Capitan
Mactex El Capitan 10
El Capitan’s all-new System Integrity Protection disallows modifying system folders such as /usr or /sbin even if you are granted super user rights. Those system folders can be modified with system rights only – for a good reason.
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.
TeXstudio looks for a tex distribution in the /usr/texbin folder only, and obviously won’t find it there. Therefore, you have to remap all commands usally found in /usr/texbin to the new location in /Library/TeX/texbin:
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. This fixes the paths to the TeX distribution in Library.
Note: You can also perform those steps on versions of OS X prior to El Capitan. In this case your TeX environment will continue to work after upgrading to El Capitan.
Configuring TeXstudio for Git
Git is one of the most advanced version control systems around. However, TeXstudio only includes support for the older and less powerful Subversion (SVN). At the time of this writing, the feature request regarding Git support is more than four years old. But thanks to Git’s support for aliases, you can map SVN’s commit command ci to Git’s commit command (source):
git config --global alias.ci 'commit'
Mactex El Capitan 3
Finally, you have to set git as the command for SVN and SVNADMIN. Now you can enable automated commits to keep intermediate results of your progress.
If you have another IWE or use other tools that don’t find your MacTeX installation, make sure to check out this guide by Herbert Schultz about upgrading your TeX environment to El Capitan.
Et voilà! Your TeX environment on El Captian is up and running.