= Building Cocotron for use with CCL = First, install Xcode on a Macintosh. Next, install the Cocotron tools. Follow the directions found at http://www.cocotron.org/Tools/InstallCDT. With the tools installed, you are ready to build the Cocotron sources. You will need to install Mercurial. Check out the source code with {{{ hg clone http://cocotron.googlecode.com/hg/ cocotron }}} Next, apply the patch from $REPO/trunk/aux/cocotron/win32/cocotron/cocotron-r59942ee67d15.patch (This patch contains some changes to NSDocument.m and NSApplication.m.) Something like this will probably work: {{{ $ cd cocotron/AppKit $ patch -p2