<?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/"
	>

<channel>
	<title>Apolitically Incorrect</title>
	<atom:link href="http://www.oak-tree.us/blog/index.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.oak-tree.us/blog</link>
	<description>The Rants and Raves of an Unsettled Mind</description>
	<lastBuildDate>Thu, 27 May 2010 13:36:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Moving to blog.oak-tree.us</title>
		<link>http://www.oak-tree.us/blog/index.php/2010/04/15/moving-hosts</link>
		<comments>http://www.oak-tree.us/blog/index.php/2010/04/15/moving-hosts#comments</comments>
		<pubDate>Fri, 16 Apr 2010 02:25:09 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1419</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Moving+to+blog.oak-tree.us&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Featured&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-04-15&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/04/15/moving-hosts&amp;rft.language=English"></span>
When I first started this blog, I thought it would be an experiment.  I was exploring WordPress as a platform and wanted to know how customizable it was.  I wanted to know if it could grow and expand with my interests.  I wanted it to be a place where I could post pictures and maybe [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/04/15/moving-hosts">Moving to blog.oak-tree.us</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Moving+to+blog.oak-tree.us&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Featured&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-04-15&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/04/15/moving-hosts&amp;rft.language=English"></span>
<p>When I first started this blog, I thought it would be an experiment.  I was exploring WordPress as a platform and wanted to know how customizable it was.  I wanted to know if it could grow and expand with my interests.  I wanted it to be a place where I could post pictures and maybe experiment with podcasts and other internet stuff.</p>
<p>What I did not intend, however, was for it to become a full-fledged website.  It was supposed to be a side project, and I figured that I would eventually tire of it and move on.  That&#8217;s why it was set up at oak-tree.us/blog rather than oak-tree.us.  Oak-Tree.us was always meant to be something special. (Just to save you the trouble, there&#8217;s still nothing there.  I have yet to find the &#8220;something&#8221;.)</p>
<p>Over the past two years, oak-tree.us/blog has become quite a bit more than an experiment.  For a little hobby website, it gets a respectable amount of traffic (sometimes as many as 1,000 hits in a single day) and I think it&#8217;s time that it have it&#8217;s own respectable domain.  For that reason, I am moving the website from the current address (http://www.oak-tree.us/blog) to something relatively unique.  (For me, this almost counts as living dangerously.)</p>
<p>From here on out, the site&#8217;s address will be:</p>
<blockquote><p><a href="http://blog.oak-tree.us">http://blog.oak-tree.us</a></p></blockquote>
<p>The good news, however, is that is where the changes end.  I only have so much tolerance for change, and a different Url is about all I can handle.  Everything else will remain the same.  All of the content, comments and files have been migrated.  I&#8217;m even using the same WordPress theme.  The only thing that&#8217;s different is the Url.  Thus, please update your bookmarks and feedreaders and I hope to you over on the new site!</p>
<p>(Just so people and various search robots don&#8217;t become confused, I&#8217;ll keep a copy of the old stuff here.  The archives will still work, and the file links will still be active; but comments are closed and the site will be unmaintained.  For updates, releases of Time Drive, LyX-Outline news and book related material, please go to http://blog.oak-tree.us.  Thanks.)<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2009/05/12/pyqt-mac" rel="bookmark" title="May 12, 2009">Installation of PyQt on Mac OS X</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/05/14/twitter" rel="bookmark" title="May 14, 2009">I Killed Twitter</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/10/05/timedrive-01-upgrades" rel="bookmark" title="October 5, 2009">Upgrading from Time Drive 0.1</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/08/23/time-drive-bugs" rel="bookmark" title="August 23, 2009">Filing Bugs for Time Drive or LyX-Outline</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/01/29/things" rel="bookmark" title="January 29, 2009">Big Things, Little Things and Unassociated Thoughts</a></li>
</ul>
<p><!-- Similar Posts took 153.503 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/04/15/moving-hosts">Moving to blog.oak-tree.us</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2010/04/15/moving-hosts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Temples and Timelines</title>
		<link>http://www.oak-tree.us/blog/index.php/2010/02/25/temples-timelines</link>
		<comments>http://www.oak-tree.us/blog/index.php/2010/02/25/temples-timelines#comments</comments>
		<pubDate>Thu, 25 Feb 2010 21:55:14 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Science and Medicine]]></category>
		<category><![CDATA[Ancient Civilizations]]></category>
		<category><![CDATA[Archaeology]]></category>
		<category><![CDATA[Göbekli Tepe]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1404</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Temples+and+Timelines&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Art&amp;rft.subject=Cool+Stuff&amp;rft.subject=Featured&amp;rft.subject=Science+and+Medicine&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-02-25&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/02/25/temples-timelines&amp;rft.language=English"></span>
Newsweek has a fascinating article about an archaeological site at Göbekli Tepe in Turkey that is well worth a look. The site is the oldest religious temple ever discovered.  Preliminary carbon dating has determined that some of the artifacts date from 9,400 BC, which makes the place about 11,500 years old. (Which, just to be [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/02/25/temples-timelines">Temples and Timelines</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Temples+and+Timelines&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Art&amp;rft.subject=Cool+Stuff&amp;rft.subject=Featured&amp;rft.subject=Science+and+Medicine&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-02-25&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/02/25/temples-timelines&amp;rft.language=English"></span>
<p><img style="margin: 0px 15px 10px 0px; display: inline;" src="http://upload.wikimedia.org/wikipedia/commons/5/5d/Gobeklitepe_nov08_4.jpg" alt="" width="248" height="374" align="left" /></p>
<p>Newsweek has a fascinating <a href="http://www.newsweek.com/id/233844">article</a> about an archaeological site at Göbekli Tepe in Turkey that is well worth a look.</p>
<p>The site is the oldest religious temple ever discovered.  Preliminary carbon dating has determined that some of the artifacts date from 9,400 BC, which makes the place about 11,500 years old. (Which, just to be clear, is 7000 years before the Great Pyramid and 6500 years before Stonehenge.)  The article further explains:</p>
<blockquote><p>The ruins are so early that they predate villages, pottery, domesticated animals and even agriculture – the first embers of civilization.  … [It] may be the very first thing that human beings ever built.</p></blockquote>
<p>And yet, the site is amazing.  The pillars show beautiful stone carvings and there are examples of sophisticated engineering techniques.  The stone circles are nearly 30 yards across with pillars that stand more than 17 feet tall.  Many of the stones (some weighing up to 50 tons) were first quarried and then transported half a kilometer to the site, where they were erected.  What staggers me, though, is that the stone circles were <em>roofed</em>.</p>
<p>This quote from Ian Hodder, head of archaeology at Stanford University, summarizes my response pretty well:</p>
<blockquote><p>[Göbekli Tepe] is unbelievably big and amazing, at a ridiculously early date.  The huge stones and fantastic, highly refined art [changes everything].  It overturns the whole apple cart.  All our theories were wrong.</p></blockquote>
<p>This doesn’t happen often.  Scientists don’t admit mistakes and call for established theories to be overturned.  But when faced with such a revolutionary piece of evidence, you have little choice.</p>
<p>Göbekli  is literally an outlier in every way.  It shows engineering, organization, and artistic sophistication that seems to materialize out of nowhere.  The only other comparable examples won’t appear for <em>five thousand</em> years.</p>
<p><img style="display: inline; margin-left: 0px; margin-right: 0px;" src="http://upload.wikimedia.org/wikipedia/commons/7/7a/Gobekli.jpeg" alt="" width="641" height="463" /></p>
<p>To really put this in perspective, consider the timeline below.  Arrayed across the bottom axis are the reigns of several ancient civilizations: the Chinese, Romans, Egyptians and Mesopotamians.  In addition to this information, I’ve also placed the approximate dates of the the ice age, stone age and examples of religious and cultural monuments (the oldest of which dates to about 3500 BC).</p>
<p>When compared with Göbekli, the great civilizations and monuments of the ancient world seem to to huddle in an upstart mob at the right of the chart.  Even the very oldest of the examples, a Mesopotamian palace, is separated from Göbekli by the same span of time that divides the ancient age from the modern day.</p>
<p>Such an amazing and sophisticated example at such an early date, literally, boggles my mind.  It&#8217;s absolutely amazing.  And, paradoxically, the amazement and wonder helps to explain why Göbekli has remained essentially unknown.  A discovery of this magnitude demands enormous attention and dedication.  It takes almost as much as it gives, particularly from those that discovered it; and not every scientist is willing to give that kind of commitment.  Thus, I completely understand the response of the man who discovered the site.</p>
<blockquote><p>[Unable to interpret what he saw], the [American] archeologist who stumbled on [on the site] in the 1960s simply walked away.</p></blockquote>
<p>But, even so, the evidence at Göbekli has the potential to completely transform the history of civilization.  And I, for one, look forward to seeing what emerges.</p>
<p><a href="http://www.oak-tree.us/images/Timeline-Gobelski-Tepe.pdf"><img style="display: inline; border: 0px;" title="Timeline-Gobekli-Tepe" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/TimelineGobekliTepe.png" border="0" alt="Timeline-Gobekli-Tepe" width="1000" height="147" /></a></p>
<p><em>Note: You can view a high resolution PDF of the timeline by clicking on the image, or <a href="http://www.oak-tree.us/images/Timeline-Gobelski-Tepe.pdf">here</a>.</em><br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2010/04/15/moving-hosts" rel="bookmark" title="April 15, 2010">Moving to blog.oak-tree.us</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1" rel="bookmark" title="November 25, 2009">Typeset Your Curriculum Vitae &ndash; Part 1: The xetexCV Document Class</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/01/29/things" rel="bookmark" title="January 29, 2009">Big Things, Little Things and Unassociated Thoughts</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2010/02/05/davinci-notebooks" rel="bookmark" title="February 5, 2010">Image Gallery: The Notebooks of Leonardo Da Vinci</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/03/21/horse-photos" rel="bookmark" title="March 21, 2009">Photos of Horses</a></li>
</ul>
<p><!-- Similar Posts took 145.879 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/02/25/temples-timelines">Temples and Timelines</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2010/02/25/temples-timelines/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hannibal, Napoleon, and Joseph Charles Minard</title>
		<link>http://www.oak-tree.us/blog/index.php/2010/02/22/minard-maps</link>
		<comments>http://www.oak-tree.us/blog/index.php/2010/02/22/minard-maps#comments</comments>
		<pubDate>Mon, 22 Feb 2010 21:49:11 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Illustration]]></category>
		<category><![CDATA[Science and Medicine]]></category>
		<category><![CDATA[Writing and Literature]]></category>
		<category><![CDATA[rapidBOOKS]]></category>
		<category><![CDATA[Charles Joseph Minard]]></category>
		<category><![CDATA[Charts and Graphs]]></category>
		<category><![CDATA[Inkscape]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[OpenSource Writing]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1396</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Hannibal%2C+Napoleon%2C+and+Joseph+Charles+Minard&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Cool+Stuff&amp;rft.subject=Illustration&amp;rft.subject=Science+and+Medicine&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-02-22&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/02/22/minard-maps&amp;rft.language=English"></span>
No study of the history of scientific communication can be complete without mention of Joseph Charles Minard, a 19th Century French civil engineer and cartographer. At the end of his life, Minard created two very famous examples of statistical charts, called flow maps, that every scientist, engineer and student should be familair with.  The first [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/02/22/minard-maps">Hannibal, Napoleon, and Joseph Charles Minard</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Hannibal%2C+Napoleon%2C+and+Joseph+Charles+Minard&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Cool+Stuff&amp;rft.subject=Illustration&amp;rft.subject=Science+and+Medicine&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-02-22&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/02/22/minard-maps&amp;rft.language=English"></span>
<p><img style="margin: 0px 15px 0px 0px; display: inline; border-width: 0px;" title="Charles Minard - Railroad Routes" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/CharlesMinardRailroadRoutes.jpg" border="0" alt="Charles Minard - Railroad Routes" width="200" height="347" align="left" /></p>
<p>No study of the history of scientific communication can be complete without mention of Joseph Charles Minard, a 19th Century French civil engineer and cartographer.</p>
<p>At the end of his life, Minard created two very famous examples of statistical charts, called flow maps, that every scientist, engineer and student should be familair with.  The first showed Hannibal’s crossing of the Alps (218 BC, Second Punic War), and the second describes Napoleon’s disastrous invasion of Russia (1812-1813).</p>
<p>Both examples are beautiful works of art and masterful examples of evidence.  But they are also more than that, they tell cohesive and interesting stories.  In this post, I thought it might be interesting to take a closer look at the history of Hannibal and Napoleon, and highlight the ways which Minard’s charts help us to explain their eventual outcome.</p>
<p><em>(Note: High resolution, PDF versions of the two maps are available for download.  These versions have been translated from the original French.  To download, either click on the images, or <a href="http://www.oak-tree.us/stuff/OpenSource-Writing/Minard-Hannibal.pdf">here</a> for the Hannibal invasion of Northern Italy, and <a href="http://www.oak-tree.us/stuff/OpenSource-Writing/Minard-Napoleon.pdf">here</a> for the French Invasion of Russia.)</em><span id="more-1396"></span></p>
<h2>Hannibal Invasion of Italy (218 BC, Second Punic War)</h2>
<p><!--adsensestart--><a href="http://en.wikipedia.org/wiki/Hannibal">Hannibal</a> was perhaps the single greatest threat to Roman power to ever live.  At the same time that Roman legions marched unopposed through most of the Mediterranean world, Hannibal lead a force of twenty-five thousand soldiers into the heart of Roman territory. He then spent the next fifteen years occupying portions of the Italian peninsula and generally wreaking havoc.  But even though he ravaged the Roman countryside, Hannibal was never successful in subduing Rome.  Ironically, this might be due to one of his greatest exploits: the overland crossing of the Alps.</p>
<p>Hannibal departed his home base in Spain with nearly 90,000 troops (one of the largest armies that had ever been fielded at that point in history) and had a number of early successes.  He marched north over the Pyrenee mountains and into Gaul (modern day France).  He subdued the Celtic tribes and crossed the Rhone River before the Romans could take measures to stop his advanced.  He forged important alliances and found unexpected friends in his fight against the Romans.</p>
<p>After crossing the Rhone, however, Hannibal’s luck began to change.  He received word that a large Roman force was marching from the Mediterranean coast to intercept and destroy him.  As the force outnumbered him by a significant margin, Hannibal was faced with a difficult choice.  Should he stay at his current location and engage the Roman army or retreat and prepare a defense?</p>
<p>Not content with either choice, Hannibal ultimately chose a third option; which, ironically, would have enormous consequences for his overall campaign.  To evade the Romans, Hannibal took the unprecedented action of turning inland and marching over the Alps.  (It is thought that he probably crossed over the valley of the Drome and south of the Col de Montgenevre or near the Col de Mont Cenis.)  This had never been done before – indeed many thought it impossible – and has long been praised as a brilliant tactical decision.</p>
<p>Minard’s reconstruction of Hannibal’s journey shows the journey from Spain, through Transalpine Gaul and eventual arrival in Italy, allows it to be seen a slightly different light, however.  Through use of a flow line, Minard shows how the strength of Hannibal’s army waned through the march, with a disastrous loss of twenty thousand men while passing over the Alps.  This steady loss of strength, subtly reinforced by Minard’s map, helps to explain why Hannibal failed to subdue Rome.<!--adsensestop--></p>
<p>Hannibal’s brilliant tactical decision was also a strategical disaster.  It came at a dramatic loss of men, war elephants, and material with the most disastrous loss being the destruction of his siege engines.  Without the siege engines, Hannibal was never able to successfully attack Rome.  And eventually the Romans realized this and changed their tactics.  Instead of engaging Hannibal directly, they instead fought a long-pitched war of attrition and eventually destroyed the one resource he couldn’t replace: his men.  Thus, even though crossing the Alps helped Hannibal to win a few stunning victories, the decision eventually caused him to lose the war.</p>
<p><a href="http://www.oak-tree.us/stuff/OpenSource-Writing/Minard-Hannibal.pdf"><img style="display: inline; border-width: 0px;" title="Hanibal's invasion of Italy over the Italian Alps." src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/MinardHannibal.png" border="0" alt="Hanibal's invasion of Italy over the Italian Alps." width="600" height="286" /></a></p>
<h2>Napoleon’s Invasion of Russia (1812-1813)</h2>
<p>Like in the case of the Hannibal, Minard’s depiction of the 1812-1813 invasion of Russia also tells an extraordinary story.  It combines information about the size of the army, geography, sub-campaigns and temperature into a single narrative.  This time, though, it is anything but subtle.</p>
<p><em>Note: Because of  the elegant management of all this information – at any time showing the army’s direction, size, and loss relative to the start – some statisticians and data visualization experts (such as Edward Tufte, Etieene Jules Marey and Howard Wainer) have declared Minard’s depiction of Napoleon’s Invasion of Russia to be the greatest numerical graphic ever created.</em></p>
<p>From the very beginning, the army met with tremendous hardship.  The cold temperatures and lack of available resources took an enormous toll.  Napoleon had planned on scavenging for supplies to support his massive army, but the Russians had destroyed all of their crops and burned their villages so that Napoleon wouldn’t be able to make use of them.  As a result, the army was heavily reliant on slow supply trains from Europe that were unable to keep pace with its quick advance.  Hundreds of thousands died from starvation and exposure, greatly outnumbering those lost in combat.</p>
<p>Minard’s map shows this trend of devastating loss.  Napoleon’s Grand Army starts out as a wide, brown line to the left of the map.  As the army progresses across Russia, the number of men decreases dramatically.   A few ribbons of men are dispatched to other targets, but by far the majority succumb to the elements.</p>
<p>Eventually, a substantially reduced force (100,000 men, about 20% of those who began the campaign) arrived in Moscow.  What they found did little to improve their circumstances.  The city had been abandoned and burned to the ground.  No food was available.  The only available option was to return to France.</p>
<p>Demoralized and broken, the Grand Army began a slow retreat to the west.  Their progress is shown in the black.  As they crossed the vast Russian wilderness, the temperature turned bitter cold (shown in the bottom third of the map).  When the army arrived at the Niemen river, there were a scant 10,000 troops.  More than 400,000 had died.</p>
<p>Such a devastating loss of life crippled Napoleon’s young empire and left him open to invasion by his enemies.  He was defeated later in 1813 and exiled to the island of Elba.</p>
<p><a href="http://www.oak-tree.us/stuff/OpenSource-Writing/Minard-Napoleon.pdf"><img style="display: inline; border-width: 0px;" title="Minard's map showing Napoleon's invasion of Russia and the catastrophic losses he suffered." src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/MinardNapoleon.png" border="0" alt="Minard's map showing Napoleon's invasion of Russia and the catastrophic losses he suffered." width="600" height="292" /></a></p>
<h2>Conclusion</h2>
<p>Minard’s graphics are successful because they demonstrate powerful trends and place evidence within its proper context.  In the case of Hannibal, it shows how he began in a position of strength and then undermined himself through a brilliant tactical innovation.  In the case of Napoleon, it shows how distance and temperature ravaged an army and destroyed an emperor.</p>
<p>The clear evidence and thoughtful presentation define the story, they show where things are headed and help to foreshadow the inevitable conclusion.  For this reason, they are powerful examples of clear communication.</p>
<p>____________________________________________________</p>
<h3>Unrelated Thoughts: Re-Visioning Minard with Open Source Tools</h3>
<p>Since first seeing these charts as part of an undergraduate statistics course, I’ve been obsessed with them.  I even have a poster sized copy of the Russian invasion (available from <a href="http://www.edwardtufte.com/tufte/posters">Graphics Press</a>) hanging in my office.  Given this obsession, it should come as no surprise that I’ve wanted to include the maps in my book.</p>
<p>There is, however, just one problem; there is not anything new to say about them.  Edward Tufte has held up Minard as a “Da Vinci of Data” for the better part of thirty years.  Nearly every one of his books includes a copy of the maps (in the case of Beautiful Evidence, his most recent work, there is an entire chapter devoted to the graphics; including eight different reproductions).  Other than, “They’re beautiful, study them carefully, read Tufte’s analysis,” there just isn’t that much to say.</p>
<p>That is, until I started looking for examples of scientific illustration that could be reproduced using the vector illustration program, Inkscape. Any such example should have simple lines and clean integration of text and images.  I&#8217;m not sure that a better description of Minard&#8217;s work exists.</p>
<p>The two images above (and attendant PDFs) were my first pass at re-drawing the maps.  And I have to say, I’m rather happy with the result.  For the most part, I was able to get a very faithful reproduction (with the exception of the type face, which I deliberately changed because I hate script fonts), and only required a couple of hours worth of work.</p>
<p>I think that I may have found my book examples.  It allows me to include one of the best statistical charts of all time, talk about flow maps, and even include some interesting how-tos which show how the graphics can be built in an automated fashion.  Which, come to think of it, might just count as a new contribution after all.</p>
<h3>Acknowledgements and Further Reading</h3>
<p>More information on the book can be found at the <a href="http://rapidbooks.ca/">publisher’s website</a>.</p>
<p>The source images for the two maps included “Re-Visions of Minard” by Michael Friendly (1999) and the reproductions in “Beautiful Evidence” by Edward Tufte.  Translation for the Hannibal map was adapted from those available on <a href="http://www.edwardtufte.com/tufte/minard-hannibal">Edward Tufte’s website</a> (Dawn Finley) and sources available at <a href="http://www.math.yorku.ca/SCS/Gallery/re-minard.html">Re-Visions of Minard</a>.  Translation for the Russian campaign map were taken from the reproduction in Edward Tufte’s “Beautiful Evidence”, <a href="http://commons.wikimedia.org/wiki/File:Minard.png">Wikimedia Commons</a> and sources available from <a href="http://www.math.yorku.ca/SCS/Gallery/re-minard.html">Re-Visions of Minard</a>.</p>
<p>Additionally, the Re-Visions of Minard Website include a number of interesting adaptations of the Napoleon graphic that might be of interest, including both Matlab and GGPlot2 reconstructions.<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2009/03/09/anathem" rel="bookmark" title="March 9, 2009">Anathem: Big Book, Big Ideas</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles" rel="bookmark" title="November 14, 2009">Customizing LyX: Character Styles and the LyX Local Layout</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/03/24/af-mri" rel="bookmark" title="March 24, 2009">Heart Arrhythmias and MRI</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/12/16/wpf-svg-xaml-part3" rel="bookmark" title="December 16, 2008">WPF – SVG Graphics and XAML – Part 3</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1" rel="bookmark" title="November 25, 2009">Typeset Your Curriculum Vitae &ndash; Part 1: The xetexCV Document Class</a></li>
</ul>
<p><!-- Similar Posts took 151.498 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/02/22/minard-maps">Hannibal, Napoleon, and Joseph Charles Minard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2010/02/22/minard-maps/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Working With Words, Numbers and Images: A Reading List</title>
		<link>http://www.oak-tree.us/blog/index.php/2010/02/14/analytic-design-reading</link>
		<comments>http://www.oak-tree.us/blog/index.php/2010/02/14/analytic-design-reading#comments</comments>
		<pubDate>Sun, 14 Feb 2010 18:10:28 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Science and Medicine]]></category>
		<category><![CDATA[rapidBOOKS]]></category>
		<category><![CDATA[Analytic Design]]></category>
		<category><![CDATA[Interesting Reads]]></category>
		<category><![CDATA[Patterns and Recognition]]></category>
		<category><![CDATA[Scientific and Professional Writing With Open Source Tools]]></category>
		<category><![CDATA[Visual Explanations]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1386</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Working+With+Words%2C+Numbers+and+Images%3A+A+Reading+List&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Science+and+Medicine&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-02-14&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/02/14/analytic-design-reading&amp;rft.language=English"></span>
There are three tools that a professional, scientific or technical writer needs to make use of: words, numbers and images.&#160; In many cases, such as an effective illustration or chart, all three will be used. The following books introduce principles and examples of how to use these tools to their fullest extent.&#160; Some of the [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/02/14/analytic-design-reading">Working With Words, Numbers and Images: A Reading List</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Working+With+Words%2C+Numbers+and+Images%3A+A+Reading+List&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Science+and+Medicine&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-02-14&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/02/14/analytic-design-reading&amp;rft.language=English"></span>
<p>There are three tools that a professional, scientific or technical writer needs to make use of: words, numbers and images.&#160; In many cases, such as an effective illustration or chart, all three will be used.</p>
<p>The following books introduce principles and examples of how to use these tools to their fullest extent.&#160; Some of the titles are historical and others are academic.&#160; In every case, though, they highlight strategies that can be used to more effectively communicate ideas.&#160; Additionally, each one is also an interesting and fantastic read.</p>
<table border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/0060851198?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0060851198"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Math and the Mona Lisa" border="0" alt="Math and the Mona Lisa" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/MathandtheMonaLisa.jpg" width="110" height="160" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0060851198?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0060851198">Math and the Mona Lisa</a> by Bulent Atalay. For more than 500 years, the name of Leonardo Da Vinci has been synonymous with brilliance.&#160; His careful observation of nature, collection and analysis of evidence, and use of mathematics to explain his observations represented a radical shift that foreshadowed the modern scientific method.In this book, Bulent Atalay explains <em>why </em>Leonardo was a remarkable artist, engineer and scientist.&#160; He looks at the hidden patterns, geometric concepts and impeccable perspective in order to probe the mind that dreamt of helicopters, unsinkable ships and underwater exploration.</td>
</tr>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/1579128173?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1579128173"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Leonardo&#39;s Notebooks" border="0" alt="Leonardo&#39;s Notebooks" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/LeonardosNotebooks.jpg" width="110" height="129" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/1579128173?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1579128173">Leonardo’s Notebooks</a>, edited by H. Anna Suh.&#160; To understand a man, you must read him in his own words.&#160; This volume provides an opportunity to sample Da Vinci’s writings on anatomy, botany, architecture, sculpture and the physical sciences.&#160; The key illustrations from his notebooks have also been reproduced.</td>
</tr>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/0486286312?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0486286312"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="" src="http://bourabai.kz/landscheidt/img/galileo.jpg" width="110" height="156" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0486286312?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0486286312">Galielo at Work: His Scientific Biography</a> by Stillman Drake.&#160; Like Leonardo, Galileo was a scientific titan.&#160; As Stephen Hawking aptly summarized, “Galileo, perhaps more than any other single person, was responsible for the birth of modern science.”But why?&#160; What was it about his innovative combination of experiment and mathematics that was so important.&#160; How did he analyze data?&#160; How did he present it to others?This book attempts to answer those questions.&#160; It lays aside the philosophical implications of Galileo’s rift with the Catholic church and instead looks at how Galileo focused his mind on physical quantities and the mathematical relationships between them.</td>
</tr>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/0961392142?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0961392142"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="The Visual Display of Quantitative Information" border="0" alt="The Visual Display of Quantitative Information" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/TheVisualDisplayofQuantitativeInformation.jpg" width="110" height="139" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0961392142?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0961392142">The Visual Display of Quantitative Information</a> by Edward Tufte.&#160; Communicating complex ideas is difficult.&#160; One of the most important tools in that struggle are charts, graphs and illustrations.&#160; Unfortunately, however, these important figures often receive less attention than other aspects of a manuscript.In this book, Tufte provides inspiring examples of graphics that are beautiful to behold and illuminating to ponder.&#160; He also includes shockingly bad examples and explains why they are so dangerous.</td>
</tr>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/0961392126?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0961392126"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Visual Explanations by Edward Tufte" border="0" alt="Visual Explanations by Edward Tufte" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/VisualExplanations.jpg" width="110" height="138" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0961392126?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0961392126">Visual Explanations</a> by Edward Tufte.&#160; In his earlier work, Tufte showed how important it is for numbers to be communicated clearly and without distracting&#160; ornamentation.&#160; In this volume, he turns his attention to a slightly different series of questions: What is the best way to show cause and effect?&#160; Or to demonstrate evolutionary change?But the most important question he asks is far more universal: How can an information display be be used to reveal the truth?&#160; To answer this, he analyzes a cholera epidemic in 19th century London and explains how poor communication contributed to the explosion of the Challenger space shuttle.</td>
</tr>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/0961392177?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0961392177"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Beautiful Evidence by Edward Tufte" border="0" alt="Beautiful Evidence by Edward Tufte" src="http://www.malaysiachoice.com/Photos/beautiful-evidence.jpg019b77db-7ace-4484-abaf-baf209f7d1e5.jpg" width="110" height="129" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0961392177?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0961392177">Beautiful Evidence</a> by Edward Tufte.&#160; Like in his previous books, Tufte again tackles the question of how to best reveal truth through the graphical display of information.&#160; But where earlier books focused on principles, <em>Beautiful Evidence </em>is about how seeing turns into showing.&#160; To explore that theme, this book is filled with hundreds of spectacular examples and thoughtful commentary on what makes them unique.</td>
</tr>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/0970601980?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0970601980"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Now You See It by Stephen Few" border="0" alt="Now You See It by Stephen Few" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/NowYouSeeIt.jpg" width="110" height="145" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0970601980?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0970601980">Now You See It</a> by Stephen Few.&#160; The human mind is amazingly adept at seeing and understanding patterns.&#160; An informed eye can distinguish between authentic and forgery and arrive at startlingly accurate calculations with minimal effort.&#160; But even though we are capable of recognizing the hidden influences in the world around us, we can also be mislead and exploited far too easily.&#160; We become awash in a sea of data of our own making.This book attempts to explain how the mind interprets and sees information.&#160; As the author explains in the introduction, “[This book] provides tools to dive into the ocean of information, net the best of it, bring it back to shore and sort it out.”&#160; In essence, it’s a book about seeing and distinguishing patterns on a conscious level.</td>
</tr>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/0520242262?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0520242262"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Visual Thinking" border="0" alt="Visual Thinking" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/VisualThinking.jpg" width="110" height="165" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0520242262?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0520242262">Visual Thinking</a> by Rudolf Arnheim.&#160; It’s long been known that “seeing is believing.”&#160; This book explains why seeing is also synonymous with thinking.</td>
</tr>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/0226799735?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0226799735"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Maps and Civilization" border="0" alt="Maps and Civilization" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/MapsandCivilization.jpg" width="110" height="162" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0226799735?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0226799735">Maps and Civilization: Cartography in Culture and Society</a> by Norman J.W. Thrower.&#160; The history of exploration and discovery is also the history of cartography.&#160; As mankind sailed out of sight of shore, he needed to learn techniques for representing his position and understanding the natural forces that he might encounter.&#160; This book tells the history of mapmaking and how advances in cartography impacted civilization.</td>
</tr>
<tr>
<td valign="top" width="111"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="The Elements of Graphing Data" border="0" alt="The Elements of Graphing Data" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/TheElementsofGraphingData.jpg" width="110" height="149" /></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0963488414?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0963488414">The Elements of Graphing Data</a> by William S. Cleveland.&#160; In this book by William Cleveland, he presents the nuts and bolts (the how-to) of graphing data.&#160; Then he goes on to explore the science in which his principles are based..</td>
</tr>
<tr>
<td valign="top" width="111"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Visualizing Data" border="0" alt="Visualizing Data" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/VisualizingData.jpg" width="110" height="150" /></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0963488406?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0963488406">Visualizing Data</a> by William S. Cleveland.&#160; Whereas <em>The Elements of Graphing Data </em>is primarily&#160; focused on the principles of quality display and exploration of many types of common statistical charts, <em>Visualizing Data </em>takes the next logical step.&#160; It introduces a number of new chart types and techniques for creating insightful and clear graphics.</td>
</tr>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/0143038915?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0143038915"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Fiasco: American Military Adventure in Iraq by Thomas E. Ricks" border="0" alt="Fiasco: American Military Adventure in Iraq by Thomas E. Ricks" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/FiascoAmericanMilitaryAdventureinIraq.jpg" width="110" height="167" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0143038915?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0143038915">Fiasco: The American Military Adventure in Iraq, 2003 to 2005</a> by Thomas E. Ricks.&#160; Serious endeavors require careful forethought and nuanced planning; and few enterprises are more serious than the business of war.&#160; This controversial book looks at the missteps and mistakes of the American military as it justified, planned and executed the 2003 Iraq War.It contains haunting examples of how information can be distorted and obfuscated by both well-meaning individuals and those with insidious hidden agendas.&#160; It also explains how the adoption of American corporate culture and leadership by PowerPoint lead to serious miscommunication and early failure.</td>
</tr>
<tr>
<td valign="top" width="111"><a href="http://www.amazon.com/gp/product/0226851761?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0226851761"><img style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Challenger Launch Decision" border="0" alt="Challenger Launch Decision" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/ChallengerLaunchDecision.jpg" width="110" height="162" /></a></td>
<td valign="top" width="496"><a href="http://www.amazon.com/gp/product/0226851761?ie=UTF8&amp;tag=apolitiincorr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0226851761">The Challenger Launch Decision: Risky Technology, Culture and Deviance at NASA</a> by Diane Vaughan.&#160; The Challenger explosion on January 28, 1986 changed the course of manned space flight forever.&#160; But how did it happen?&#160; What factors lead to it?&#160; Might it have been prevented?In <em>The Challenger Launch Decision</em>, Diane Vaughan attempts to answer those questions.&#160; In the process, she reveals that the Challenger explosion wasn’t the result of intentional wrongdoing but rather a slow-creeping definition of “normal” and comfort with the status quo.</td>
</tr>
</tbody>
</table>
<p><!--adsensestart--></p>
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2010/02/22/minard-maps" rel="bookmark" title="February 22, 2010">Hannibal, Napoleon, and Joseph Charles Minard</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2010/02/25/temples-timelines" rel="bookmark" title="February 25, 2010">Temples and Timelines</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles" rel="bookmark" title="November 14, 2009">Customizing LyX: Character Styles and the LyX Local Layout</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/07/20/back-in-time1" rel="bookmark" title="July 20, 2009">Back In Time (Part 1): Linux Backup Made Easy</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/01/06/ironpython-databinding1" rel="bookmark" title="January 6, 2009">IronPython &#8211; Data Binding and Data Templates &#8211; Part 1</a></li>
</ul>
<p><!-- Similar Posts took 70.363 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/02/14/analytic-design-reading">Working With Words, Numbers and Images: A Reading List</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2010/02/14/analytic-design-reading/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image Gallery: The Notebooks of Leonardo Da Vinci</title>
		<link>http://www.oak-tree.us/blog/index.php/2010/02/05/davinci-notebooks</link>
		<comments>http://www.oak-tree.us/blog/index.php/2010/02/05/davinci-notebooks#comments</comments>
		<pubDate>Fri, 05 Feb 2010 04:31:37 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Science and Medicine]]></category>
		<category><![CDATA[rapidBOOKS]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[Leonardo Da Vinci]]></category>
		<category><![CDATA[Sketches]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1366</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Image+Gallery%3A+The+Notebooks+of+Leonardo+Da+Vinci&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Cool+Stuff&amp;rft.subject=Featured&amp;rft.subject=Science+and+Medicine&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-02-05&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/02/05/davinci-notebooks&amp;rft.language=English"></span>
When I graduated from college and had to choose between a career in industry or academics, I found it to be an easy decision: I stayed in academics.  I like to have my head in the clouds and enjoy the intellectual lifestyle.  (I actually consider the label of “absentminded” to be a compliment.) It should come as [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/02/05/davinci-notebooks">Image Gallery: The Notebooks of Leonardo Da Vinci</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Image+Gallery%3A+The+Notebooks+of+Leonardo+Da+Vinci&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Cool+Stuff&amp;rft.subject=Featured&amp;rft.subject=Science+and+Medicine&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-02-05&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/02/05/davinci-notebooks&amp;rft.language=English"></span>
<p><a href="http://blog.oak-tree.us/index.php/art-photography?g2_itemId=28"><img style="margin: 0px 15px 10px 0px; display: inline; border: 0px;" title="DaVinci - Hands" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/02/DaVinciHands.jpg" border="0" alt="DaVinci - Hands" width="217" height="318" align="left" /></a>When I graduated from college and had to choose between a career in industry or academics, I found it to be an easy decision: I stayed in academics.  I like to have my head in the clouds and enjoy the intellectual lifestyle.  (I actually consider the label of “absentminded” to be a compliment.)</p>
<p>It should come as no surprise, then, that one of the most enjoyable aspects of <a href="http://www.oak-tree.us/blog/index.php/2010/01/28/book-thing">writing a book</a> has been the opportunity to research my subject.  My reading list has included books on analytic design, illustration, anatomy, typesetting, scientific communication, web technologies, LaTeX, the history of science, statistics and informational graphics. And as I worked my way through it, I took some extremely interesting side trips.  One of the most intriguing, however, was an extended tangent through the notebooks of Leonardo Da Vinci.<!--adsensestart--></p>
<p>Da Vinci died in the year 1519, nearly five hundred years ago.  Yet, the modern world remains fascinated by him.  His name adorns the side of best selling books and conspiracy fiction; and his drawings have become cultural icons.  As an example of his popularity:</p>
<p>In October of 2009, Martin Kemp, a professor of art and history at the University of Oxford, found a portrait of an Italian girl.  Up until Kemp took an interest, it was widely accepted that portrait had been painted sometime in the nineteenth century by an unknown artist.   After a great deal of investigation and the use of a multispectral camera, however, Kemp discovered something startling.  The painting had actually been done by Leonardo and nearly overnight, it went from a value of 19,000  British pounds to over <a href="http://entertainment.timesonline.co.uk/tol/arts_and_entertainment/visual_arts/article6872019.ece">100 million</a>.</p>
<p>I’m no different than the masses.  Leonardo fascinates me.  He had a very distinctive way of seeing the world and an engaging style.  Maybe that’s why it’s so easy to lose yourself in the details of his work.  Given my interest, a thorough study of Leonardo’s notebooks seemed only natural.</p>
<p>What I didn’t foresee, however, is that I would start to digitally collect his sketches; and in the past several months, I’ve put together a rather eclectic mix from across the internets.  Earlier today, I realized that the images might be of interest to others as well; thus, I’ve created a special <a href="http://www.oak-tree.us/blog/index.php/art-photography?g2_itemId=711">online gallery</a> for them.  It can be found under “Art and Photography” –&gt; “The DaVinci Notebooks”  To get there more quickly, you could also just click <a href="http://blog.oak-tree.us/index.php/art-photography?g2_itemId=28">here</a>.<!--adsensestop--></p>
<p>Enjoy!</p>
<p style="text-align: center;"><a href="http://blog.oak-tree.us/index.php/art-photography?g2_itemId=28"><img src="http://upload.wikimedia.org/wikipedia/commons/b/bd/Study_of_a_Tuscan_Landscape.jpg" alt="" width="528" height="349" /></a></p>
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2010/02/14/analytic-design-reading" rel="bookmark" title="February 14, 2010">Working With Words, Numbers and Images: A Reading List</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2010/01/28/book-thing" rel="bookmark" title="January 28, 2010">About This Book Thing</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/12/08/greetings-from-a-horseman" rel="bookmark" title="December 8, 2008">Greetings From a Horseman</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/12/26/a-guy-like-the-rest-of-us" rel="bookmark" title="December 26, 2008">A Guy Like the Rest of Us</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/03/20/scrub-pc" rel="bookmark" title="March 20, 2009">How to Scrub a PC Hard Drive</a></li>
</ul>
<p><!-- Similar Posts took 18.009 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/02/05/davinci-notebooks">Image Gallery: The Notebooks of Leonardo Da Vinci</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2010/02/05/davinci-notebooks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About This Book Thing</title>
		<link>http://www.oak-tree.us/blog/index.php/2010/01/28/book-thing</link>
		<comments>http://www.oak-tree.us/blog/index.php/2010/01/28/book-thing#comments</comments>
		<pubDate>Thu, 28 Jan 2010 21:22:09 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Writing and Literature]]></category>
		<category><![CDATA[rapidBOOKS]]></category>
		<category><![CDATA[Analytic Design]]></category>
		<category><![CDATA[OpenSource Writing]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1361</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=About+This+Book+Thing&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Cool+Stuff&amp;rft.subject=Featured&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-01-28&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/01/28/book-thing&amp;rft.language=English"></span>
In the past few weeks, I’ve had several observant readers ask about one of my “secret” projects.  They’ve wondered what I’m up to and why it’s detracting from other endeavors.  After answering another query this morning, I decided that it’s probably time to speak openly about it.  So, here’s my public confession: I’m writing a [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/01/28/book-thing">About This Book Thing</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=About+This+Book+Thing&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Cool+Stuff&amp;rft.subject=Featured&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2010-01-28&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2010/01/28/book-thing&amp;rft.language=English"></span>
<p><img style="display: inline; margin-left: 0px; margin-right: 0px; border: 0px;" title="daVinci-Skull" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/01/daVinciSkull.png" border="0" alt="daVinci-Skull" width="324" height="324" align="left" />In the past few weeks, I’ve had several observant readers ask about one of my “secret” projects.  They’ve wondered what I’m up to and why it’s detracting from other endeavors.  After answering another query this morning, I decided that it’s probably time to speak openly about it.  So, here’s my public confession: I’m writing a book.</p>
<p>It’s about scientific and professional writing and open source.  Moreover, it will be interesting, intriguing and revolutionary.  (Yes, I have an inflated sense of ego.)</p>
<p>Before really diving into the details, I’d like to give a bit of personal background.  This might help you understand why I’m passionate about the subject.</p>
<h2>Background</h2>
<p>Ten years ago, had someone told me that I would end up a scientist and engineer, I would have laughed at them.  At the time, I had just started at University and I was fully set on a career in either illustration, design or architecture.  I was much too “visual” and “right-brained” to surround myself by geeks, freaks and nerds.  It didn’t help that I spent a huge amount of time grooming myself to be an “artist”.</p>
<p>During high school, I had been cursed with moderate talent and highly indulgent instructors.  They praised my artwork.  They called it interesting and innovative.  They encouraged me to refine my technique and to major in visual arts.  So, I did.</p>
<p>But as time went on, I realized that I wasn’t very happy.  I realized that I had other interests.  I enjoyed art, I did well in it; but art classes weren’t my favorites.  That honor, as it turned out, was reserved for mathematics and science.</p>
<p>There was also another problem, I found that I lacked the discipline required to systematically create an individual style and build a portfolio.  I wanted create art for myself, not for other people; and that is a fatal flaw in an illustrator (the type of work that most interested me). Illustration, by definition, is work that has been requested for a particular use.  I was more interested in my own whims than those of potential clients.  Thus, not long after recognizing my problem, I decided to go a different direction and changed my major to engineering.</p>
<p><span id="more-1361"></span></p>
<p><img style="display: inline; border: 0px;" title="Cosmographicus-Earth" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/01/CosmographicusEarth.png" border="0" alt="Cosmographicus-Earth" width="599" height="413" /></p>
<h2>Analytic Design</h2>
<p>But even though I condemned myself to a life of investigation and exploration, I remained very interested in art, photography, layout and design.  This interest (and some substantial urging by the doctor I worked for at the time) resulted in a fascination with where science and art seemed to intersect.</p>
<p>And this is when I noticed, <a href="http://www.edwardtufte.com">like many others</a>, a strange trend.  If you look at the work of those considered the greatest minds in history – Leonardo  Da Vinci, Isaac Newton, Galileo Gallilei, Thomas Jefferson, Marie Curie, Albert Einstein, etc. – you find something intriguing. In nearly every case, those recognized as brilliant weren’t judged solely on the quality of their thinking, but also by how they presented and explained their insights.  Indeed, the thing identified as “brilliance” was not merely exceptional thinking, but clear communication.  After, all, clever thoughts and ingenious solutions mean nothing if they can’t be captured, understood and disseminated.</p>
<p>What is often overlooked, however, is just how much work is required to explain ideas which aren’t inherently simple, and that raises an important problem.  Communication in general, and writing in particular, is very hard.  To distill random and chaotic thought into a coherent and logical narrative requires energy, time and effort.  This is especially true of scientific, technical or professional subjects.</p>
<p>Such documents contain an enormous amount of baggage: figures, theorems, mathematical equations, algorithms, cross references and indexes.  And while such things simplify the life of a reader, they can positively drown a writer.</p>
<h2>Tools and Technology</h2>
<p>Luckily, however, there are tools and technologies that can simplify the organizational side of communication and allow for a writer to focus on the important parts: words, pictures and evidence.  But finding these tools and making them work together can be a very daunting task.  And that’s why I’m writing a book.</p>
<p>In its pages, I want to introduce principles and ideas that are characteristic of good communication.  For example, why was Albert Einstein able to convince both scientists and the general public that E=MC^2?  Why do we still read the scientific treatises of Isaac Newton or Charles Darwin – centuries after their ideas have been edited, amended, extended and restated?  Why does scientific communication often fail and what can be done to prevent breakdowns or misunderstanding?</p>
<p>Then, I want to show how those principles can be applied.  I’ll look at open source tools and how they work.  What programs are available for capturing information and references, organizing thoughts, and eventually creating a cohesive manuscript?  How can open source tools be used to create beautiful charts, maps, graphs and tables?  How can the process of collaboration be simplified?</p>
<p>Finally, I want to show why open source is awesome.  I want to demonstrate why it is functionally superior to proprietary alternatives; and I want to do this in a way that shows it to be accessible.  (Far too often, I find that people are afraid of open source because they view at as “complicated”, which is very unfortunate.)</p>
<p><img style="display: inline; border: 0px;" title="daVinci-Skull-Open" src="http://www.oak-tree.us/blog/wp-content/uploads/2010/01/daVinciSkullOpen.png" border="0" alt="daVinci-Skull-Open" width="507" height="507" /></p>
<h2>Conclusion</h2>
<p>When I first switched from art to science, I found myself confused, lost and overwhelmed.  Not only did I need to adjust to a completely new discipline and culture, but I also found that no one used the same computer programs!  And while it took some time to understand why, once I did, I realized that I would never go back to the “old” way of doing things.</p>
<p>Thus, I’m writing the book I wish someone had given me as a new science student; a book that explained the functional bits of scientific and professional writing with lots of examples, code, and pretty pictures.  This is what I’ve tried to put together, something that is part theoretical treatise but mostly instructional manual.</p>
<p>So, for those of you who have wondered where I’ve been and where I’ve wandered; that’s the answer.  I’m writing book.  The good news, however, is that it’s nearly finished.  And it’s in a state where I can start to share thoughts and examples from its chapters.  In the next few months, expect to see some of that information here.</p>
<p>But because I’m passionate about the subject, I would love to hear others have to say.  What makes for a good piece of informative writing?  What are examples of clear communication?  What lessons might we in the sciences learn from others?  And what tricks do you have for being more efficient?<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2010/02/05/davinci-notebooks" rel="bookmark" title="February 5, 2010">Image Gallery: The Notebooks of Leonardo Da Vinci</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/03/21/horse-photos" rel="bookmark" title="March 21, 2009">Photos of Horses</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2" rel="bookmark" title="November 30, 2009">Typeset Your Curriculum Vitae &ndash; Part 2: Extending and Customizing an Existing Document Class</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/12/14/wpf-svg-xaml-part2" rel="bookmark" title="December 14, 2008">WPF – SVG Graphics and XAML – Part 2</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/11/19/ironpython-part2" rel="bookmark" title="November 19, 2008">Learning IronPython – Part 2 – A Simple Project</a></li>
</ul>
<p><!-- Similar Posts took 14.364 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2010/01/28/book-thing">About This Book Thing</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2010/01/28/book-thing/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Typeset Your Curriculum Vitae &#8211; Part 3: Automatically Generate a List of Publications</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3</link>
		<comments>http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3#comments</comments>
		<pubDate>Wed, 02 Dec 2009 15:19:44 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Writing and Literature]]></category>
		<category><![CDATA[rapidBOOKS]]></category>
		<category><![CDATA[Curiculum Vitae]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Typesetting]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1332</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Typeset+Your+Curriculum+Vitae+%26ndash%3B+Part+3%3A+Automatically+Generate+a+List+of+Publications&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-12-02&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3&amp;rft.language=English"></span>
