<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Graphs, Networks, and Communities in Flux &#187; emacs</title>
	<atom:link href="http://netflux.wordpress.com/tag/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://netflux.wordpress.com</link>
	<description>research blog on complex social systems analysis and modelling</description>
	<lastBuildDate>Mon, 08 Aug 2011 22:33:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='netflux.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/89baf7dafc46970b38f891009c2bb51b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Graphs, Networks, and Communities in Flux &#187; emacs</title>
		<link>http://netflux.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://netflux.wordpress.com/osd.xml" title="Graphs, Networks, and Communities in Flux" />
	<atom:link rel='hub' href='http://netflux.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Setting-up LaTeX Environment on Mac OS X</title>
		<link>http://netflux.wordpress.com/2011/01/23/setting-up-latex-environment-mac-os-x/</link>
		<comments>http://netflux.wordpress.com/2011/01/23/setting-up-latex-environment-mac-os-x/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 23:36:55 +0000</pubDate>
		<dc:creator>belakv</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[aquamacs]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[skim]]></category>

		<guid isPermaLink="false">http://netflux.wordpress.com/?p=121</guid>
		<description><![CDATA[I recently switched from Linux to Mac OS X and one of the first things I needed to set up was LaTeX environment. This post describes how to set-up fully working LaTeX environment on Mac OS (i.e. editor, PDF viewer, and LaTeX distribution). It is not a complete howto, but rather just a description of individual pieces and why I chose them and not something else.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netflux.wordpress.com&#038;blog=16329038&#038;post=121&#038;subd=netflux&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I recently switched from Linux to Mac OS X and one of the first things I needed to set up was LaTeX environment. In Ubuntu, I used to use gEdit with its LaTeX plugin, TeX Live distribution and Gnome PDF viewer, so the minimal requirements for my new environment were:</p>
<ul>
<li>syntax highlighting</li>
<li>intelligent (i.e. ignoring LaTeX commands) spell-checking</li>
<li>code completion and snippets</li>
<li>integrated build system (i.e. building a PDF by a keyboard shortcut)</li>
<li>PDF viewer auto-reloading the file after each recompile</li>
<li>free</li>
</ul>
<p>First thing I installed was a distribution of TeX Live for Mac — <a href="http://www.tug.org/mactex/">MacTeX</a>. The installation was pretty straightforward so there&#8217;s no point to elaborate about it. This distribution directly contains editor called <a href="http://pages.uoregon.edu/koch/texshop/">TeXShop</a>. I cannot say that I don&#8217;t like it but it is rather simple, so the next one I tried was <a href="http://www.xm1math.net/texmaker/">TeXMaker</a>, which I had already tried couple of years ago and hadn&#8217;t used because of (for me) unintuitive user interface. I had hoped the new version is better. It is in terms of user friendliness <em>but</em> the document preview (compilation and opening of a PDF file) is unbelievably slow. Then I started to think about buying some editor, because it seemed there&#8217;s no good free one. So I tried <a href="http://tacosw.com/latexian/">Latexian</a>. I opened a file which compiled in TeXMaker in it and it didn&#8217;t get compiled. Another unusable editor. Finally, I overcome my many-years long resistance to Emacs (I had always been a Vim user:-)) and installed <a href="http://aquamacs.org/">Aquamacs</a>.</p>
<p>After opening the first TeX file (a Beamer presentation), I was really impressed by the quality of syntax highlighting. For instance, sections have larger fonts, italics is really italics, bold is really bold. Auto-indentation and document re/formatting also works pretty well. Aquamacs is nice because it supports modern keyboard shortcuts, so you don&#8217;t have to press ctrl+foo, ctrl+foo, ctrl+bar, ctrl+foo to open a file:-). Instead, cmd+o, as it is usual on Mac, works. Aquamacs comes with Emacs package for LaTeX editing — <a href="http://www.gnu.org/software/auctex/">AUCTeX</a>. It very powerful and besides aforementioned code formatting, highlighting and compiling it also supports various macros for insertion of code snippets and in-line preview of figures, e.g. <a href="http://www.gnu.org/software/auctex/img/preview-screenshot.png">mathematical formulae</a>. This feature is indeed very useful, but unfortunately it doesn&#8217;t work for me, so if you know how to fix it, I would be really grateful for any hint. The last thing I needed to change was a PDF viewer as the standard Preview doesn&#8217;t really work very well with files which are being recompiled (it crashes from time to time and it takes it long time to reload the file). I tried classic Acrobat Reader but it doesn&#8217;t work either. What really works very smoothly is <a href="http://skim-app.sourceforge.net/">Skim</a>. Aquamacs provides a very good integration with this PDF viewer. The only two things I had to change was in Finder I had to change the association of PDF files to be opened in Skim by default and then in Skim&#8217;s preferences in <em>Sync</em> section I ticked <em>Check for file changes</em> and then I chose <em>Aquamacs</em> as a <em>Preset</em>. If you then include package <em>preview</em> in your document and recompile, you can then directly jump from the point where your cursor in Aquamacs is to the place in the compiled PDF by choosing menu <em>Command-&gt;Jump to PDF</em>. It works even the other way around! In Skim, try to press <em>cmd</em>+<em>shift</em>+<em>left mouse click</em> on any place and you will jump directly into the source!</p>
<p>With this combination, I have even better working environment than gEdit + Gnome PDF viewer, even though this combination was really good as well. The Aquamacs+Skim is better as it provides PDF Sync (jumping from/to source/PDF) and Skim provides higher quality of fonts (but this is probably rather a feature of Mac than solely Skim).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netflux.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netflux.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netflux.wordpress.com&#038;blog=16329038&#038;post=121&#038;subd=netflux&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netflux.wordpress.com/2011/01/23/setting-up-latex-environment-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>53.273797 -9.051780</georss:point>
		<geo:lat>53.273797</geo:lat>
		<geo:long>-9.051780</geo:long>
		<media:content url="http://1.gravatar.com/avatar/dee16c67c0e0f6d191781a486da00669?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">belakv</media:title>
		</media:content>
	</item>
	</channel>
</rss>
