Mac Installation

From Wiki
Revision as of 09:50, 1 October 2013 by Schultzk (talk | contribs) (Starting update for installing TeXShop for use with ConteXt Standalone or multiple versions of ConText)
Jump to navigation Jump to search

< Installation | TeX Distributions >

Standalone ConTeXt

The "ConTeXt Suite" distribution is the recommended way to use ConTeXt on any OS. For a Mac tutorial see the mac section under ConTeXt Suite

MacTeX

A straightforward way to to install ConTeXt on Mac OS X is via the MacTeX distribution. The distribution includes TeXShop and TeXworks editors, TeX Live Utility for managing updates, and many other goodies. It is highly recommended to use at least MacTeX 2011.

TeXshop and TeXworks

Typically, both editors work out of the box "TeXLixe", but if you are using version earlier than those shipped with MacTeX 2011 (TeXShop 2.42) you need to configure engines for ConTeXt manually.

TeXshop

If you install "ConTeXt Suite" or want to use "TeXlive" in parallel "ConTeXt Suites" with you have to create a new engines for "TeXShop", so that you can run your versions of "ConTeXt" directly from within "TeXShop".

Go to : /Users/username/Library/TeXShop/Engines from within the Finder.

           If you can not find this folder then start "TeXShop", it will install it.  

Then, create a file with .engine as extension. Paste this in your new engine :

$ #!/bin/bash
$ export PATH=/Applications/ConText/tex/texmf-osx-64/bin:$PATH
$ export TEXMFCACHE=/Applications/ConText/tex/texmf-cache
$ context "$1"

Now, when you will open TeXShop, you can choose this new engine.

TeXworks

If you install ConTeXt in your Applications Folder, you have to create a new engine.

Go to your preferences inside TeXworks.

In Typesetting Menu, in Processing tools, add a new engine. In Name, type what you want. In Program : /Applications/ConText/tex/texmf-osx-64/bin/texmfstart In Arguments :

*texexec as the first argument
*$fullname as the second argument
*$synctexoption as the third argument.

Skim (PDF viewer)

Unless you are using TeXshop or TeXworks with built-in viewers, the recommended PDF viewer with SyncTeX support and auto-refresh on Mac OS X is Skim.

More Links