Publications are the currency of ideas.  Through them the experts, thinkers and dreamers of this world can share their thoughts and insights.  A good publication is not only influential, but it’s even capable of shifting the course of a whole society, as Martin Luther King demonstrated with his “Letter from a Birmingham Jail”. Since publications [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3">Typeset Your Curriculum Vitae &ndash; Part 3: Automatically Generate a List of Publications</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Typeset+Your+Curriculum+Vitae+%26ndash%3B+Part+3%3A+Automatically+Generate+a+List+of+Publications&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-12-02&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3&amp;rft.language=English"></span>
<p><img style="margin: 0px 15px 10px 0px; display: inline;" src="http://shelfelf.files.wordpress.com/2008/01/trinity-college-library-dub.jpg" alt="" width="350" height="276" align="left" />Publications are the currency of ideas.  Through them the experts, thinkers and dreamers of this world can share their thoughts and insights.  A good publication is not only influential, but it’s even capable of shifting the course of a whole society, as Martin Luther King demonstrated with his “<a href="http://www.oak-tree.us/stuff/King-Birmingham.pdf">Letter from a Birmingham Jail</a>”.</p>
<p>Since publications are so important to the dissemination of knowledge, there is a rather high expectation that an academic author should publish prolifically.  The mantra “Publish or Perish” is not just a clever quip, but a very serious way of life.</p>
<p>It is ironic, then, that the most prolific of academic writers can suffer from a surprising problem: it can be very difficult to keep track of all of their work.  Yet, an up to date CV is very important.  After all, publishing your work in influential journals is an important first step toward establishing tenure!</p>
<p>Members of a research team or those who collaborate outside of their institution experience this same problem, only more so.  Such a person may work on many projects at once, but only have direct responsibility for one or two of them.  This places the researcher in the unenviable position of trying to track the work of others.  This situation becomes even more complicated if the collaborator refuses to play by the rules of common decency.</p>
<p><!--adsensestart--></p>
<p>It would be nice, for example, if the primary author of a publication would <em>notify</em> the co-authors of its progress, or when it has been submitted.  But … that doesn’t always happen.  Academic researchers are busy people and soliciting feedback from all of your collaborators can be difficult … and there is a tendency for difficult things to go undone.  Thus, if you don’t follow what your team mates are working on, it is quite possible that an abstract might have gotten submitted while your back was turned.</p>
<p>To stay on top of the “delightful chaos”, you need to have some kind of system.  Personally, I keep my list of projects and publications in three places. The first (and perhaps most important) is the hand-written list in my experimental notebook. Any time I hear about a new project, it gets added to this list. I keep track of what I’ve contributed, what papers or abstracts have been created from the data, and what their status is. When I know that an abstract or paper has been accepted, I then create an entry for the item in my bibliography manager. Once in the bibliography manager, I can cite the reference in other documents such as proposals or related papers.</p>
<p>About once a year, I go through the tedious process of updating my CV. This typically involves manually sorting through both my project list and my reference database and account for new items or reconcile differences. Every time I do this, it&#8217;s painful; and because I’ve historically formatted the reference list by hand, it&#8217;s not uncommon for a typo to sneak its way in or for an author to accidentally get left off of a citation. These mistakes are never intentional, but they do happen.</p>
<p>When I find such an error in the reference database, I fix it. But since I often import these references from websites, the errors tend to be few and far between. Moreover, my reference database is something that I use every day; as a result, it gets a lot of scrutiny. My CV, on the other hand, gets updated much less frequently and errors tend to persist longer.</p>
<p>For a very long time, I&#8217;ve wanted to automate the process. Instead of keeping three separate lists – active projects, reference database, and CV – I’d prefer to keep only one (or two). But I&#8217;ve never found a really satisfactory way of doing so.  Or at least I hadn’t found a system until quite recently.</p>
<p>In my last review of different ways to typeset a CV, I came across an interesting article by <a href="http://nitens.org/taraborelli/home">Dario Taraborelli</a>.  In it, he described how to create a CV based on the standard “article” document class.  It was well designed, elegant, simple and attractive.  From his work, I created the <a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1">xetexCV document class</a>.  Additional research turned up an add-on module that makes it convenient to automatically generate a list of publications.  So, for the first time  in a great while, I have finally found a way to automatically generate a publications list in a simple and automated manner.  In this article, I will demonstrate how that is done.</p>
<p><span id="more-1332"></span></p>
<h2>The Basic Requirements</h2>
<p>For any automated solution to be successful, it needs to meet three primary criteria:</p>
<ul>
<li>When generating a list of references, bibliographic details should be pulled from the database.  This ensures that the information is always up to date.</li>
<li>The citation style must be customizable. I want the ability to specify whether my CV includes page numbers and hyperlinks.  Not all citation styles do.</li>
<li>The publication list should be broken into different categories.  Book chapters should not be listed with peer-reviewed journal articles, nor should abstracts be listed amongst the books.</li>
</ul>
<h2>cvsplitbib and xetexCV</h2>
<p>All three of these requirements can be met by using the xetexCV document class and the cvsplitbib style (both are provided in this <a href="http://www.oak-tree.us/stuff/LyX/xetexCV.zip">zipped directory</a>).  cvsplitbib is a version of regular <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/splitbib/">splitbib</a>, a package that makes it possible to create categories in your bibliography. While all of the main features work as described in the <a href="ftp://indian.cse.msu.edu/pub/mirrors/CTAN/macros/latex/contrib/splitbib/splitbib.pdf">splitbib manual</a>, the macros have been changed to use the \cvsection and \cvsubsection macros of the xetexCV document class.  This ensures that formatting and indentation of the publications list is consistent with the rest of the document.</p>
<p>This combination also has an additional benefit.  Because cvsplitbib works entirely through LaTeX, any bibtex citaiton style can be used.  In the example below, I&#8217;ve used the the &#8220;plain&#8221; style, though it would have been just as easy to use ama, MLA, chicago or any other style in my distribution.</p>
<p><em>Note: There is an important difference between cvsplitbib and splitbib.  In the standard version of splitbib, it is possible to create subsubcategories (a second level of nested references).  Cvsplitbib does not support this as xetexCV does not define a \cvsubsubsection macro.</em></p>
<h2>Creating a Categorized List</h2>
<p>Creating different bibliography sections is achieved through the use of the “category” environment.  The arguments of the environment define the title of the section while the \SBentries macro is used to specify the citation key of any reference that should be included in that particular list.</p>
<p><em>Note: Citation keys should be added as a list separated by commas, any spaces will result in an error.</em></p>
<p>The following example creates a categorized bibliography with three different sections (<em>Novels</em>, <em>Children’s Literature</em> and <em>Comics, Graphic Novels</em>).  The bibliography data is pulled from the file “NeilGaiman-Publications.bib”, part of the xetexCV examples (see below):</p>
<blockquote><p>\begin{category}[A]{Novels}<br />
\SBentries{Gaiman2001-American-Gods,Gaiman2005-Anansi,<br />
Gaiman1990-Good-Omens,Gaiman1996-Neverwhere,<br />
Gaiman1999a-Stardust,Gaiman1985-Ghastly}<br />
\end{category}</p>
<p>\begin{category}[B]{Children&#8217;s Literature}<br />
\SBentries{Gaiman1998a-Goldfish,Gaiman2008-Graveyard}<br />
\end{category}</p>
<p>\begin{category}[C]{Comics and Graphic Novels}<br />
\SBentries{Gaiman1994b-Angela,Gaiman1993-Angels,<br />
Gaiman1989-Black-Orchid,Gaiman1993a-<br />
Books-Magic,Gaiman1994a-Death-Living,Gaiman1997-Death-Time-Life,<br />
Gaiman2000a-Green-Lantern,Gaiman2003-Marvel-1602,<br />
Gaiman1999-Midnight-Days,Gaiman1994-Anthology-Virus,<br />
Gaiman2000-End-World,Gaiman1992-Signal-to-Noise,<br />
Gaiman1998b-Smoke-Mirrors,Gaiman1998-Inkeeper,<br />
Gaiman1991-Sandman,Gaiman1987-Violent-Cases}<br />
\end{category}</p></blockquote>
<p>Any reference that is not included in a specified category will be added to a fourth category, titled: “Miscellaneous”.</p>
<h2>Generating the Bibliography</h2>
<p>Once the various references have been categorized, you can generate the bibliography as you would in any other document:</p>
<blockquote><p>\nocite{*}\bibliographystyle{plain}<br />
\bibliography{NeilGaiman-Publications}</p></blockquote>
<p>Here the \nocite{*} command is used to list all of the publications in the .bib database.  \bibliographystyle{plain} specifies the BibTeX style to use, and \bibliography{Database-Name} tells BibTeX which database file to pull the information from.  Part of the formatted output from the example is shown below.</p>
<p><img style="display: inline; border-width: 0px;" title="image" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/12/image.png" border="0" alt="image" width="525" height="210" /></p>
<h2>Examples and Class Files</h2>
<ul>
<li><a href="http://www.oak-tree.us/stuff/LyX/xetexCV.zip">Document Class and Examples (.zip)</a>.  This file contains the document class, cvsplitbib package, examples and other supporting files.</li>
<li>Neil Gaiman (Automatic Bibliography).  <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/example3-xetexCV-AutomaticBib.tex">LaTeX Source</a>, <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/example3-xetexCV-AutomaticBib.pdf">PDF Output</a>, <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/NeilGaiman-Publications.bib">Reference Database</a></li>
<li>Albert Einstein.  <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/example-xetexCV.tex">LaTeX Source</a>, <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/example-xetexCV.pdf">PDF Output</a></li>
<li>Isaac Newton.  <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/example2-xetexCV.tex">LaTeX Source</a>, <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/example2-xetexCV.pdf">PDF Output</a></li>
</ul>
<p>______________________________________________________</p>
<h2>Acknowledgements and Further Reading</h2>
<p>The xetexCV document style is based on work from <a href="http://nitens.org/taraborelli/home">Dario Taraborelli’s website</a>.  The cvsplitbib package is a modified version of <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/splitbib/">splitbib</a>, by <a href="http://www.lsv.ens-cachan.fr/~markey/">Nicolas Markey</a>.</p>
<p>This article is part 3 of a four part series.  <a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2">Part 1</a> introduces the xetexCV document class and describes its use.  <a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2">Part 2</a> dissects the code and explains how it works.  Part 4 describes how to use the document class and a corresponding layout file with LyX<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1" rel="bookmark" title="November 25, 2009">Typeset Your Curriculum Vitae &ndash; Part 1: The xetexCV Document Class</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/08/23/time-drive-bugs" rel="bookmark" title="August 23, 2009">Filing Bugs for Time Drive or LyX-Outline</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2" rel="bookmark" title="November 30, 2009">Typeset Your Curriculum Vitae &ndash; Part 2: Extending and Customizing an Existing Document Class</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/12/08/ironpython-part7" rel="bookmark" title="December 8, 2008">Learning IronPython &#8211; Part 7 &#8211; A Summary of Lessons Learned</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/10/05/install-timedrive-ubuntu" rel="bookmark" title="October 5, 2009">Install Time Drive On Ubuntu and Other Debian Linux Distributions</a></li>
</ul>
<p><!-- Similar Posts took 15.788 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3">Typeset Your Curriculum Vitae &ndash; Part 3: Automatically Generate a List of Publications</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Typeset Your Curriculum Vitae &#8211; Part 2: Extending and Customizing an Existing Document Class</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2</link>
		<comments>http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2#comments</comments>
		<pubDate>Mon, 30 Nov 2009 18:54:16 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Writing and Literature]]></category>
		<category><![CDATA[rapidBOOKS]]></category>
		<category><![CDATA[Curiculum Vitae]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Typesetting]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1327</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Typeset+Your+Curriculum+Vitae+%26ndash%3B+Part+2%3A+Extending+and+Customizing+an+Existing+Document+Class&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-30&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2&amp;rft.language=English"></span>
Many first-time users of LaTeX often mistakenly look at the language as a a type of glorified word processing software – albeit a particularly complicated one.  While such an analogy may be apt in helping new users become acclimatized to the language, it suffers from a rather nasty problem: LaTeX isn’t a word processor. If [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2">Typeset Your Curriculum Vitae &ndash; Part 2: Extending and Customizing an Existing Document Class</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Typeset+Your+Curriculum+Vitae+%26ndash%3B+Part+2%3A+Extending+and+Customizing+an+Existing+Document+Class&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-30&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2&amp;rft.language=English"></span>
<p><img src="http://www.wordinfo.info/words/images/evolution-man-computer.gif" alt="" /></p>
<p><!--adsensestart--></p>
<p>Many first-time users of LaTeX often mistakenly look at the language as a a type of glorified word processing software – albeit a particularly complicated one.  While such an analogy may be apt in helping new users become acclimatized to the language, it suffers from a rather nasty problem: LaTeX isn’t a word processor.</p>
<p>If anything, LaTeX shares more in common with a programming languages than any type of application.  In fact, the document processing system is really nothing more than a bunch of re-usable pieces of programming called macros.  <em>Everything </em>is a macro.  That includes the commands that every user is familiar with: \title{}, \section{}, \subsection{}; in addition to the internal formatting commands that allows LaTeX to function.  (Most of the macros were originally created or packaged by <a href="http://en.wikipedia.org/wiki/Leslie_Lamport">Leslie Lamport</a> as a way of making TeX – the typesetting system created by <a href="http://www-cs-faculty.stanford.edu/~knuth/">Donald Knuth</a> – easier to work with.)</p>
<p>This has some rather practical consequence; because everything in LaTeX is a macro, it is far more extensible than a word processor could ever hope to be.  If you require a feature that doesn’t yet exist, it typically isn’t all that difficult to add it.  And when your extension is packaged inside a style or class, you can use those customizations in anything that you want to write.</p>
<p>But though creating macros isn’t particularly complicated, it is a different beast than just using the stock macros for writing.  This is not surprising, the craft of design is inherently different than the craft of writing.  There are different conventions to follow and different topics to obsess about.  In the <a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1">first article</a> of this series, I introduced the <a href="http://www.oak-tree.us/stuff/LyX/xetexCV.zip">xetexCV document class</a>, which is one example of where I decided to don the designer hat.</p>
<p>But before you get too far down the road of customizing and extending, there are a some important things that you need to know.  These include the general conventions used when working with document classes, their internal anatomy, an understanding of how macros are created, and how to handle formatting and layout challenges.  In this article, I will look at these issues more in detail, particularly as they pertain to xetexCV.  In the process of reviewing these topics, I will also explain some of my design choices.</p>
<p><span id="more-1327"></span></p>
<h2>Understanding Conventions</h2>
<p>When trying to customize or extend a document class, perhaps the very first thing to understand is that there are certain conventions.  The document “LateX 2E for class and package designers” describes them this way:</p>
<blockquote><p>LaTeX has three types of commands.</p>
<p>There are the author commands, such as \section, \emph and \times: most of these have short names, all in lower case.</p>
<p>There are also the class and package writer commands.  Most of these have long mixed-case names such as the following:</p>
<p>\InputIfFileExists    \RequirePackage    \PassOptionsToClass</p>
<p>Finally, there are the internal commands used in the LaTeX implementation, such as \@tempcnta, \@ifnextchar and \@eha: most of these commands contain @ in their names, which means they should not be used in documents, only in class and package files.</p></blockquote>
<p>These conventions help to better separate  procedural formatting from the descriptive tags used in writing a document.  But it also makes it easier to identify what different sections of the code do.  Sections that are responsible for importing and configuring packages will typically use mixed case names, while variables will contain the @ symbol, and user facing macros will be in lower case.</p>
<h2>The Internal Anatomy of a Document Class</h2>
<p>The next important thing to understand is that all document classes have a few well defined components.  That is to say, they have an internal anatomy which contributes to their function and physiology.  The internal bits include the class description and required statements, a block that imports and configures packages which new features will depend on, and a section where new macro commands are created or existing commands are redefined.</p>
<h3>Class Description and Required Statements</h3>
<h4>\ProvidesClass</h4>
<p>The very first such section gives the package name and description.  Also included is a definition of the most recent version of LaTeX that the document class will work with.  The relevant code from xetexCV is shown below:</p>
<blockquote><p>\NeedsTeXFormat{LaTeX2e}<br />
\ProvidesClass{xetexCV}[2009/11/30 – Modern looking résumé which uses<br />
the xetex typesetting system]<br />
…</p></blockquote>
<p>Here, the \NeedsTeXFormat{LaTeX2e} command is the earliest version of LaTeX that the document class will work with.  \ProvidesClass{xetexCV} identifies the class name (xeteCV) and everything in square brackets is the document description.</p>
<h4>\LoadClassWithOptions</h4>
<p>Generally speaking, there are two major types of LaTeX document classes: those that are free standing, and those that are variations of other document classes.  The standard classes (article.cls, report.cls, and book.cls) are examples of the former.  They contain all of the code needed to compile and work without additional extensions.  xetexCV, is an example of the second type.</p>
<p>To load an existing class as the foundation, you can use the \LoadClassWithOptions macro:</p>
<blockquote><p>…<br />
\LoadClassWithOptions{article}<br />
…</p></blockquote>
<p>xetexCV uses “article” for its foundation.  For that reason it is likely that other packages and styles will work without conflict.</p>
<h3>Building on the Foundation</h3>
<h4>\RequirePackage</h4>
<p>After the base class has been loaded, the new package is fully functional, if identical to the foundation class.  The next step in the customization process, then, is to begin adding new features and modifying old ones.  In the case of xetexCV, there were several changes which I wanted to make.  First,  I wanted to use an 8 1/2 inch by 11 inch paper (US letter) by default.  I also wanted to set a 1 inch margin.  Next, I wanted to use the XeTeX typesetting system and a pair of advanced OpenType fonts.</p>
<p>These changes are made through the use of other LaTeX packages.  In a document class, add-on modules are loaded through the \RequirePackage command.  Below is the related code from xetexCV:</p>
<blockquote><p>…<br />
\RequirePackage{fontspec}<br />
\RequirePackage{xunicode}<br />
\RequirePackage{xlxtra}</p>
<p>\RequirePackage{graphicx}<br />
\RequirePackage[colorlinks]{hyperref}</p>
<p>\RequirePackage{ifthen}<br />
…</p></blockquote>
<p>The first three packages (fontspec, xunicode, and xlxtra) are used by XeTeX to set fonts and provide unicode support.  <a href="http://www.ctan.org/tex-archive/help/Catalogue/entries/fontspec.html">fontspec</a>, in particular, is very important.  It provides convenience macros that make it easy to change the the various font families: \setmainfont{fontname}, \setromanfont, \setsansfont, and \setmonofont.  It also provides a way to manipulate font mappings, color, scaling, and inter-word spacing.  graphicx is used to add images to the document and manipulate their size.</p>
<p>hyperref makes it possible to add clickable hyperlinks and bookmarks.  The [colorlinks] option specifies that these special links should be rendered in a different color than other text.  The hyperref package is then configured using the \hypersetup{} macro.  By default, I’ve configured xetexCV to use blue for urls and webpages and black for filenames:</p>
<blockquote><p>\hypersetup{linkcolor=blue,citecolor=blue,filecolor=black,urlcolor=blue}</p></blockquote>
<p>The ifthen package provides several macros that make it easier to apply conditional formatting.  These will be discussed in more detail below.</p>
<h3>Creating New Features and Modifying Old Ones</h3>
<p>The last major section of a document class is where new macros are defined and old ones are modified.  As might be expected, this section typically accounts for the majority of the code.</p>
<h4>\def and \newcommand</h4>
<p>There are two major commands used to define macros and variables: \def and \newcommand.  \def is a TeX primitive while \newcommand is a LaTeX macro that checks for name clashes or other problems.  In many cases, they may be used interchangeably or in concert.  Consider the code block below which defines the \cvname macro:</p>
<blockquote><p>…<br />
\def\@cvname{\relax}<br />
\newcommand{\cvname}[1]{\gdef\@cvname{#1}}<br />
…</p></blockquote>
<p>\@cvname (according to the LaTeX conventions) is a variable/macro which should only be used from inside the LaTeX document class.  Consequently, it needs a user-facing macro that can be used to assign it a value.  This is what \cvname does.  In this example, the first line of code creates the variable and assigns it the LaTeX equivalent of a null value (\relax).  The second line is a little more interesting.  It defines a macro called \cvname with one argument [1].  Then, it takes the \cname argument and assigns it to \@cvname.</p>
<p>A second, related example can be seen in the definitions of \@cvimage and \cvimage:</p>
<blockquote><p>…<br />
\def\@cvimage{\relax}<br />
\newcommand{\cvimage}[1]{\gdef\@cvimage{#1}}<br />
…</p></blockquote>
<p>Again, the first line of code creates a variable (\@cvimage) with a null value, and the second line creates the user facing macro (\cvimage).  In later commands, the internal variables are used for layout and formatting (see below).</p>
<h4>\renewcommand</h4>
<p>If I need to modify a particular piece of code, those changes can be made using the \renewcommand macro.  This is similar to over-riding a method in an object-oriented programming language like C++ or Python.  Everything that hasn’t been changed continues to work as before.  In xetexCV, I wanted to modify the \section and \subsection macros.  To do so requires \@startsection and six arguments:</p>
<blockquote><p>\@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}</p>
<p>Generic command to start a section.</p>
<p>NAME : e.g., “subsection”<br />
LEVEL : a number, denoting the depth of the section in the table of contents<br />
INDENT : Indentation of the heading from the left margin<br />
BEFORESKIP : Space to leave above the heading<br />
AFTERSKIP : Space to leave after the heading<br />
STYLE : Commands to set the font and style of the heading</p></blockquote>
<p>I, therefore, copied over the definitions from article.cls and modified the spacing and fonts:</p>
<blockquote><p>\renewcommand\section{\@startsection<br />
{section}{1}{\z@}%<br />
{-3.5ex \@plus –1ex<br />
\@minus -.2ex \vspace{1mm}}%<br />
{0.5mm}%<br />
{\sffamily\large\bfseries}}</p>
<p>\renewcommand\subsection{\@startsection<br />
{subsection}{1}{\z@}%<br />
{-3.5ex \@plus -1ex \@minus -.2ex}%<br />
{3.0mm}%<br />
{\sffamily\mdseries}}</p></blockquote>
<p>But while I chose to completely rewrite my section definitions, much the same thing could have been accomplished through the <a href="http://www.ctan.org/tex-archive/help/Catalogue/entries/sectsty.html">sectsty package</a>.  Despite the ease of sectsty, I felt that it would be better to define my styles from scratch.  sectsty often throws errors when used with other document classes, like scrbook.</p>
<h2>Rules for Creating New Macros</h2>
<p>The third important thing to understand when writing a document class is when you should add new macros rather than modifying the behavior of old ones.  In trying to make this decision, it is good to think about how changing a macro’s behavior will influence other document features.  In cases where a change might cause other features to break, it is better to add a new macro.</p>
<h3>Managing Complex Formatting &#8211; \cvsection and \cvsubsection</h3>
<p>While I was redefining the \section and \subsection macros, I ran into one such difficulty.  I wanted to set one indentation level for the header and another for the body text.  Further, I wanted to include a decorative line following the header.  Yet, no matter how I chose to define the STYLE or AFTERSKIP arguments, I couldn’t quite achieve the formatting I wished (shown below).</p>
<p><img style="display: inline; border-width: 0px;" title="image" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/image6.png" border="0" alt="image" width="600" height="149" /></p>
<p>I finally decided that the formatting was too complex and required a new macro that could be used instead of \section and \subsection.  These new additions became \cvsection and \cvsubsection:</p>
<blockquote><p>\newcommand{\cvsection}[1]{\leftskip 0cm<br />
\section*{#1}\decorativeline\marginpar{\vspace{0.3ex}}<br />
\leftskip 116pt}</p></blockquote>
<p>As in the previous examples, \newcommand was used to define a code block with a single argument – the text to be formatted).  Then, I specified the procedure that I wanted to apply to the text</p>
<ul>
<li>The left text margin is moved so that it is flush with the page margin (\leftskip 0cm)</li>
<li>A non-numbered section header is added (\section*{#1})</li>
<li>The  decorative line is included (\decorativeline)</li>
<li>The text indentation is returned to the previous value (\leftskip 116pt).</li>
</ul>
<p><!--adsensestop--></p>
<p>The definition of \cvsubsection is similar, with two exceptions.  First, the \cvsubsection style does not include a decorative life.  The second major difference is more substantial.  I found the vertical spacing <em>preceding</em> the \subsection definition to be too large, I therefore moved the entire text block up by 0.2 cm (\vspace{-0.2cm}).  This was ultimately easier than trying to find a better value for the BEFORESKIP argument:</p>
<blockquote><p>\newcommand{\cvsubsection}[1]{\leftskip 0cm \vspace{-0.2cm}<br />
\subsection*{#1}\vspace{1.0mm} \leftskip 116pt}</p></blockquote>
<p><em>Note: When given a negative value, \vspace moves up the block of text by the specified amount</em>.</p>
<h2>Layout and Formatting<img style="margin: 0px 0px 10px 15px; display: inline; border-width: 0px;" title="image" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/image7.png" border="0" alt="image" width="387" height="245" align="right" /></h2>
<p>One of the very best features of TeX is the automatic layout algorithm that it uses to position content.  In nearly all cases, allowing for LaTeX to manage spacing and layout will result in a better looking document than if you try and do so yourself.  There will be circumstances, however, where it is necessary to manually specify the position of photos or text in a more precise manner.</p>
<p>In xetexCV, there are two such cases.  In the first, special handling is required so that the CV contact information is correctly labeled and typeset.  Additional formatting commands are required so that the images and text of the title section have a “balanced” feel to them.  All of this processing occurs in the \makecvtitle macro.</p>
<h3>Conditional Formatting &#8211; \ifthenelse</h3>
<p>While it may appear simple, the formatting of the xetexCV contact section (which includes the institution, address, phone, fax, email and website information) is rather involved.  First, in order to simplify the use of the document class, I chose to add this information through the use of special macros (\email, \website\, \cvname, etc.).  Because the information is added through tags, this means that logical rules must be set up to handle to handle the layout.  What should happen, for example, if a fax number or website isn’t supplied?</p>
<p>The obvious answer is that the information should be left out of the contact details.  That also means that the label (“Fax:”, “Phone:”, “Email:”) should be omitted.  To accomplish this goal requires conditional formatting, better known to programmers as the “if, then, else” loop.  “If” a condition exists, “then” do one thing, “else” do another.</p>
<p>In LaTeX, conditional formatting is performed by the “ifthen” package and uses the \ifthenelse macro.</p>
<p>\ifthenelse takes three arguments:</p>
<blockquote><p>\ifthenelse{CONDITION}{IF TRUE}{ELSE}</p>
<p>CONDITION : The test condition, often expressed as \equals{VARIABLE}{VALUE}<br />
IF TRUE : The code that should be executed if the condition is satisfied<br />
ELSE : What to do if the condition is false</p></blockquote>
<p>At several instances in xetexCV, \ifthenelse is used to test if there is a null (or empty) value for a particular tag.  In the cases where it finds a null value, then no formatting commands are executed.  If, however, there is a value, then text is added.  A few of the simpler examples are shown below:</p>
<blockquote><p>\ifthenelse{\equal{\@phonenumber}{\relax}}<br />
{}{Phone: \texttt{\@phonenumber}\\}<br />
\ifthenelse{\equal{\@faxnumber}{\relax}}<br />
{}{Fax: \texttt{\@faxnumber}\\[0.2cm]}<br />
\ifthenelse{\equal{\@email}{\relax}}<br />
{}{Email: \href{mailto:\@email}{\@email}\\}<br />
\ifthenelse{\equal{\@website}{\relax}}<br />
{}{Website: \href{\@website}{\@website}\\}</p></blockquote>
<p>In each of these cases, the \equal macro is used to check if the pertinent variable (specified by the \@ symbol) still has a value of \relax (\equal{\@variablename}{relax}).</p>
<p><em>Note: \relax can be thought of as an equivalent to null in other language.</em></p>
<p>If the value is still set to \relax, then nothing is done (denoted by the empty diamond brackets).  If there is a non-null value, however, then the appropriate label and formatted text is added to the document.</p>
<p>While these examples are relatively simple, the same principle can be used to for very complicated formatting.  \makecvtitle, for example, uses a similar conditional statement to see if the user has specified an image.  If not, then it will use one formatting style for the entire title section.  If so, then it uses the layout shown in the examples.</p>
<h3>Balancing Images and Text &#8211; \makecvtitle</h3>
<p>In addition to the conditional formatting issues, \makecvtitle must also wrestle with the best way of creating a single, unified title block.  The CV name, contact information and photo should all be included.  Moreover, subsequent sections should be added after the end of the photo, rather than wrapping around it.  One of the easiest ways to create such a unified block of content is to use the minipage environment.</p>
<p>The minipage is extremely flexible.  It can have text, formatting and image within a self-enclosed space.  Furthermore, they can be embedded within one another.  By creating a series of embedded minipages (as shown below), you can group related content.  You can additionally specify how wide you want each minipage environment to be, or you can let the LaTeX engine make those determinations.</p>
<p><em>Note: An additional advantage of minipage is that any footnotes added to text within the minipage are  part of that environment instead of the main document.  This is useful for adding footnotes to figures or text.  Accomplishing the same thing in Microsoft Word without tedious manual formatting is impossible.</em></p>
<p><img style="display: inline; border-width: 0px;" title="Embedded Minipages" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/EmbeddedMinipages.png" border="0" alt="Embedded Minipages" width="400" height="365" /></p>
<p>I’ve used this strategy to ensure that text containing the contact details is properly aligned against the cv photo.  The minipage environment from xetexCV is shown below:</p>
<blockquote><p>\begin{minipage}{6in}<br />
\begin{minipage}{114pt}<br />
\resizebox*{100pt}{!}<br />
{\includegraphics{\@cvimage}}<br />
\end{minipage}<br />
\begin{minipage}{4in}<br />
\ifthenelse{\equal{\@institution}{\relax}}<br />
{}{\bfseries\@institution\\}<br />
\mdseries\@contactaddress\\[0.2cm]<br />
\ifthenelse{\equal{\@phonenumber}{\relax}}<br />
{}{Phone: \texttt{\@phonenumber}\\}<br />
\ifthenelse{\equal{\@faxnumber}{\relax}}<br />
{}{Fax: \texttt{\@faxnumber}\\[0.2cm]}<br />
\ifthenelse{\equal{\@email}{\relax}}<br />
{}{Email: \href{mailto:\@email}{\@email}\\}<br />
\ifthenelse{\equal{\@website}{\relax}}<br />
{}{Website: \href{\@website}{\@website}\\}<br />
\end{minipage}<br />
\end{minipage}</p></blockquote>
<p>As you may notice, there are three embedded minipages here (the main minipage and two sub pages).  The main minipage is set to span the entire width of the text.  However, the first embedded minipage is only 114 pt in width (about 1.6 inches).  Within this first box, I place the cvphoto, resized to a width of 100 pt:</p>
<blockquote><p>\resizebox*{100pt}{!}<br />
{\includegraphics{\@cvimage}}</p></blockquote>
<p><em>Note: The {!} argument in \resizebox allows the image to stretch proportionally in the vertical direction.</em></p>
<p>The second minipage is allowed to take up the rest of the paper width and includes the conditional formatting for the contact details.</p>
<h2>Conclusion</h2>
<p>Through the use of custom formatting, packages and macros, I’ve created a document that is substantially different from the foundation class (article.cls).  Despite those differences, nearly every major customization was made using simple LaTeX macros which many users will be familiar with.  Further, because it is built on a solid foundation, the ability to use other add-on packages is retained.</p>
<p>Extending an existing document class does not need to be difficult.  It is possible to use many of the commands used for writing a document.  Additionally, the modifications could be packaged as a style (.sty) and used to enhance any content that I might write in the future.</p>
<p>This flexibility is one of the reasons why LaTeX is such a good candidate for the typesetting of scientific and technical material.  It’s also why LaTeX is a good candidate for creating design heavy documents, such as a curiculum vitae.</p>
<p>______________________________________________________</p>
<h2>Acknowledgements and Further Reading</h2>
<p>Additional information on the structure of document classes can be found in the article “<a href="http://www.tug.org/TUGboat/Articles/tb28-1/tb88flynn.pdf">Rolling your own Document Class: Using LaTeX to keep away from the Dark Side</a>” by Peter Flynn of Silmaril Consultants.</p>
<p>A second article called “<a href="http://www.tug.org/TUGboat/Articles/tb29-3/tb93mansfield.pdf">How to develop your own document class – our experience</a>” describes additional techniques for documents that might have non-standard formatting.  It outlines several common mistakes and ways to get avoid them.</p>
<p>This article is part 2 of a four part series.  <a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1">Part 1</a> introduces the xetexCV document class and describes its use.  <a href="http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3">Part 3</a> shows how to generate a publications list through the use of a .bib database and custom BibTeX style.  Part 4 describes how to use the document class and a corresponding layout file with LyX.<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1" rel="bookmark" title="November 25, 2009">Typeset Your Curriculum Vitae &ndash; Part 1: The xetexCV Document Class</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles" rel="bookmark" title="November 14, 2009">Customizing LyX: Character Styles and the LyX Local Layout</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3" rel="bookmark" title="December 2, 2009">Typeset Your Curriculum Vitae &ndash; Part 3: Automatically Generate a List of Publications</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/11/19/ironpython-part3" rel="bookmark" title="November 19, 2008">Learning IronPython – Part 3 – A Beautiful Start</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/03/04/perfect-tool" rel="bookmark" title="March 4, 2009">Creating the Perfect Writing Tool: A Proposal</a></li>
</ul>
<p><!-- Similar Posts took 21.313 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2">Typeset Your Curriculum Vitae &ndash; Part 2: Extending and Customizing an Existing Document Class</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Typeset Your Curriculum Vitae &#8211; Part 1: The xetexCV Document Class</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1</link>
		<comments>http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1#comments</comments>
		<pubDate>Wed, 25 Nov 2009 04:02:27 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Writing and Literature]]></category>
		<category><![CDATA[rapidBOOKS]]></category>
		<category><![CDATA[Curiculum Vitae]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Typesetting]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1321</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Typeset+Your+Curriculum+Vitae+%26ndash%3B+Part+1%3A+The+xetexCV+Document+Class&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-25&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1&amp;rft.language=English"></span>
Very few documents are more personal than a curriculum vitae (CV).  A CV lists a person’s educational history, who they’ve worked for and what they’ve accomplished.  Moreover, a CV is frequently used to judge a person’s inherent worth and value (or at least exploitability).  A quality curiculum vitae matters, a lot. For that reason, a [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1">Typeset Your Curriculum Vitae &ndash; Part 1: The xetexCV Document Class</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Typeset+Your+Curriculum+Vitae+%26ndash%3B+Part+1%3A+The+xetexCV+Document+Class&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-25&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1&amp;rft.language=English"></span>
<p><!--adsensestart-->Very few documents are more personal than a curriculum vitae (CV).  A CV lists a person’s educational history, who they’ve worked for and what they’ve accomplished.  Moreover, a CV is frequently used to judge a person’s inherent worth and value (or at least exploitability).  A quality curiculum vitae <em>matters</em>, a lot.</p>
<p>For that reason, a CV not only needs to include all the pertinent information of a person’s life, but it also needs to look <em>good. </em>An attractive CV with good spacing and contrast leaves a positive impression and makes it easier to find information.  When laid out correctly, a reviewer might just find themselves scouring past accomplishments for interesting tidbits: “I didn’t realize that this applicant organized a lecture series with Patch Adams and other notables, that’s <em>interesting</em>!”</p>
<p><span id="more-1321"></span>There are many dedicated CV classes which can be used to typeset a CV with LaTeX.  Unfortunately, they all share one thing in common: they’re complicated.  To ensure that the spacing and fonts are correct, far too often a document based on these classes will devolve into a jumbled mess of tags and obscure page layout commands.</p>
<p>I’ve tried to typeset my CV with LaTeX a number of times, and in nearly every case, I’ve been unhappy with the output.  Sure, the end product is attractive <em>enough; </em>but it doesn’t quite match the CV that I have in my head.  To really arrive at my coveted ideal of perfection, I would need to manually specify the font and position of nearly every element on the page; which is why I’ve normally used a dedicated layout program (such as Adobe InDesign) for the job.</p>
<p>This is unfortunate, however, since a CV based on LaTeX would be much easier to keep current.  Additionally, a well designed document class and corresponding BibTeX style would allow me to use my existing bibliographic database to automate the process.</p>
<p>Thus, any time that I need to make major updates, I always check the internet for information and new LaTeX classes.  While conducting one such review a few days ago, I came across <a href="http://nitens.org/taraborelli/cvtex">a very interesting article</a> and set of examples by <a href="http://nitens.org/taraborelli/home">Dario Taraborelli</a> of the <a href="http://cress.soc.surrey.ac.uk/">University of Surrey</a>.  In his write-up, Dr. Taraborelli expresses frustrations which are similar to my own;  but instead of complaining and throwing his hands up in exasperation, he went on to solve the problems in an elegant way.</p>
<p>Rather than use or modify one of the existing CV classes (as I would have done), Taraborelli opted to extend the article class by adding additional features.  Perhaps the most important addition was the use of <a href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=XeTeX">XeTeX</a> and the \fontspec package, which allows for OpenType or <a href="http://nitens.org/taraborelli/latex">expert fonts</a> to be used and other advanced features.  The end result of this work is an attractive and <em>flexible </em>document template.</p>
<p>Dr. Taraborelli’s example also shows how easy it can be to extend an existing document class to meet a more specific need.  As I read through the example code, I realized that it would be straightforward to build upon his work and create something that would suit my particular aesthetic.<!--adsensestop--></p>
<p>So … I did, and this series is the result of my efforts.</p>
<p>In the remainder of this article, I will introduce the new CV document class I created (called xetexCV) and provide a few examples of how to work with it.  In <a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2">part 2</a>, I will dissect the class code and explain how it works.  I will also provide hints on how it might be modified.  In <a href="http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3">part 3</a>, I will show how to generate a publications list through the use of a .bib database and custom BibTeX style.  In Part 4, I will describe how the document class and corresponding layout file can be used with LyX.</p>
<p><img style="display: inline; border-width: 0px;" title="image" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/image3.png" border="0" alt="image" width="550" height="286" /></p>
<h2>xetexCV – An Attractive and Easy to Use CV Document Class</h2>
<h3>Downloads and Installation</h3>
<p>All of the files needed to use the class (including xetexCV.cls, examples and supporting files) can be found <a href="http://www.oak-tree.us/stuff/LyX/xetexCV.zip">here</a>.  To install, copy to an appropriate folder in your tex path and refresh the tex database:</p>
<blockquote><p>sudo texhash</p></blockquote>
<h4>Package Requirements</h4>
<ul>
<li>XeTeX Typesetting Engine.  For users of Mac OS X and Windows, XeTeX is included in the MacTeX and MikTeX distributions (respectively).  Users of Linux, however, will need to install the texlive-xetex package</li>
<li>Fontspec package (included with MacTeX, MikTeX or texlive-xetex)</li>
<li>OpenType Expert Fonts.  By default, the document class uses <a href="http://www.josbuivenga.demon.nl/fontin.html">Fontin</a> and <a href="http://www.josbuivenga.demon.nl/fontinsans.html">Fontin sans</a>.</li>
</ul>
<h3>Curiculum Vitae Examples</h3>
<ul>
<li>Albert Einstein.  <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/example-xetexCV.tex">LaTeX Source</a>, <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/example-xetexCV.pdf">PDF Output</a></li>
<li>Isaac Newton.  <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/example2-xetexCV.tex">LaTeX Source</a>, <a href="http://www.oak-tree.us/stuff/LyX/xetexCV/example2-xetexCV.pdf">PDF Output</a></li>
</ul>
<h3>xetexCV Class Usage</h3>
<p>To use the xetexCV class, there are a few important macros.  These include:</p>
<ul>
<li>The \makecvtitle macro and title block tags</li>
<li>The \cvsection and \cvsubsection macros</li>
<li>The \years tag for hanging notes</li>
</ul>
<h4>\makecvtitle</h4>
<p>The title block is created through the use of the \makecvtitle macro.  The name, institution and contact information are all specified by descriptive tags.  The example below shows what these are and how they are used:</p>
<blockquote><p>\documentclass{xetexCV}</p>
<p>\cvname{Albert Einstein}<br />
\cvimage{Albert-Einstein.jpg}<br />
\institution{Institute for Advanced Study}</p>
<p>\contactaddress{Einstein Drive\\<br />
Princeton, New Jersey 08450<br />
United States of America}</p>
<p>\phone number{609-734-8000}<br />
\faxnumber{609-924-8399}<br />
\email{a.einstein@ias.edu}<br />
\website{http://www.ias.edu/spfeatures/einstein}</p>
<p><img style="margin: 0px 0px 0px 15px; display: inline; border-width: 0px;" title="image" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/image4.png" border="0" alt="image" width="335" height="322" align="right" />\makecvtitle</p></blockquote>
<h4>\cvsection and \cvsubsection</h4>
<p>Sections and subsections can be added through the \cvsection{section name} and \cvsubsection{subsection name} macros.  The following codeblock creates the “Publications” section header and “Peer Reviewed Journals” subhead seen at right:</p>
<blockquote><p>\cvsection{Publications}<br />
\cvsubsection{Journal Articles}</p>
<p>…</p></blockquote>
<h4>Hanging Notes</h4>
<p>Hanging notes can be specified through the use of the \years macro.  This is helpful for typesetting education, employment history, and awards.  The following example produces the output seen below:</p>
<blockquote><p>\cvsection{Appointments Held}</p>
<p>University of Bern \years{1908-1911}\\<br />
University of Zurich \years{1911-1912}\\<br />
Charles University of Prague \years{1912-1914}\\<br />
Prussian Academy of Sciences, Berlin \years{1914-1932}\\<br />
University of Leiden \years{1920-1930}\\<br />
Institute for Advanced Study, Princeton \years{1932-1955}</p></blockquote>
<p><img style="display: inline; border-width: 0px;" title="image" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/image5.png" border="0" alt="image" width="431" height="160" /></p>
<h4>Choosing a Font</h4>
<p>To change the font, use the \fontspec package and appropriate \settext macro.  The example below shows how to change the main font and sans font to Warnock Pro and Frutiger LT Std (commercial fonts available as part of the Adobe Font Folio 11):</p>
<blockquote><p>\setmainfont[Ligatures={Common}, Numbers={OldStyle}]{Warnock Pro}<br />
\setsansfont{Frutiger LT Std}</p></blockquote>
<p>All of the examples shown here were typeset with Warner Pro and Frutiger.  By default, however, the document class uses <a href="http://www.josbuivenga.demon.nl/fontin.html">Fontin</a> and <a href="http://www.josbuivenga.demon.nl/fontinsans.html">Fontin sans</a>, which are available as free downloads.  Another excellent font alternative is <a href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;item_id=Gentium_basic">Gentium Basic</a>.  Because XeTeX can use OpenType fonts, however, you can use any font installed on your computer.</p>
<h3>Other Features</h3>
<ul>
<li>Font features such as ligatures and glyph variants can be accessed through the <a href="http://www.ctan.org/tex-archive/help/Catalogue/entries/fontspec.html">fontspec</a> package</li>
<li>The examples and class are unicode compatible.  This means means that you can write in Chinese, Cyrillic or Greek without additional packages</li>
</ul>
<p>______________________________________________________</p>
<h2>Acknowledgements and Further Reading</h2>
<p>As noted above, this document class is based on a <a href="http://nitens.org/taraborelli/cvtex">similar example</a> available from <a href="http://nitens.org/taraborelli/home">Dario Taraborelli’s website</a>.  Other examples of how to create a resume or CV are available from <a href="http://matthewm.boedicker.org/code/latex_resume_tips.php">Matthew Boedicker</a> and <a href="http://linux.dsplabs.com.au/resume-writing-example-latex-template-linux-curriculum-vitae-professional-cv-layout-format-text-p54/">Kamil Wójcicki</a>.<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2" rel="bookmark" title="November 30, 2009">Typeset Your Curriculum Vitae &ndash; Part 2: Extending and Customizing an Existing Document Class</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles" rel="bookmark" title="November 14, 2009">Customizing LyX: Character Styles and the LyX Local Layout</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/12/02/latex-cv-part3" rel="bookmark" title="December 2, 2009">Typeset Your Curriculum Vitae &ndash; Part 3: Automatically Generate a List of Publications</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/12/05/the-win32-api-and-simplicity" rel="bookmark" title="December 5, 2008">The Win32 API and Simplicity</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/12/14/wpf-svg-xaml-part2" rel="bookmark" title="December 14, 2008">WPF – SVG Graphics and XAML – Part 2</a></li>
</ul>
<p><!-- Similar Posts took 17.748 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1">Typeset Your Curriculum Vitae &ndash; Part 1: The xetexCV Document Class</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Customizing LyX: Character Styles and the LyX Local Layout</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles</link>
		<comments>http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles#comments</comments>
		<pubDate>Sat, 14 Nov 2009 21:00:00 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Writing and Literature]]></category>
		<category><![CDATA[rapidBOOKS]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[LyX]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1315</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Customizing+LyX%3A+Character+Styles+and+the+LyX+Local+Layout&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-14&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles&amp;rft.language=English"></span>
Imagine for a minute that you’re writing a book or technical manual.  Let’s say it’s a book on technology, maybe the open source tools used for scientific writing (to randomly pick an example).  As you write this book, you realize that you need some way to cue the reader into different parts of the text. [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles">Customizing LyX: Character Styles and the LyX Local Layout</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Customizing+LyX%3A+Character+Styles+and+the+LyX+Local+Layout&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-14&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles&amp;rft.language=English"></span>
<p><img style="margin: 0px 15px 10px 0px;" src="http://www.giovanniferranti.it/images/lyx_logo.png" alt="" align="left" />Imagine for a minute that you’re writing a book or technical manual.  Let’s say it’s a book on technology, maybe the open source tools used for scientific writing (to randomly pick an example).  As you write this book, you realize that you need some way to cue the reader into different parts of the text.</p>
<p>For instance, you might want all definitions to appear in bolded text so that a reader pick out key terms quickly.  Or you might want code examples to appear in a different font than the regular text, again, so they’re easy to find.  What’s the best way to do this?</p>
<p>Sure, you could just bold the definitions, or manually change the font for the code examples.  But that’s painful!  Changing typeface and size every time that you have a section of code will eventually result in a lot of lost time.  Moreover, you might make a mistake, which destroys your consistency and makes your writing look unprofessional.  There must be a better way!</p>
<p>Thankfully, there is.  It’s through the consistent use of styles.</p>
<p><span id="more-1315"></span></p>
<h2>Styles Defined</h2>
<p>A style is a collection of formatting commands with a meaningful name.  Examples in Microsoft Word include “Heading 1”, “Body”, and “Figure”.  When you use them consistently, styles allow for “logical markup” of a document.  That is to say, you tell the computer what the section, paragraph or text corresponds to and then it handles the formatting.  For this reason, styles form the basis of the “What You See Is What You Mean (WYSIWYM)” philosophy used by LyX and other “document processors&#8221;.</p>
<p>There are three major types of styles: section styles, paragraph styles and character styles.  You are likely familiar with section and paragraph styles, as they populate the main drop down box of LyX’s main toolbar. The most common section styles are: chapter, section, subsection.  Examples of paragraph styles include: standard text, quotations, and code.  But the third main type of style, “a character style” may be a stranger.  It isn’t as common as it’s two older brethren and easier to lose track of; which is a huge shame, because it is just as important.</p>
<p>Character styles, as the name implies, work on individual characters <em>within</em> the text of a paragraph.  To extend the examples given in the introduction, the most efficient way to bold a definition would be to use a pre-defined character style called “definition”.  Ditto for an in-paragraph sample of code.</p>
<p>“Now wait a minute,” you’re probably saying, “I’m not sure that I follow the difference between character styles and other text formatting commands like ‘bold’, ‘italic’, or ‘underline’!”</p>
<p>That is perfectly alright, the distinction can be a bit hazy.  Nonetheless, it is still key in understanding the difference between “logical markup” and formatting.  Let me see if I can clear it up.</p>
<p>As described above, a style is typically used to describe what a part of the document is, rather than how it should look.  Subsequently, you are unlikely to see a style called “bold”, “italic” or “center”.  Those terms describe how the text should appear; which is to say, they are formatting commands.  Bolded text uses a heavier line stroke and centered text appears in the middle of the page.  A style, on the other hand, is used to describe a “definition”.  You then associate that style with how you want “definition” to look.  It could be numbered, bolded and centered; or it might be larger than the surrounding text and italicized.  The appearance is determined by a “style sheet”.</p>
<p><em>Note: Since the use and customization of section and paragraph styles is well explained in the LyX help documentation, this article will focus on character styles.</em></p>
<h2>Using Character Styles in LyX</h2>
<p>LyX provides some common character styles through the use of its “Logical Markup” module.  These include styles for nouns, emphasizing text, and code – which may be useful for highlighting filenames or programming syntax within the body of the paragraph.</p>
<p>The character styles are not loaded by default, however.  Instead, they come as part of an optional module.  You can use them by going to the “<strong>Document-&gt;Settings-&gt;Modules”</strong> pane and adding “<strong>Logical Markup</strong>” to your document.</p>
<p><img style="display: inline; border-width: 0px;" title="LyX supports several character styles (including noun, emphasize, strong and code) through the &quot;Logical Markup&quot; module." src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/LyXModules.png" border="0" alt="LyX supports several character styles (including noun, emphasize, strong and code) through the &quot;Logical Markup&quot; module." width="600" height="436" /></p>
<p>Once the “<strong>Logical Markup</strong>” module has been loaded, you  use of apply a particular character style through the “<strong>Edit-&gt;Text Styles</strong>” menu, or by first highlighting a block of text and selecting “Text Style” from the right click context menu.</p>
<p><em>Note: The emphasize style is distinct in that it can also be toggled on and off through the “Ctrl+E” keyboard shortcut.</em></p>
<p><img style="display: inline; border-width: 0px;" title="You can add a character style to a document either through the &quot;Edit&quot; menu, or by selecting a block of text and then right clicking on it." src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/LyXCharacterStylesRightClick.png" border="0" alt="You can add a character style to a document either through the &quot;Edit&quot; menu, or by selecting a block of text and then right clicking on it." width="600" height="380" /></p>
<p>After you’ve formatted a block of text with character style, it will appear differently from the surrounding text.  It will not only use a different font, but will also be surrounded by a set of hash marks.  The example below shows a document with two instances of the “Code” character style.  Optionally, character styles have a label which you be toggled on and off.  The screen shot below shows what this looks like.  The first instance, “TEXMFLOCAL”, has the label toggled off while the instance, “/var/lib/texmf/tex/latex”, shows the same character style with the label visible.</p>
<p><img style="display: inline; border-width: 0px;" title="This example shows two blocks of text formatted with the &quot;code&quot; character style. " src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/image1.png" border="0" alt="This example shows two blocks of text formatted with the &quot;code&quot; character style. " width="581" height="79" /></p>
<h2>Customizing Character Styles</h2>
<p>But what if you need access to other character styles?  Perhaps you’re writing a novel and would like to have a dedicated style for specifying when a character is talking to himself (called internal dialogue)?  Or you’d finally get back to working on your textbook with bolded definitions.  Such styles aren’t defined by the “Logical Markup” module, or any module at all for that matter.  Nor are they likely to be used so frequently that it is worth trying to modify the built-in modules or create a new one to support them.</p>
<p>Luckily, there is a solution to this problem.  In the <a href="http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih">first article in this series</a>, I looked at how to create a template for an NIH grant proposal from an existing LaTeX document class.  In that article, the secret to using the “nih.cls” document class lay in its corresponding LyX layout file (&#8220;nih.layout&#8221;).  Also in that article, I explained how LyX layout files primarily contain information concerned with on-screen presentation.</p>
<p><em>Note: For more detail, see: <a href="http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih#bigpicture">Customizing LyX – Part 1, Understanding the Big Picture</a>.</em></p>
<p>As a first approximation, what I said in that article is mostly true.  But, naturally, the reality is more complex.  LyX layout files can also contain information about character styles.  This includes both information about how they should be presented on-screen and how the underlying LaTeX typesetting language should process them.  Moreover, that information can either live in a global layout file (like nih.layout) or in the .lyx file you are working on (meaning that it can be conveniently added to a template).  In the remainder of this post, I will show how to create custom character styles by modifying the local layout.</p>
<h3>Example: Creating a “User Interface” Character Style</h3>
<p>As you might have guessed, the example introduced above isn’t so random.  For the past several weeks, I have been working on a book about scientific and technical writing.  The book will cover a number of programs and technologies including <a href="http://www.lyx.org/">LyX</a>, LaTeX, BibTeX, <a href="http://www.mendeley.com/">Mendeley</a>, <a href="http://www.scribus.net/">Scribus</a> and <a href="http://kile.sourceforge.net/">Kile</a>.</p>
<p>Since it is geared to a somewhat technical audience, it includes both instructions on how to use program&#8217;s UI and code samples.  For my code examples, I can use the internal LyX character style.  But I’ve found that I would also like to highlight references to the UI.  There isn&#8217;t a pre-defined UI character style.</p>
<p>Fortunately, I not the first person writing a book with UI references.  If you look at the LyX user manuals, you will see that the LyX documentation team created a character style specifically for highlighting LyX menu commands.  It uses a sans serif font and I think it is rather attractive.  But, how do you go about adding it to another document?</p>
<p>It’s actually pretty straightforward:</p>
<ol>
<li>Since there isn’t a UI to modify the local layout in LyX, open your document in a text editor</li>
<li>Create a local_layout section</li>
<li>Define how you want your character style to appear (both on screen and in the LaTeX output)</li>
</ol>
<h4>Step 1: Open your document in a text editor</h4>
<p>As explained above, custom character styles live in the local_layout section (enclosed with the “\begin_local_layout” and “\end_local_layout”) near the beginning of a LyX document.  Unfortunately, there is not currently a user interface pane within LyX to edit this section.  As a result, open the document in your favorite text editor.  The figure shows what this looks like for a file called “Book Chapter – Technical.lyx”.</p>
<p><em>Note: There is nothing to be afraid of, LyX’s file format is relatively easy to parse; even for human beings.</em></p>
<p><img style="display: inline; border-width: 0px;" title="A sample LyX document for a technical book chapter." src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/LyXCharacterStylesKateExample.png" border="0" alt="A sample LyX document for a technical book chapter." width="600" height="360" /></p>
<p>“Book Chapter – Technical.lyx” has three major sections:</p>
<ul>
<li>
<div>Document: enclosed by “\begin_document” and “\end_document” (off-screen)</div>
</li>
<li>
<div>LaTeX Preamble: enclosed by “\begin_preamble” and “\end_preamble”</div>
</li>
<li>
<div>Local Layout: enclosed by “\begin_local_layout” and “end_local_layout” (off-screen)</div>
</li>
</ul>
<p>I have added some text to the LateX preamble in this example.  The command tells LyX to use the “Latin Modern” fonts instead of the LaTeX default fonts, which I find to be rather ugly:</p>
<blockquote><p>% set fonts for nicer pdf view<br />
\IfFileExists{\lmodern.sty}{\usepackage{lmodern}}{}</p></blockquote>
<p><!--adsensestart--></p>
<h4>Step 2: Create a Local Layout Section</h4>
<p>If it doesn’t already exist, insert a local_layout section.  For organizational purposes, I like for it to appear following the preamble.  Below is the full text of the layout section for “Book Chapter – Technical.lyx”:</p>
<blockquote><p>\begin_local_layout<br />
    Format 7<br />
        InsetLayout    CharStyle:UserInterface<br />
        LyxType               charstyle<br />
        LabelString           userinterface<br />
        LatexType             command<br />
        LatexName             userinterface<br />
        Font<br />
            Family              Sans<br />
        EndFont<br />
        Preamble<br />
            \newcommand*{\userinterface}[1]{{\sffamily #1}}<br />
        EndPreamble<br />
    End<br />
\end_local_layout</p></blockquote>
<p>In the example, there is some template code (also known as boilerplate), and values that you can modify in order to better customize the appearance of your character style.  The boilerplate includes “Format 7”, LyXType      charstyle”, and “LatexType    command”.  These values will be constant for all character styles, but everything else can be customized.</p>
<h4>Step 3: Define how you want the character style to look</h4>
<p>When customizing the appearance of your character style, the first thing to do is to decide what you want to call your style.  This is done by modifying the “InsetLayout” argument.  Since my book project covers many different programs, I’ve decided that I will use this character style for any reference to the ui.  That includes menus, button names, or dialog box text.  As a result, I’ve called it “CharStyle:UserInterface”.  This is what appears when I go to the “<strong>Edit-&gt;Text Style</strong>” menu and in the dialog box that appears when I right click.</p>
<p>Next, you need to decide what you would like the “label” to be.  The label appears when the “show label” option is toggled on.  In this example, it’s “userinterface”.</p>
<p>I also need to associate my character style with a LaTeX name.  Again, I’ve opted to call it “userinterface”.</p>
<p>The next block of options, “Font”, specify how the text will look on screen.  You could be extremely ornate specifying text size, typeface, and  font weight.  In this case, however, I want to go with something simple.  I&#8217;m just going to use the “Sans” font family for on-screen to display.  Boring, but functional.</p>
<p><em>Note: A complete list of available options can be found in the LyX help documentation: “Customizing LyX: Features for the Advanced User”.  See section 5.3.6.</em></p>
<p>The Preamble block tells LaTeX how it should process the character style.  Again, I don’t want to do anything fancy, so I&#8217;m just going to use the “Sans Serif” font family.  This is accomplished by the following LaTeX command:</p>
<blockquote><p>\newcommand*{\userinterface}[1]{{\\sffamily #1}}</p></blockquote>
<p><!--adsensestop--></p>
<p>The “\newcommand” syntax tells LaTeX about my custom style, while everything after is specifying the text and the font family. “\ssfamily” refers to the sans serif font family.  Other options I could have used include the roman font family (“\rmfamily”), the typewriter family (“\ttfamily”), medium text (“\mdseries”), italic (&#8220;\itshape”), or small caps (“\scshape”).</p>
<p><em>Note: For a more complete list with sample output, see </em><a href="http://theoval.cmp.uea.ac.uk/~nlct/latex/novices/fontstyle.html"><em>here</em></a><em> (Table 4.5).</em></p>
<p>When finished, save your document and exit the text editor.  When you load the document back into LyX, your style should appear in the “<strong>Edit-&gt;Text Style</strong>” menu.  The screenshot below shows how the “User Interface” character style looks in use.</p>
<p><img style="display: inline; border-width: 0px;" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/image2.png" border="0" alt="" width="584" height="123" /></p>
<h2>Miscellaneous Things and Conclusion</h2>
<p>Like the example in the previous article, I like to save documents with custom character styles as templates.  This means that I can create additional documents very easily by going to the “<strong>File”</strong> menu and choosing the “<strong>New from template”</strong> option.  The new document will have all of the template’s settings, including the LaTeX preamble and the custom character styles.  It also means that I can keep separate templates for technical documents, scientific articles, book chapters and fiction.  Each has character styles defined that make sense for that type of publication.</p>
<p>Character styles make writing long documents much easier.  It’s so much better to label a piece of text as “code” or “userinterface” than it is to remember the exact formatting specifications.  Moreover, it makes the document more consistent and provides an easy path to change formatting at a later date.  As a first time author, I have no complaints about anything that makes my writing easier, more organized, and flexible.<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2" rel="bookmark" title="November 30, 2009">Typeset Your Curriculum Vitae &ndash; Part 2: Extending and Customizing an Existing Document Class</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1" rel="bookmark" title="November 25, 2009">Typeset Your Curriculum Vitae &ndash; Part 1: The xetexCV Document Class</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/12/11/ironpython-wpf-tutorials" rel="bookmark" title="December 11, 2008">IronPython – Windows Presentation Foundation Tutorials</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/07/30/time-traveler" rel="bookmark" title="July 30, 2009">A Better Previous Versions: Time Traveler</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/05/09/barn-architecture" rel="bookmark" title="May 9, 2009">Barn Architecture</a></li>
</ul>
<p><!-- Similar Posts took 13.003 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles">Customizing LyX: Character Styles and the LyX Local Layout</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Patronage in the Digital Age</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/11/10/digital-patronage</link>
		<comments>http://www.oak-tree.us/blog/index.php/2009/11/10/digital-patronage#comments</comments>
		<pubDate>Tue, 10 Nov 2009 18:20:22 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Writing and Literature]]></category>
		<category><![CDATA[Digital Lifestyle]]></category>
		<category><![CDATA[Patronage]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/index.php/2009/11/10/patronage-in-the-digital-age</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Patronage+in+the+Digital+Age&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Rants&amp;rft.subject=Writing+and+Literature&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-10&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/10/digital-patronage&amp;rft.language=English"></span>
As wonderful as the internet may be, it causes a lot of problems.  For starters, it is putting newspapers out of business.  It’s also radically changing how artists, writers and musicians make their living.  And in case you weren’t paying attention, it’s starting to look like a crisis. Different groups have responded to the impending [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/10/digital-patronage">Patronage in the Digital Age</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Patronage+in+the+Digital+Age&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Rants&amp;rft.subject=Writing+and+Literature&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-10&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/10/digital-patronage&amp;rft.language=English"></span>
<p><img style="margin: 0px 15px 15px 0px; display: inline" src="http://blog.echovar.com/wp-content/uploads/2008/08/money-in-hat.jpg" alt="" align="left" />As wonderful as the internet may be, it causes a lot of problems.  For starters, it is putting newspapers out of business.  It’s also radically changing how artists, writers and musicians make their living.  And in case you <a href="http://www.newspaperdeathwatch.com/">weren’t paying attention</a>, it’s starting to look like a crisis.</p>
<p>Different groups have responded to the impending collapse of publishing in different ways.  Some writers sell sponsorships for their books and then offer an acknowledgement when it is printed.  Many musicians have adopted the self-publishing and distribution tools long available to authors, leading to experiments like <a href="https://www.createspace.com/">Amazon’s CreateSpace</a>.  And there are those who have gone the route of directly asking for contributions and donations to support their work; the digital equivalent of a performer passing the hat, you might say.</p>
<p>The problem is that some of these experiments are running head-long into good old American sensibility and propriety.  There are even people saying that some of the new content generation schemes are inappropriate; including that old bastion of American common sense, Ms. Manners.  Manners has even gone so far as to say that for a novelist to <a href="http://www.washingtonpost.com/wp-dyn/content/article/2009/10/20/AR2009102003399.html?nav=rss_opinion/columns">ask for a contribution is the same as begging, or panhandling</a>.</p>
<p>She says it like it’s a bad thing.  The simple truth is that artists, musicians and storytellers have long been beggars.  The content industry of the 20 industry is a tremendously new invention, and as I noted above, it’s running into another time tested American value: frugality and a love of private property.</p>
<p>In fact, there seems to be this attitude that, “After I’ve purchased the novel or CD, I own the work and ideas.  I’ve invested in its creation.”   This little nugget rears it’s head most commonly when discussing music.  Even the great Steve Jobs has been known to say, “People don’t want to rent music, they want to own it.”</p>
<p>Except … that’s bullshit.  An interesting idea, or a well written book, or a beautiful piece of music isn’t like paying for a hamburger.  You aren’t reimbursing someone for providing you a good or service.  And I’m frankly shocked that anyone would think that Beethoven’s 9th Symphony or Antonio Vivaldi’s “Four Seasons” is only worth the price that paid on iTunes.  The true worth is far greater than the price of admission.  Would you seriously think yourself exploited for buying a second recording, or for paying to hear it at a concert?</p>
<p>Of course, that’s when people can be bothered to pay for content at all.  An exacerbating factor is that many people expect ideas to be free or very inexpensive.  How many times have you heard a variant of this argument, “I would buy more music (or books) if it wasn’t so expensive!  Nine dollars for an album is just out of my budget!”  Ironically, these same people don’t blanch at dropping hundreds or thousands of dollars for an iPod or iPhone.</p>
<p>While bad, this attitude can further devolve into something much more poisonous: “The artist <em>owes me</em> for reading, viewing or listening to their work.  My piracy is helpful!  After all, I am promoting them and making them famous!”  But being famous doesn’t pay the bills.  There have been many authors, artists or musicians who lived in squalor while enjoying enormous fame and prestige.</p>
<p>A music or literature pirate might even justify their position by saying, “I’m sticking it to the music industry (or publishing industry), they’re a bunch of greedy pigs!”  And the pirate might have a point, if he weren’t doing far more damage to the creator of the content than to its distributor.  Big businesses like record labels and big publishing houses don’t respond to that attitude by lowering prices or dealing fairly with their customers.  Rather, they become more draconian in how that content is disseminated.  Ever wonder why <a href="http://en.wikipedia.org/wiki/Digital_rights_management">Digital Rights Management (DRM)</a> and related technologies were born?  It might just have something to do with the <a href="http://en.wikipedia.org/wiki/Napster">American</a> <a href="http://torrentfreak.com/">sense of entitlement</a>.</p>
<p>Clearly, something needs to change.  Artists and musicians can continue to experiment with different pricing and distributions schemes, but I remain rather unconvinced that it will have a lasting effect.  What we really need is a return to the <a href="http://en.wikipedia.org/wiki/Patronage">patronage system of old</a>, with a few major modifications.  Certainly, artists should continue to sell recordings, books and other tangible goods.  But the public should also undergo a shift in our attitudes and ideas about what the arts are and how we support them.  That might mean that we transform our understanding of what a “donation” is.</p>
<p>When buying a book or donating to a writer, it’s foolish to think that you are somehow providing a fair compensation for the ideas and entertainment that you receive.  Instead, it is much healthier to view your contribution as a support so that the artist can continue to create future content.  This notion actually fits in pretty well with the concept of <a href="http://en.wikipedia.org/wiki/Fair_trade">Fair Trade</a>.</p>
<p>We also need to understand that the price we pay for a book or CD isn’t about the value of the materials.  Textbooks aren’t expensive because they are printed on beautiful paper with artwork and in color; they’re expensive because researching and writing their content is hard.  For example, the “Contributors and Reviewers” page for Gray’s Anatomy (the anatomical guide, not the television show) lists sixty different authors and content reviewers, though only the editor and chief is credited on the cover.</p>
<p>Except, how do you actually bring about the needed shift in attitudes and culture?</p>
<p>…</p>
<p>That’s an excellent question, and I’m not sure that I can offer any insight.  The <a href="http://www.osborne-conant.org/email2/euro-stats-arts-funding.htm">Europeans</a> have tried to shape public perception through generous subsidies.  But <a href="http://reason.com/blog/2009/11/10/get-over-that-outdated-fear-of">direct governmental support of news agencies and publishers</a> is controversial for good reason.  As a cure, it might even be worse than the illness.  If you’ve got any ideas, let’s hear ‘em!<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2009/06/16/dark-times" rel="bookmark" title="June 16, 2009">Dark Times for the Book Publishing Business</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/07/10/personal-website" rel="bookmark" title="July 10, 2009">Why Bother With a Personal Website?</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/03/03/of-artists-and-artisans" rel="bookmark" title="March 3, 2009">Of Artists and Artisans</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/05/05/save-your-show" rel="bookmark" title="May 5, 2009">Save Your Favorite Show By Watching Online</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/01/12/brisingr-short" rel="bookmark" title="January 12, 2009">Literary Sins &#8211; A Review of Christopher Paolini’s Brisingr</a></li>
</ul>
<p><!-- Similar Posts took 13.228 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/10/digital-patronage">Patronage in the Digital Age</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2009/11/10/digital-patronage/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Statistics With R &#8211; Part 1: An Old Dog Learns New Computing Tricks</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/11/08/r-stats-part1</link>
		<comments>http://www.oak-tree.us/blog/index.php/2009/11/08/r-stats-part1#comments</comments>
		<pubDate>Mon, 09 Nov 2009 02:21:20 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Science and Medicine]]></category>
		<category><![CDATA[rapidBOOKS]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[Scientific Computing]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/index.php/2009/11/08/statistics-with-r-part-1-an-old-dog-learns-new-computing-tricks</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Statistics+With+R+%26ndash%3B+Part+1%3A+An+Old+Dog+Learns+New+Computing+Tricks&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Science+and+Medicine&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-08&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/08/r-stats-part1&amp;rft.language=English"></span>
When doing math or numerical analysis, the knowledge of the technique is far too often tied to the tool performing the calculation.  Consider an engineer whose understanding of the Fast Fourier transformation is inseparably tied to the fft function in Matlab.  Of course this hypothetical engineer understands what the results mean (more or less) but [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/08/r-stats-part1">Statistics With R &ndash; Part 1: An Old Dog Learns New Computing Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Statistics+With+R+%26ndash%3B+Part+1%3A+An+Old+Dog+Learns+New+Computing+Tricks&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Science+and+Medicine&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-08&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/08/r-stats-part1&amp;rft.language=English"></span>
<p><img style="margin: 0px 10px 0px 0px; display: inline;" src="http://www.wmo.int/wcc3/images/statistics.jpg" alt="" align="left" />When doing math or numerical analysis, the knowledge of the technique is far too often tied to the tool performing the calculation.  Consider an engineer whose understanding of the <a href="http://en.wikipedia.org/wiki/Fast_Fourier_transform">Fast Fourier transformation</a> is inseparably tied to the fft function in Matlab.  Of course this hypothetical engineer understands what the results mean (more or less) but may not be able to duplicate his analysis if Matlab were taken away.</p>
<p>In most cases, it is likely that no deeper understanding will be required.  But what happens if the computer makes a mistake?  Or the program becomes unavailable?  Both situations are entirely possible.  Computer algorithms aren’t perfect and occasionally arrive at results make little sense; and hardware has been known to fail.</p>
<p><!--adsensestart--></p>
<p>When the engineer understands how the computer arrived at the answer, however, he can recognize, understand, and ultimately correct those cases where the results are unexpected.  This is an important reality check that can prevent costly disasters later down the line.  Or, if the hardware is unavailable, he can use an alternative tool or software package to duplicate the analysis.</p>
<p>But while such a situation can arise with any type of numerical software, it’s most likely to happen to users of a statistical package.  I find this extremely ironic since a proper understanding of statistics is essential to live in the modern world.  (Much more so than an understanding of the Fast Fourier transform, at any rate.)  The rules of probability, the normal curve, correlation, and multivariate statistics can have a direct impact on how we live our lives.  They are used in making important decisions in finance, medicine, science and government.  A misunderstanding of stats and the methods of science (from which statistics is inseparable), underlies the most divisive issues of our day: abortion, stem cell research, and global warming.</p>
<p>Moreover, neither side has a monopoly on ignorance or misunderstanding.  People fail to distinguish between correlation and causality, or insist in using the word “average” as a slur.  Nearly as bad are those that – like the hypothetical engineer described above – only understand statistics within the narrow context of their stats package.  Casual statisticians are nearly as dangerous as the wholly uninformed.</p>
<p>The <a href="http://www.spss.com/">Statistical Package for the Social Sciences (SPSS)</a>, is one of the biggest perpetrators of this crisis.  Which is hugely ironic, because I happen to love SPSS.  SPSS is probably the first statistical package that has placed advanced statistical methods within the grasp of the novice user.  I’ve been a happy user for nearly a decade (ever since I was introduced to the program in high school).  But there is no doubt that I’ve come to understand statistics within the context of SPSS and its GUI.</p>
<p>Please don’t misunderstand me, I have a pretty good grasp of basic statistics.  I can sling probability with the best of them and take relish in describing when to use the Fischer Exact test instead of a Chi-Square; but advanced statistics are a completely different matter.  Advanced stats <em>scare</em> me.  I can certainly use these more complicated methods.  I’ve analyzed and written about multi-variate models and even ventured into Analysis of Variance (ANOVA).  But I have to rely on SPSS and the aid of my institution’s biostatistician to help me recognize when there is a problem.</p>
<p>Which is why, in a time of tight budgets, losing the institution’s SPSS license has been a crushing blow to my productivity.  (Whoever made that decision should be hauled out and shot!)  Because I don’t have my statistics software any more, there are certain aspects of my job that are much more difficult to do.  And unfortunately, there is only logical conclusion to draw: I’ve become a victim of the statistical ease of SPSS.</p>
<p><!--adsensestop--><span id="more-1299"></span></p>
<h2>Open Source Alternatives</h2>
<p>I went through a <a href="http://www.oak-tree.us/blog/index.php/2008/11/18/ironpython-part1">similar experience about a year ago</a>.  At the time, I had become increasingly frustrated with the restrictions, licensing fees, and limitations of the <a href="http://www.mathworks.com/">Matlab</a> technical computing language.  After one particularly infuriating meeting, I decided that I had had enough and was going to do something about it.  In the months that followed, I spoke with friends and colleagues, and experimented with every alternative I could get my hands on.  I looked at Octave (the “Open Source Matlab”) and Ruby, before eventually settling on a combination of Python and PyQt to meet my needs.  The result of these changes has been tremendously positive.  Python is both easier to use and far more powerful than Matlab could ever hope to be.  Not only am I happier and more productive, but so are those who work with me.</p>
<p>It is, therefore, logical that when I lost my statistical language of choice that I would look to open source to provide an alternative.  Fortunately, the Open Source community delivers not one alternative to SPSS, but two: Gnu PSPP and R.</p>
<h3><a href="http://www.gnu.org/software/pspp/"><img style="margin: 0px 20px 0px 0px; display: inline; border-width: 0px;" title="PSPP-Logo" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/PSPPLogo.png" border="0" alt="PSPP-Logo" width="125" height="136" align="left" />Gnu PSPP</a></h3>
<p>As the name implies, PSPP has one simple goal: to clone SPSS in every way that matters.  It can perform descriptive statistics, T-tests, linear regression and non-parametric tests.  It has an easy to easy to use and relatively intuitive GUI.  It can use SPSS syntax and read SPSS data files.  It supports an obscene number of variables and cases (about a billion).  It interoperates with Gnumeric and OpenOffice.  Finally, it’s fast.</p>
<p>Aside from its horribly ugly icon, PSPP would appear to deliver exactly what I want and need.  Except, you might have noticed that this article is titled “Statistics with R”, not “Statistics with PSPP”.  Obviously, I chose to go with the second alternative.  But why?</p>
<p>PSPP works as advertised.  I found it able to deal with nearly all of the old SPSS data files and syntax that I threw its way.  But, the program suffers from the problem of all clones everywhere: it’s greatest aspiration is to be a copy of something else.  That is to say, it seeks to be “Good Enough”,  and therein lies the problem, <a href="http://www.oak-tree.us/blog/index.php/2009/07/20/back-in-time1">I don’t want a tool that is good enough</a>.  I want to use excellent software, even if it’s different or requires me to learn new things.  Even if I have to pay for it.</p>
<p>I’m not trying to pick on or be unfair to PSPP.  It meets an important need in the free software landscape.  It just doesn’t fit in my with my desires or preferences very well.</p>
<h3><img style="margin: 10px 20px 10px 0px; display: inline;" src="http://www.r-project.org/Rlogo.jpg" border="0" alt="R logo" width="125" height="95" align="left" /><a href="http://www.r-project.org/index.html">The R Statistical Project</a></h3>
<p>This is where R steps into the picture.  Whereas PSPP is “<strong>aimed</strong> at statisticians, social scientists and students requiring fast convenient analysis of sampled data (emphasis added)”, R is the software that most statisticians actually use.  When I contacted the statistician at my institution to ask, “What statistical software should I use?  I’m looking at R and PSPP.”</p>
<p>He responded, “Oh that’s easy.  Use R.  There will be a learning curve, but it’s much more powerful and capable than even SPSS or SAS.”</p>
<p>As I’ve started to explore the feature set and available modules, it readily becomes apparent as to why.  R is a <em>huge</em> language.  There are thousands of packages that cover every type of statistics I’ve ever heard of, and many more I haven’t.</p>
<p>Even better, people have gone to great lengths to incorporate R into other tools.  It has a set of excellent python bindings and interoperates very well with LyX and LaTeX.  As just a single example, using the Sweave document class, you can use R to <em>easily</em> embed code in reports and other documents that need to be updated on a very frequent basis.  This allows for these publications to be generated on demand with the most recent data.  The only other place I’ve seen the equal to this feature is within the proprietary universe of Microsoft Office and SQL Server.</p>
<h2>Easing Into R</h2>
<p><a href="http://www.despair.com/"><img style="margin: 10px 0px 10px 20px; display: inline;" src="http://scottthong.files.wordpress.com/2007/10/agony.jpg" alt="" align="right" /></a>Indeed, if R can be said to have a major weakness, it would be that it is <em>too</em> full featured and capable. Particularly for someone who is a statistical novice.  The sheer number of packages and options available is absolutely overwhelming.  Moreover, the reference material is distributed in nature.  Like other open source tools, you <em>can</em> find answers to your questions; but you need to be intelligent about how you ask them.</p>
<p>As I’ve explored R, there have been quite a few painful moments.  This isn’t because R is more difficult than SPSS or SAS, but rather because it is tremendously different.  As an example, consider the differences in how the programs work with data.</p>
<p>Both SPSS and SAS use one main data structure, the data set.  A data set can be thought of as a big spreadsheet where the variable names are kept in columns and the individual observations are kept in rows (SPSS calls them cases).  In contrast, R uses may types of data structures.  It has an a two dimensional array that is similar to the data set, but it is possible to use one dimensional arrays of data (similar to vectors), or three dimensional arrays (which might contain extremely complex data).  The added options raise very complicated questions: What sorts of statistical calculations are done on a three dimensional arrays?  Why are they necessary?  How do I need to code my data so that I can take advantage of R’s advanced features?</p>
<p>Those aren’t issues that a user of SPSS or SAS even needs to consider.  But with R, they present themselves before you even begin to use the program; and there is no centralized source of information to help you figure out the answers.  The result of too many options and too little information is unproductive agony.</p>
<h2>Series Introduction</h2>
<p>Which is why I decided to write this series.  R does some spectacular things, it is excellent software.  But there are some things you need to know before using it.  Here are just a few examples:</p>
<ul>
<li>What user interfaces are available for R and which should you use?</li>
<li>How can you use R to summarize data and do basic comparisons?</li>
<li>How does R handle moderately advanced statistics like one-way ANOVA and non-parametric tests?  What about mult-variate statistics and regression analysis?</li>
<li>How does R work with other programs?  How can you format your output into publication quality figures?</li>
<li>What support does LyX and LaTeX offer for users of R?</li>
</ul>
<p>The purposes of these articles are to address the concerns of the novice statistician or scientist.  I will try and avoid jargon and other indecipherable terms.  I will ensure that the examples are interesting and relevant.  But most importantly, I will try and to help build a deeper statistical foundation.  I know exactly what it feels like to be the “hypothetical” engineer who has become too reliant on his tools.  As long as the tool is nearby, you’re fine.  But when that tool is taken from you, be prepared for a world of hurt.</p>
<p>Until fairly recently, I’ve been in that world of hurt.  You might just say that these articles are my way of explaining how I got out.<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2009/07/20/back-in-time1" rel="bookmark" title="July 20, 2009">Back In Time (Part 1): Linux Backup Made Easy</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/10/05/install-timedrive-ubuntu" rel="bookmark" title="October 5, 2009">Install Time Drive On Ubuntu and Other Debian Linux Distributions</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2008/12/23/iphone-quality" rel="bookmark" title="December 23, 2008">The iPhone App Store and Software Quality: A User’s Perspective</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/05/12/pyqt-mac" rel="bookmark" title="May 12, 2009">Installation of PyQt on Mac OS X</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2" rel="bookmark" title="November 30, 2009">Typeset Your Curriculum Vitae &ndash; Part 2: Extending and Customizing an Existing Document Class</a></li>
</ul>
<p><!-- Similar Posts took 16.012 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/08/r-stats-part1">Statistics With R &ndash; Part 1: An Old Dog Learns New Computing Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2009/11/08/r-stats-part1/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Customizing LyX: Create an NIH Grant Proposal Template</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih</link>
		<comments>http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih#comments</comments>
		<pubDate>Mon, 02 Nov 2009 22:21:54 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Writing and Literature]]></category>
		<category><![CDATA[rapidBOOKS]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[LyX]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1291</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Customizing+LyX%3A+Create+an+NIH+Grant+Proposal+Template&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-02&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih&amp;rft.language=English"></span>
LyX is a wonderful writing program.  It’s easy to use and produces beautifully typeset output.  More importantly, though, it lets an author focus on the content and structure of his writing; rather than the formatting.  It isn’t so easy to customize, though, which limits its usefulness in a big way.  What if you need to [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih">Customizing LyX: Create an NIH Grant Proposal Template</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Customizing+LyX%3A+Create+an+NIH+Grant+Proposal+Template&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Writing+and+Literature&amp;rft.subject=rapidBOOKS&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-11-02&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih&amp;rft.language=English"></span>
<p><img style="margin: 0px 20px 0px 0px; display: inline;" src="http://www.giovanniferranti.it/images/lyx_logo.png" alt="" align="left" />LyX is a wonderful writing program.  It’s easy to use and produces beautifully typeset output.  More importantly, though, it lets an author focus on the content and structure of his writing; rather than the formatting.  It isn’t so easy to customize, though, which limits its usefulness in a big way.  What if you need to create a new layout or take advantage of one of the thousands of specialized  LaTeX styles?  How, exactly, do you go about doing that?</p>
<p>That’s why this article was written.  Recently, I was asked to help with a National Institutes of Health (NIH) R21 grant proposal.  After some talk amongst the different investigators, it was decided that we would use LaTeX and LyX to draft it.  Unfortunately, we hit a rather substantial hurdle early in the process:  LyX doesn’t have an NIH grant template.</p>
<p>After additional debate, we decided to proceed with LyX anyway.  But in the process, I found myself saddled with an additional job.  In addition to responsibilities as research flunky and copy editor, I was tasked with creating a LyX and LaTeX template for our NIH grant.  This article will summarize the steps I took and describe how to create a custom template using an available style on <a href="http://www.ctan.org/">CTAN</a>.</p>
<p><img style="display: inline; border-width: 0px;" title="image" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/image.png" border="0" alt="image" width="659" height="179" /></p>
<p><em>Note: All of the files in this tutorial can downloaded </em><a href="http://www.oak-tree.us/stuff/LyX/nih.zip"><em>here</em></a><em> (.zip).</em><br />
<span id="more-1291"></span><!--adsensestart--></p>
<h2>Understanding the Big Picture</h2>
<p><a name="bigpicture"></a>Before laying out the procedure, I will start with the theory. That includes understanding how LyX and LaTeX interact, as well as what files they use for their respective jobs.</p>
<h3>An Introduction to LyX and LaTeX</h3>
<p>As you probably already know, LyX is a document preparation system which supports LaTeX, DocBook, and other typesetting technologies.  Writing with LyX is easier than using regular LaTeX or DocBook because it abstracts away the markup language and most of the associated pain.  Want to insert a citation?  Just hit <strong>Insert –&gt; Citation</strong>.  There’s no fussing with markup tags or macro commands.  The same goes for inserting figure legends, tags, labels, footnotes or any other relatively complex formatting.  LyX takes care of all the minutiae for you.</p>
<p>When you want to customize LyX, however, all of the ugliness and complexity gets shoved right back into your face.  Instead of just writing and letting the program sort out the details, all of a sudden you are transformed from a user into a collaborating developer.  You need to know how the underlying technologies work.  What’s the difference between a LaTeX class and a style sheet?  What does a LyX layout document do?  How does that differ from a LyX template document?  How do you install them and get the system to recognize that they’re present?</p>
<p>To get a handle on these questions, you need to understand that LyX and LaTeX accomplish two different (though complementary) goals.  LaTeX is largely in the job of creating printed documents (typesetting), whereas LyX is about helping you to write and organize the document (on-screen display).</p>
<p>I like to think of LyX as an editorial assistant while LaTeX is the production staff.  The editorial assistant organizes the various elements into a more logical layout, puts references and other material at your fingertips, and finally helps collate everything into a package that the production people can make sense of.  Once the package has been assembled, the production staff then goes about laying it all out on paper, making sure that references are all numbered and formatted correctly, and otherwise handling the business of making the document beautiful.</p>
<h3>LaTeX Classes and Styles</h3>
<p>To go about its work, LaTeX uses a couple of important files: document classes (.cls) and styles (.sty).  As mentioned, the entire purpose behind LaTeX is that you should be able to focus on the content of your writing without being distracted by its visual presentation.  Classes and styles are what make this possible.  As you are writing, you tell LyX (and by extension LaTeX) whether a block of text is a chapter, figure legend, table, or footnote.  When ready, you can then transform the markup (which makes sense to a computer) into something that makes sense to a human being.</p>
<p><strong>LaTeX classes</strong> are the first step in the transformation.  They contain important information about what the structure of the document should be and where things should go.  You might even say that a class file tells a document “what” it is.  Subsequently, the most common types of document classes are articles, reports, and books.</p>
<p>A <strong>LaTeX style</strong>, in contrast, tells the file “how” it should look.  If a class says, “You’re a book,” then a style will say, “you should have one inch margins” and “the chapter heading should be in Arial 16 point font with 0.2 inches of space above and below them”.  Any given document will only have a single document class, but may use many different styles.</p>
<h3>LyX Layout and Template Files</h3>
<p>In contrast, a LyX layout file corresponds to a LaTeX class and tells LyX how to draw things on screen; and this is where things can get a little confusing.  Even though a LyX layout is supposed to look like the printed page, this isn’t always true.  For example, the final document may have two or three columns; but on-screen the LyX document will only have one.  What is true, however, is that a LyX layout file will contain information about what document elements are available.  If you’re writing a book, for example, the LyX layout will have an option called “Chapter”; even though the fonts and spacing used won’t always be exactly the same.</p>
<p>The final fie type that you need to know about is called a template.  Whereas a layout file largely contains information about the on-screen display, the template file has information about typesetting and presentation.  In many ways it inherits both the properties of the LaTeX .cls and .sty files and the LyX layout properties.  This means  that you can add both LaTeX and LyX information to it.</p>
<p>The figure below shows these relationships graphically.</p>
<p><!--adsensestop--></p>
<p><img style="margin: 20px 0px; display: inline; border-width: 0px;" title="How LyX Works" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/HowLyXWorks.png" border="0" alt="How LyX Works" width="434" height="374" /></p>
<h2>Creating a Custom LyX Template – NIH Grant Proposal</h2>
<p>With the definitions out of the way, here is the procedure for creating a custom document template.  There are four basic steps:</p>
<ol>
<li>Download the necessary document classes and styles</li>
<li>Install the files into the proper folder of your LaTeX distribution</li>
<li>Create an appropriate layout file corresponding to the document class or style</li>
<li>Create a template file with additional details and information</li>
</ol>
<h3>Step 1: Download the necessary styles and templates</h3>
<p>The very first step is to locate the document class that you need to use.  There are many good resources to do this.  The first is <a href="http://www.ctan.org/">CTAN</a>, which is probably the most comprehensive resource available.  (You can also find very good package lists on <a href="http://en.wikibooks.org/wiki/LaTeX/Packages">Wikipedia</a> and through Google.)  Since I already know the name of the document class I need (<a href="http://www.ctan.org/tex-archive/macros/latex/contrib/nih/">NIH</a>), I will download it from the associated CTAN page.</p>
<h3>Step 2: Install the files into the proper folder for your  LaTeX distribution</h3>
<p>Once you have saved the files onto your computer, you need to place them in one of several locations.  If all users of the computer need it, install it to the system wide LaTeX tree.  If, however, you are the only person who will be using the package, you can place it in your own “user” folder.</p>
<p>The location of the system tree varies depending on which version of LaTeX you happen to be running.  It is typically defined by the “TEXMFLOCAL” variable.  For individuals using Ubuntu Linux, you will find it at “/var/lib/texmf/tex/latex”.  For users of other LaTeX distributions or operating systems, you will need to consult the documentation files.  The “user” tree is located in your own user folder.  For users of Linux, this will be “/home/<em>username</em>/texmf/tex/latex”.  <em>Note: Be sure to replace “username” with your appropriate login information.</em></p>
<p>To install the package, unpack the archive and copy all of the contents to the appropriate location.  After, you will need to update the LaTeX database by running texhash.</p>
<blockquote><p>sudo texhash</p></blockquote>
<h3>Step 3: Create an appropriate style layout for LyX</h3>
<p>Now that the package has been installed, we need to create a layout file so that LyX can make use of it.  This is a two step process:</p>
<ol>
<li>Edit the document class and style so that it only contains general elements</li>
<li>Generate a new LyX layout file</li>
</ol>
<h4>Step 3.1: Edit the document class and style to only contain general elements</h4>
<p>Working with LaTeX classes in LyX is slightly different than how you would work with them in a tool like <a href="http://kile.sourceforge.net/">Kile</a> or <a href="http://www.xm1math.net/texmaker/">TeXMaker</a>.  As already mentioned, LyX abstracts a lot of the technical detail of LaTeX away.  However, when using a tool like Kile, you directly interact with the LaTeX code.  When working this way, it can be convenient to place commonly used elements into the document class or style.  The NIH files that we downloaded and installed in the steps above do this.  (The page headers and footers contain the name of the primary investigator and the reference number for the grant.)</p>
<p>As you might guess, however, this isn’t a good thing if you are trying to create a general template.  The document class and style files should only contain the elements that are going to applied to <em>all</em> of the documents.  This shouldn’t include dates specific to a given revision, the name of a principal investigator, or the title of the grant.  We want to install the LaTeX files and then forget about them, which is simply impossible if they contain such specific information.</p>
<p>As a result, before we go further, we need to redact this information from the nih.cls file.  But even though we are removing it, <strong>don’t throw it away! </strong>Stick it in a spare text file for the time being.  It is still needed so that the final document will match NIH style conventions.  We will add it back to the template created in Step 4.</p>
<p>In the original files from CTAN, open up nih.layout in your favorite text editor and cut out the following text:</p>
<blockquote><p>% preamble stuff<br />
\newcommand{\nih@PIname}{Oakes, Robert Stilman}<br />
\newcommand{\piname}[1]{\renewcommand{\nih@PIname}{#1}}<br />
\makeatletter</p>
<p>% constants<br />
\newcommand{\nih@sillysize}{\scriptsize}</p>
<p>…</p>
<p>\newtheorem{proposition}{Proposition}<br />
\newtheorem{lemma}{Lemma}</p></blockquote>
<p>In addition to redacting the information above, you will also want to add the following line close to the end of nih.cls.  It will ensures that alphabetic section labels will be used instead of numeric labels:</p>
<blockquote><p>\def\thesection{\Alph{section}}</p></blockquote>
<p><em>Note: In the files for this tutorial, I have already redacted the unnecessary text from the nih.cls file and added it to the NIH Grant Proposal template.  I have also added the section label code.</em></p>
<h4>Step 3.2: Generate a new LyX layout file</h4>
<p>The easiest way to create a new layout file is to modify one of the existing examples.  If you look closely at the NIH document class (nih.cls), you will notice that it is based on the LaTeX “article” class.  As we try and create an appropriate nih.layout, let’s start by modifying <a href="http://www.oak-tree.us/stuff/LyX/article.layout">article.layout</a>.</p>
<p>When you first open the file, you will see the following:</p>
<blockquote><p># Do not delete the line below; configure depends on this<br />
# \Declare LaTeXClass{article}<br />
…<br />
Format 11<br />
Input stdclass.inc</p>
<p>SecNumDepth             3<br />
TocDepth                3</p>
<p>NoStyle Chapter<br />
NoStyle Chapter*</p>
<p>Style Part<br />
    Align                 Left<br />
    AlignPossible         Left<br />
    TopSep                2<br />
    BottomSep             1.5<br />
    Font<br />
      Size                Larger<br />
    EndFont<br />
End<br />
…</p></blockquote>
<p>As you study the layout, you should start to see a few general sections.  For example, the second line tells LyX that it is using the LaTeX class “article”.  “Input stdclass.inc” tells LyX to import the standard list of document elements.  Whenever you see a line that begins “NoStyle”, that is telling LyX to remove those particular section types from the available list of options since they aren’t supported by the document class.</p>
<p>Pay close attention to the section block that begin with “Style”.  This tells LyX how to display that particular document element on screen.  It includes information about how the text should be aligned (“Align”, “AlignPossible”) and what font should be used (“Font”, “Size”, “EndFont”).</p>
<p>To make article.layout work with nih.cls, we need to make two modifications.  First, we need to change the \DeclareLaTeXClass and then we need to add a new “Style” block.</p>
<p>First, let’s change the \DeclareLaTeXClass.  Add the following:</p>
<blockquote><p>\DeclareLaTeXClass[nih]{proposal (NIH)}</p></blockquote>
<p>In this example, nih is the name of the LaTeX document class (nih.cls) and the information in curly brackets is a description which will make it easier to find in the LyX document settings pane.</p>
<p>Next, we need to add a “Style” block that describes the “Section” element of the nih document class.  By default NIH sections are labeled alphabetically: “A Specific Aims”, “B Background”, “C Methods”, etc.  In contrast, the article labels its sections numerically: “1 Specific Aims”, “2 Background”, “3 Methods”, etc.  If we don’t modify the standard labeling, it will be displayed incorrectly on screen</p>
<p>Luckily, it’s an easy fix.  Add the following to article.layout:</p>
<blockquote><p>Style Section<br />
    LabelType             Counter<br />
    LabelCounter          section<br />
    LabelString           &#8220;\Alph{section}&#8221;<br />
End</p></blockquote>
<p><img style="margin: 0px 0px 20px 20px; display: inline; border-width: 0px;" title="Before using your new document class, you will need to reconfigure LyX so that it can see them." src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/CustomizeLyXReconfigure.png" border="0" alt="Before using your new document class, you will need to reconfigure LyX so that it can see them." width="312" height="189" align="right" /> After you’ve made these changes, resave the file as “nih.layout”.  Then copy the file to either the main LyX directory layouts folder (typically LyXDir/layouts) or to your LyX user directory (typically found at .lyx/layouts/).  For LyX to see and use the new files, you will need to run <strong>Tools –&gt; Reconfigure</strong>.</p>
<p><em>Note: A full version of the nih.layout file is available as part of the <a href="http://www.oak-tree.us/stuff/LyX/nih.zip">archive package</a> for this tutorial.</em></p>
<h3>Step 4: Create a LyX template file</h3>
<p>With a fully functioning LyX layout (nih.layout), you can now create a template file that has all of the needed elements.  As mentioned above, a LyX template file is nothing more than a regular LyX file.  So, start by creating a new LyX document (<strong>File –&gt; New</strong>).</p>
<p>After the new document is open, the very first thing that you should do is change the document class.  Go to <strong>Document –&gt; Settings</strong> –&gt; <strong>Document Class</strong>.  Then from the drop down menu, select “proposal (NIH)”.</p>
<p><img style="display: inline; border-width: 0px;" title="Customize LyX - Document Settings" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/CustomizeLyXDocumentSettings.png" border="0" alt="Customize LyX - Document Settings" width="620" height="443" /></p>
<p>Next, you need to add the information removed from nih.cls to the LaTeX Preamble.  Go to <strong>Document –&gt; Settings –&gt;</strong> <strong>LaTeX Preamble</strong>, and paste the text into the provided space.  While doing this, you may want to modify the name of the PI that will be shown in the document header.  You make this change by adding your name to the line that reads:</p>
<blockquote><p>\newcommand{\nih@PIname}{Last Name, First Name Middle}</p></blockquote>
<p>When done, press “Close”.  You now have a fully functional, NIH compliant grant proposal template.</p>
<p><img style="display: inline; border-width: 0px;" title="Customize LyX - Document Preamble" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/CustomizeLyXDocumentPreamble.png" border="0" alt="Customize LyX - Document Preamble" width="620" height="444" /></p>
<p>But while that’s the end of the essential boilerplate, you may want to include a few additional goodies.  Wouldn’t it be nice, for example, if you had access to clickable hyperlinks?  Or if you were be able to use the bookmarks sidebar to navigate the document?  For these and other desirables, add the following to the preamble:</p>
<blockquote><p>% Hyperlink Options<br />
\usepackage{ifpdf} % part of the hyperref bundle<br />
\ifpdf % if pdflatex is used</p>
<p>% Use True Type Fonts Instead of Older LaTeX Fonts<br />
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}</p>
<p>\fi % end if pdflatex is used</p>
<p>% for correct jump positions when clicking on a link to a float<br />
\usepackage[figure]{hypcap}</p></blockquote>
<p>This code enables the hyperref package.  Then, go to <strong>Document –&gt; Settings –&gt; PDF Properties </strong>and enable hyperref support in the options.  While changing the PDF properties, I personally like to customize the colors of the links.  I think that document links and cited references should be black; while urls and files should be blue.  To make this change, add the following to the “additional options” line:</p>
<blockquote><p>linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue</p></blockquote>
<p><img style="display: inline; border-width: 0px;" title="Customize LyX - PDF Properties" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/11/CustomizeLyXPDFProperties.png" border="0" alt="Customize LyX - PDF Properties" width="620" height="443" /></p>
<h2>Using the Template</h2>
<p>If you’ve followed all of the steps in this tutorial, you will now have a fully functioning NIH grant template.  Now might be a good time to save it in the same location where you keep other templates.  (If you don’t have a templates folder, you might want to create one.)  I’ve saved mine as “NIH Grant Proposal.lyx”.  From here on out, whenever I want to create a new NIH document, I simply choose <strong>New from template</strong> from the <strong>File</strong> menu and load the appropriate version.</p>
<p>Now that my template is set up, I’m back to an automated wonderland.  LyX and LaTeX keep track of the references, labels, footnotes, formatting and the other minutiae that make complicated documents so painful.  I’m free to focus on the ideas,  voice, and message; which is exactly how it should be.<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/30/latex-cv-part2" rel="bookmark" title="November 30, 2009">Typeset Your Curriculum Vitae &ndash; Part 2: Extending and Customizing an Existing Document Class</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles" rel="bookmark" title="November 14, 2009">Customizing LyX: Character Styles and the LyX Local Layout</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/11/25/latex-cv-part1" rel="bookmark" title="November 25, 2009">Typeset Your Curriculum Vitae &ndash; Part 1: The xetexCV Document Class</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/03/04/perfect-tool" rel="bookmark" title="March 4, 2009">Creating the Perfect Writing Tool: A Proposal</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/05/13/lyx-outline" rel="bookmark" title="May 13, 2009">Introducing LyX-Outline 0.1</a></li>
</ul>
<p><!-- Similar Posts took 16.337 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih">Customizing LyX: Create an NIH Grant Proposal Template</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Create a Unified Inbox in Gnome Evolution</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/10/27/unified-inbox-evolution</link>
		<comments>http://www.oak-tree.us/blog/index.php/2009/10/27/unified-inbox-evolution#comments</comments>
		<pubDate>Tue, 27 Oct 2009 07:43:00 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Communications Software]]></category>
		<category><![CDATA[Lifehacking]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1282</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Create+a+Unified+Inbox+in+Gnome+Evolution&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Cool+Stuff&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-10-27&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/10/27/unified-inbox-evolution&amp;rft.language=English"></span>
I have a serious love-hate relationship with Linux.  I love the fact that it’s free and open source.  I love the fact that it can breathe new life into old hardware.  I love the fact that it’s easy to extend.  I love the fact that it has a vibrant and passionate user community. What I [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/10/27/unified-inbox-evolution">Create a Unified Inbox in Gnome Evolution</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Create+a+Unified+Inbox+in+Gnome+Evolution&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Cool+Stuff&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-10-27&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/10/27/unified-inbox-evolution&amp;rft.language=English"></span>
<p><!--noadsense-->I have a serious love-hate relationship with Linux.  I love the fact that it’s free and open source.  I love the fact that it can breathe new life into old hardware.  I love the fact that it’s easy to extend.  I love the fact that it has a vibrant and passionate user community.</p>
<p>What I do not love is that many open source programs are incomplete.  They can do most everything that you need, but never get around to adding the one or two features that prevent them from being finished, polished and exceptional.  I’ve <a href="http://www.oak-tree.us/blog/index.php/2009/07/20/back-in-time1">ranted about this before</a>, back when I was trying to find the <a href="http://www.oak-tree.us/blog/index.php/science-and-technology/time-drive">perfect backup program</a>.</p>
<p>Well … I’m at it again; except this time, I’m looking for the perfect email program.</p>
<p><span id="more-1282"></span></p>
<p><img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 0px 15px; display: inline; border-top: 0px; border-right: 0px" title="Apple figured out a long time ago that it's better to have all your emails int he same place, regardless of what account they may belong to" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/EvolutionMail.appUnifiedInbox.png" border="0" alt="Apple figured out a long time ago that it's better to have all your emails int he same place, regardless of what account they may belong to" width="250" height="247" align="right" /> For a long time, I thought that I had found it in <a href="http://www.mozillamessaging.com/en-US/thunderbird/">Thunderbird 3</a>.  Thunderbird is powerful, highly configurable and easy to use.  Moreover, alpha and beta builds hint at changes that will make it even better.  The most obvious of these is a universal Inbox.  This is one area where I should give Apple some credit.  They figured out a long time ago that it’s better to have all your emails in the same place, regardless of what account they may belong to.  It makes things easier if the communication from your your work account, home account, webmaster account, software development account, or hobby account all live in the same place.  You just read the email and respond, the program makes sure that it gets routed along the proper pipes.</p>
<p>This makes it really easy to apply selective filters.  On my home computer, I only subscribe to those email accounts for home related things.  On the work computer, I subscribe to work related accounts.  On my laptop, I have all of them.</p>
<p>But most people use their email client for much more than just sending messages.  About ten years ago, Microsoft showed that calendar and tasks should also be part of the email application.  It’s more convenient when the tools that you use to organize your life are in the same place as those you use to communicate.  After all, who wants to use three or  four apps when you can use one?</p>
<p>Yet, on both these fronts, open source has been pretty slow to catch up.  The integrated inbox just appeared in Thunderbird.  And while there is a calendar component, it’s pretty limited.  It does alright with a local calendar, but a calendar chained to a single computer is mostly worthless.  Thunderbird can’t connect to an Exchange server, where your business calendar is likely to live.  It can’t talk to the family’s calendar, which might be kept on a consumer service like Yahoo or Google.  And while it has experimental support for CalDav, that’s the problem, the support is still experimental.  I’ve found that tasks or appointments don’t update reliably, and it only works when you are connected to an internet connection.</p>
<p><img style="border-bottom: 0px; border-left: 0px; margin: 0px 15px 10px 0px; display: inline; border-top: 0px; border-right: 0px" title="Evolution - Gnome Integration.  You can review your appointments and tasks without having to open the program" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/EvolutionGnomeIntegration.png" border="0" alt="Evolution - Gnome Integration.  You can review your appointments and tasks without having to open the program" width="270" height="474" align="left" />Perhaps worst of all, Thunderbird can’t talk to your cell phone.  If you’re anything like me, my cell phone is my second memory.  If I don’t have it written down and in front of me, I’m going to miss it or fail to do it.   As a result, a robust cell phone sync is a must.  Taken together, these limitations and rough edges are just too much.  I need an alternative, even though I love what Thunderbird does for my email.</p>
<p>This is where the venerable <a href="http://projects.gnome.org/evolution/">Gnome Evolution</a> steps in.  In contrast to Thunderbird, which is promoted as an email application, Evolution is a <strong>collaboration</strong> app.  That is to say, it takes calendar, contacts, tasks and notes seriously.  CalDav?  Got it covered.  Google?  Ditto.  Yahoo calendar?  Yep.  Microsoft Exchange?  You bet.</p>
<p>They have also given some serious thought to integration and user experience.  Evolution is deeply integrated with the Gnome desktop.  The desktop drop down calendar shows your appointments.  Email and notifications are integrated into the dashboard.  You don&#8217;t even need to have the application open! </p>
<p>But Evolution crashes and burns as an email client.  It lacks all of the subtle tricks that Thunderbird, Mail.app and Microsoft Outlook use to keep organized.  As just one example, the folder list is overwhelming and it’s hard to know when you’ve received new mail.  Thunderbird and Mail.app solve these problems through their unified inbox.  Microsoft Outlook solves it by having a “favorites” area where you can create shortcuts to folders that you ca re about.  When you receive a new email message, this shortcut is bolded.  It&#8217;s not quite as effective as the universal inbox, but at least it&#8217;s something.  Evolution has nothing.</p>
<p><img style="border-bottom: 0px; border-left: 0px; margin: 10px 0px 10px 20px; display: inline; border-top: 0px; border-right: 0px" title="Outlook makes it easy to scan you inboxes through a " src="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/image.png" border="0" alt="Outlook makes it easy to scan you inboxes through a " width="271" height="67" align="right" />As a result, even though I’ve loved the calendaring and integration with the desktop, I was terribly afraid I would have to dump yet another application because it offered a substandard experience.  Luckily, I found a workaround. </p>
<p>There is a pretty simple way to create a unified inbox in Evolution.  It was so easy, in fact, that I was surprised that the Evolution developers haven’t taken the time to make it a standard part of the program.</p>
<p>The magic happens through the search folders.  In a nutshell, you create a search folder that looks through all of your account inboxes for either read or unread email messages.  Presto, a unified inbox!</p>
<p>Start by right clicking on the “Search Folders” entry in the folders list, then select “New Folder.”  It will load a dialog similar to the one seen below.  You will need to add two conditions.  Set the first condition to “Status Is Read” and the second to “Status Is Not Read” as shown in the screenshot below.  When done, press the “Ok” button.</p>
<p align="center"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Evolution - Unified Inbox Settings" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/EvolutionUnifiedInboxSettings.png" border="0" alt="Evolution - Unified Inbox Settings" width="548" height="427" /></p>
<p>The same thing can be done for your drafts, or outbox folders.  Pretty slick, huh?    What I find incredible is that such a simple hack makes such a huge difference in usability.  Instead of separately monitoring six different email account settings, I can check just a single folder for new things.  It transforms Evolution from a pain in the ass to a pretty decent little email client.</p>
<p>Do you have your own Evolution hacks?  If so, let’s hear about them in the comments.<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2008/12/08/collection01-introduction" rel="bookmark" title="December 8, 2008">The Collection – An Introduction (Of Sorts)</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/08/23/time-drive-bugs" rel="bookmark" title="August 23, 2009">Filing Bugs for Time Drive or LyX-Outline</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/01/16/mud-with-character" rel="bookmark" title="January 16, 2009">Mud with character</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/03/01/backup-archive" rel="bookmark" title="March 1, 2009">Backup and Archive</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/02/18/live-mesh" rel="bookmark" title="February 18, 2009">Making life easier with Windows Live Mesh</a></li>
</ul>
<p><!-- Similar Posts took 11.761 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/10/27/unified-inbox-evolution">Create a Unified Inbox in Gnome Evolution</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2009/10/27/unified-inbox-evolution/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Time Drive 0.3: Better, Easier, More Refined</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/10/26/time-drive-03</link>
		<comments>http://www.oak-tree.us/blog/index.php/2009/10/26/time-drive-03#comments</comments>
		<pubDate>Mon, 26 Oct 2009 16:16:56 +0000</pubDate>
		<dc:creator>Rob Oakes</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Time Drive]]></category>

		<guid isPermaLink="false">http://www.oak-tree.us/blog/?p=1273</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Time+Drive+0.3%3A+Better%2C+Easier%2C+More+Refined&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Featured&amp;rft.subject=Programming&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-10-26&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/10/26/time-drive-03&amp;rft.language=English"></span>
Imagine how awesome it would be if this announcement read: “Time Drive has been completely rewritten from scratch (yet again) to take better advantage of the paradigms of modern computing!  Version 0.3 has hundreds of updates and new features which will make your life easier and more fulfilled!” There&#8217;s just one little problem … such a hyper [...]<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/10/26/time-drive-03">Time Drive 0.3: Better, Easier, More Refined</a></p>
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Time+Drive+0.3%3A+Better%2C+Easier%2C+More+Refined&amp;rft.aulast=Oakes&amp;rft.aufirst=Rob&amp;rft.subject=Computer&amp;rft.subject=Featured&amp;rft.subject=Programming&amp;rft.source=Apolitically+Incorrect&amp;rft.date=2009-10-26&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.oak-tree.us/blog/index.php/2009/10/26/time-drive-03&amp;rft.language=English"></span>
<p><img style="margin: 0px 15px 10px 0px; display: inline" title="One of the upsides of open source software is that it largely sales itself" src="http://webpub.allegheny.edu/student/f/fillerb/weblog/salesman.jpg" alt="One of the upsides of open source software is that it largely sales itself" width="244" height="244" align="left" />Imagine how awesome it would be if this announcement read: “Time Drive has been completely rewritten from scratch (<a href="http://www.oak-tree.us/blog/index.php/2009/09/24/timedrive-02">yet again</a>) to take better advantage of the paradigms of modern computing!  Version 0.3 has hundreds of updates and new features which will make your life easier and more fulfilled!”</p>
<p>There&#8217;s just one little problem … such a hyper inflated announcement wouldn&#8217;t necessarily be true.  (Marketing hyperbole, I never knew thee!)  The truth is this: Time Drive is a simple backup program that does a good job of reliably backing up your data.  It offers a nice list of potential backup options: from an attached hard drive, to a computer over the network, or across the internet.  It makes it easy to search for and restore a lost file.  In short, Time Drive seeks to change the world by making an act of computer maintenance more convenient.</p>
<p>But the real test of a program isn’t how well it works, but how easy it is to fix when broken.  A good program does what you want, but a better program helps you get back on track when things go wrong.  <a href="http://www.oak-tree.us/blog/index.php/2009/07/20/back-in-time1">Back when I was looking at other backup programs available for Linux</a>, this was my number one frustration.  Most of the applications would work (for the most part), but I could never troubleshoot or repair problems when they happened.  There just wasn’t enough information available.</p>
<p>For an example, let’s take <a href="http://sourceforge.net/projects/sbackup/">SBackup</a>.  It’s a lovely little program,  except you have no way of knowing if it is working.  It doesn’t keep log files, it doesn’t notify you if a backup job failed.  It doesn’t let you know if it is running.  Its simplicity is actually symptomatic of a flaw: it’s incomplete.</p>
<p>These were problems that I desperately wanted to avoid with Time Drive.  And version 0.3 includes a number of refinements that solve these issues while at the same time making make it better, easier and more refined.  In the rest of this post, I’ll explain why.</p>
<p><span id="more-1273"></span></p>
<h2><a href="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/AboutInformation.png"><img style="border-right-width: 0px; margin: 0px 0px 10px 20px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/AboutInformation_thumb.png" border="0" alt="" width="150" height="150" align="right" /></a>Better</h2>
<p>There’s a very good reason why Time Drive works with the Ubuntu notifications system and has progress bar notifications for nearly everything.  From the very first, I wanted the program to notify the user of what it was doing.  But in versions 0.1 and 0.2, there was an essential part missing: some kind of program log.  It was a big omission, and several people complained rather vocally about it.</p>
<h3>Logs and Notifications</h3>
<p>And it&#8217;s the first thing that was added to version 0.3.  Time Drive now logs its activities and will notify you of errors that happen behind the scenes.  If a backup job fails silently, you can put on your detective hat and go find out why.  If your internet connection cuts out while using cron to automatically backup your computer, you’ll get a warning the next time that you run the program.  Backup statistics, problems, errors, even love notes; they’re all there.  To open the log, just click on the blue information button on the main user interface.</p>
<p align="center"><a href="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/TimeDrive0.3Log.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Time Drive 0.3 - Log" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/TimeDrive0.3Log_thumb.png" border="0" alt="Time Drive 0.3 - Log" width="494" height="406" /></a></p>
<h3>Progress Indicators for Absolutely Everything</h3>
<p>In addition to the log, we fixed a second oversight.  Versions 0.1 and 0.2 lacked an indicator that told you how far a backup job had progressed.  In 0.3, that problem’s been solved.</p>
<p align="center"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Time Drive 0.3 - Backup Running Progress" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/TimeDrive0.3BackupRunningProgress.png" border="0" alt="Time Drive 0.3 - Backup Running Progress" width="651" height="36" /></p>
<h2><a href="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/TimeDriveCleanup.png"><img style="border-right-width: 0px; margin: 0px 15px 10px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Time Drive - Cleanup" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/TimeDriveCleanup_thumb.png" border="0" alt="Time Drive - Cleanup" width="122" height="134" align="left" /></a>Easier</h2>
<p>Great.  Time Drive does a better job of letting you know about problems, but what about fixing them?  For example, what will version 0.3 do when a backup job fails, or your internet connection cuts out at the wrong time?  When these things happen, Duplicity leaves unneeded files on the backup drive.  (Files, by the way, which are a pain to remove.)  How does Time Drive make repair jobs easier?</p>
<p>Well … I’m glad that you asked.  Time Drive now has a cleanup function.  If it detects a mess or unneeded files, the program will automatically go about restoring things to right.  And if you happen to be one of those obsessively tidy people, you can manually run the same tool by going to the advanced settings pane for the corresponding folder.</p>
<p align="center"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Time Drive 0.3 - Manage Backups" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/TimeDrive0.3ManageBackups_thumb.png" border="0" alt="Time Drive 0.3 - Manage Backups" width="569" height="441" /></p>
<h2>More Refined</h2>
<p>So much for better notifications and easier management of messes.  But what about the promised refinements?  Where can you look to find those?</p>
<p>For starters, take a look at the settings for remote connections.  All of the input boxes have been reworked for cleaner input.  While Time Drive and Duplicity have always supported non-standard port numbers, it wasn’t necessarily clear how how to configure them.  Now, it is.</p>
<p>More importantly, though, the user interface adapts to your choices.  If you choose to make a backup to an attached drive, you aren’t going to be asked for a server and port.  If you choose FTP, however, those options will be there.  Best of all, you no longer have to keep track of which types of connections require two slashes in the connection url and which one uses just one.  Time Drive will  do the configuration and accounting for you!</p>
<p align="center"> <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Time Drive 0.3 - Refined Input Dialog" src="http://www.oak-tree.us/blog/wp-content/uploads/2009/10/TimeDrive0.3RefinedInputDialog.png" border="0" alt="Time Drive 0.3 - Refined Input Dialog" width="597" height="108" /></p>
<p><!--adsensestart--></p>
<h3>Looking Toward the Future</h3>
<p>And those are only the changes that you will see.  There’s a lot more that has happened behind the scenes to make version 0.3 the best release of Time Drive ever.  You might call these “future enhancements.”  They include:</p>
<ul>
<li><a href="https://translations.launchpad.net/time-drive">International Support</a>.  If you don’t speak English, Time Drive now has you covered.  Dutch, French and Spanish translations are in the works.  Want to see Time Drive translated to  Chinese?  <a href="https://launchpad.net/+tour/translation">Come help out</a>!</li>
<li><a href="http://me.delodder.be/time-drive/api/">Documented API</a>.  You know that a software program has grown up and reached maturity when you have a documented API.</li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/10/05/install-timedrive-ubuntu">Automated Installation and Upgrades for Linux Users</a>.  One of the best things about using Linux is apt-get.  It keeps your entire system up to date with the most recent software, and the <a href="https://launchpad.net/time-drive">Time Drive project at Launchpad</a> now has it’s own <a href="https://launchpad.net/~time-drive-devel/+archive/stable">PPA</a>.</li>
</ul>
<h2>Additional Announcements</h2>
<p>As you can see, Time Drive is managing to evolve and add new features at a pretty good clip.  But as we do so, it’s also time to face a pretty harsh reality.  An easy to install and compatible Windows version simply isn’t going to happen.</p>
<p>Producing a version of Time Drive for Windows has always been extraordinarily hard, there are just too many *nix dependencies.  To use it requires Cygwin, a compatible version of PyQt and a great deal of black magic and prayer.  Changes that are compatible with Mac OS X and Linux break the Windows version, and vice versa.  After months of wrestling with it, I’ve decided that It’s just not worth the headache.  So, from version 0.3 onward, we will not be targeting Windows as a development platform.</p>
<p>For those of you waiting with baited breath for a Windows release, my apologies.  But I should point out that Time Drive isn’t really needed on Windows.  There are a number of fantastic backup programs available.  The <a href="http://www.oak-tree.us/blog/index.php/2009/07/05/backup-part5-1">built-in backup</a> is actually quite good in, and if that doesn’t suit your fancy there are some really fantastic <a href="http://www.genie-soft.com/products/genie_timeline/features.html">commercial alternatives</a>.</p>
<h2>Conclusion</h2>
<p>In summary, version 0.3 is a nice, incremental release of Time Drive.  It patches some important holes and does a much better job of notifying users of what’s going on.  It’s easier to manage your backups and clean up disasters.  Lastly, it’s more refined with a bunch of spectacular back end improvements.  So while version 0.3 may be an incremental improvement, we’ve got a foundation that will let us release even better versions in the future.  This announcement might not be filled with marketing speak and exaggerated claims, but you can bet that future announcements will do a used car salesman proud.<br />
<h3>Similar Posts:</h3>
<ul class="similar-posts">
<li><a href="http://www.oak-tree.us/blog/index.php/2009/10/05/install-timedrive-ubuntu" rel="bookmark" title="October 5, 2009">Install Time Drive On Ubuntu and Other Debian Linux Distributions</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/02/11/pitiful" rel="bookmark" title="February 11, 2009">A Pitiful and Pathetic Story</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/02/04/mac-defrag" rel="bookmark" title="February 4, 2009">Mac OS X doesn&rsquo;t need to be defragmented? Yeah, right.</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/10/07/duplicity-mac" rel="bookmark" title="October 7, 2009">Installing Duplicity on Mac OS X</a></li>
<li><a href="http://www.oak-tree.us/blog/index.php/2009/10/27/unified-inbox-evolution" rel="bookmark" title="October 27, 2009">Create a Unified Inbox in Gnome Evolution</a></li>
</ul>
<p><!-- Similar Posts took 12.136 ms --></p>
<p>Copywrite 2009: Rob Oakes.  <a href="http://www.oak-tree.us/blog">Apolitically Incorrect</a><br/><br/><a href="http://www.oak-tree.us/blog/index.php/2009/10/26/time-drive-03">Time Drive 0.3: Better, Easier, More Refined</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oak-tree.us/blog/index.php/2009/10/26/time-drive-03/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
