<?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>Alistair Robinson, Web Development &#38;c &#187; technology</title>
	<atom:link href="http://alistairrobinson.co.uk/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://alistairrobinson.co.uk</link>
	<description></description>
	<lastBuildDate>Sat, 28 Jan 2012 12:11:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Goodbye and Good Riddance to Word Processors: A Better Way To Write Proposals</title>
		<link>http://alistairrobinson.co.uk/goodbye-and-good-riddance-to-wysiwyg-and-word-processors/</link>
		<comments>http://alistairrobinson.co.uk/goodbye-and-good-riddance-to-wysiwyg-and-word-processors/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 02:45:13 +0000</pubDate>
		<dc:creator>Alistair</dc:creator>
				<category><![CDATA[Productivity]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[pandoc]]></category>
		<category><![CDATA[pisa]]></category>
		<category><![CDATA[textile]]></category>
		<category><![CDATA[word processors]]></category>
		<category><![CDATA[writing]]></category>
		<category><![CDATA[wysiwyg]]></category>
		<category><![CDATA[xhtml2pdf]]></category>

		<guid isPermaLink="false">http://alistairrobinson.co.uk/?p=991</guid>
		<description><![CDATA[A few days ago I tweeted: &#8220;Writing a proposal. Oh boy do I hate word processors. There must be a better way.&#8221; It turns out there is, though I ended up forging my own path to suit my skills and working methods. A little background&#8230; I need to produce decent looking proposals for web development [...]]]></description>
			<content:encoded><![CDATA[	<p>A few days ago I tweeted:</p>

	<p>&#8220;Writing a proposal. Oh boy do I hate word processors. There must be a better way.&#8221;</p>

	<p>It turns out there is, though I ended up forging my own path to suit my skills and working methods. A little background&#8230;</p>

	<p>I need to produce decent looking proposals for web development projects. Normally I bite the bullet and suffer the awkwardness of Word or OpenOffice or LibreOffice or something, and then export to <span class="caps">PDF</span>. It&#8217;s all very clever: it took some great minds to produce this software. But it really goes against the grain. It feels so wrong.</p>

	<p>I like plain old <strong>text</strong>, and as a web developer I&#8217;m used to defining the style of documents by hand, in <span class="caps">CSS</span>, rather than using another program to do it for me, <em>as I write</em>. I would go further and claim that this is not just a matter of personal taste: <em>word processors are bad for the world</em>. Sure, people are used to them, and they cannot imagine a better way, and &#8211; most importantly &#8211; there is probably no equally mature, friendly, well-supported and funded software in place to allow for a move away from them as things stand. But it does not follow from this that they are good.</p>

	<h3>What&#8217;s Wrong With Word Processing?</h3>

	<p>The name, to start with. But most of all <strong><span class="caps">WYSIWYG</span></strong>. One thing I&#8217;ve learned from web development is the importance of respecting the logical separation of style and content. <span class="caps">WYSIWYG</span> is not so respectful. Everything happens in the same place and at the same time. Effectively, documents are typeset as you go, character by character. This is silly.</p>

	<p>Formatting your document&#8217;s style has nothing to do with its content. What you are trying to say is a different concern from how it should look. And I do not mean that the two human operations are more conveniently handled by separate software operations. I mean that they are different <em>human</em>, <em>conceptual</em>, <em>natural</em> concerns. Of course it has to look good (although a. it <em>doesn&#8217;t</em> always have to, and b. even plain text looks way better than a clipartified Word document). Yes, of course your document has to conform to a company standard, or your own standard, and how it looks might be partly what you intend to convey. But all this precisely means that these standards and styles ought to be defined separately, beforehand, leaving you to get on with the writing: to concentrate on what it is you have to say. It is the difference between talking to somebody at a party and deciding what you are going to wear to that party.</p>

	<p>Using <span class="caps">WYSIWYG</span> software such as the horribly feature-rich <em>Word</em> is like going to a party with several changes of clothes and proceeding to change them every time you think that what you&#8217;re saying doesn&#8217;t go with stripes. Sure, do the best you can to look good, but <em>prepare</em> for that, by going shopping, trimming your beard, and putting on your best Y-fronts. After all that&#8217;s done you can get on with talking to people and getting drunk, safe in the knowledge that you&#8217;re looking great. Underdressed? Well, if you didn&#8217;t care enough to prepare, to research, and to tune your attire accordingly, then you shouldn&#8217;t care about being underdressed.</p>

	<p>Now, moving on from that straining analogy, the biggest benefit of separating style and content is that content becomes <em>independent</em> of how it is presented. If standards of presentation change, or a piece of writing needs to be reproduced in different formats, or you&#8217;ve finally got tired of Comic Sans, then you shouldn&#8217;t be going anywhere near your content to achieve the desired formatting changes. But word processors force you to do this. You actually have to open and edit your document, just to re-style it. This wrongheadedness has been spectacular in its worldwide detrimental impact.</p>

	<p>(Note that I&#8217;m quite ignorant of Word and the no-doubt very sophisticated setups that can be achieved in organizations where stanadardized presentation is important. For all I know maybe you <em>don&#8217;t</em> always have to go back and edit your document or re-assign a template of whatever. However, achieving this is just a workaround, and likely would not have a perfect success rate; it seems clear that the default expectation of the software is that you do mix up content and presentation.)</p>

	<p>And faced with the option, the <em>expectation</em>, to fiddle about with fonts and bullets, it takes discipline, imposed from above or by yourself, to beat down that natural inclination. This is not a matter of freedom. In my case, I have to struggle with formatting issues almost every time I write &#8211; or rather, <em>process</em> &#8211; one of these documents, because I might be using different word processors on different platforms with different fonts or whatever. This should not even be an issue, because we already <em>know</em>, deep down, that style and content are logically separate categories (note that this does not mean that they do not sometimes overlap). And in a company environment, standard templates for Word and detailed strictures and guidelines from management on formatting, fonts and colours, are awkward and only partly successful workarounds for a problem that would not exist without <span class="caps">WYSIWYG</span>.</p>

	<p>The writer of a document has expertise in the subject addressed by that document. They may not have expertise in typography and layout, and usually they do not. The latter, then, becomes nothing but a distraction and a huge waste of time. And &#8230; I didn&#8217;t ask you to send me a bloody Word attachment in the first place!</p>

	<p>The natural paradigm for me, which I get from web development, is to write stuff in a text file, and to define how it looks in another text file, and <em>only then</em> to view how it will look to the document&#8217;s recipient. I believe this should go for print documents as well as <span class="caps">HTML</span> web pages.</p>

	<p>It is already the way of things in printing, publishing and professional writing. I don&#8217;t believe Proust was worrying about typefaces when he painstakingly described the memory of a hawthorn bloom, and the prevalence of Word has not made this any less true of professional writers today. Why should any writer, or anyone who becomes a writer for brief periods &#8211; whether of poems or proposal documents or annual reports &#8211; have to worry about such things? Why has the division of labour, both human and machine, which is so thoroughly advanced in the modern world, been bypassed in this case?</p>

	<h3>Lightweight Markup</h3>

	<p>A few years ago I discovered <a href="http://thresholdstate.com/articles/4312/the-textile-reference-manual">Textile</a>, which is a lightweight markup language. What a Godsend. I can get on with <em>writing</em>:</p>

<div class="codecolorer-container text blackboard" style="border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">h1. This is The Main Heading<br />
<br />
For a long time I used to go to bed early. Sometimes, when I had put out my candle, my eyes would close so quickly that I had not even time to say &quot;I'm going to sleep.&quot; And half an hour later the thought that it was time to go to sleep would awaken me; I would try to put away the book which, I imagined, was still in my hands, and to blow out the light; I had been thinking all the time, while I was asleep, of what I had just been reading, but my thoughts had run into a channel of their own, until I myself seemed actually to have become the subject of my book: a church, a quartet, the rivalry between François I and Charles V. This impression would persist for some moments after I was awake; it did not disturb my mind, but it lay like scales upon my eyes and prevented them from registering the fact that the candle was no longer burning. Then it would begin to seem unintelligible, as the thoughts of a former existence must be to a reincarnate spirit; the subject of my book would separate itself from me, leaving me free to choose whether I would form part of it or no; and at the same time my sight would return and I would be astonished to find myself in a state of darkness, pleasant and restful enough for the eyes, and even more, perhaps, for my mind, to which it appeared incomprehensible, without a cause, a matter dark indeed.<br />
<br />
h2. This is a Secondary Heading<br />
<br />
Furthermore, each one of the following is an item in an unordered list:<br />
<br />
* Something<br />
* Something else<br />
* And another thing<br />
<br />
As Oscar Wilde &quot;once said&quot;:http://upword.com/wilde/dorgrayp.html,<br />
<br />
bq. No artist desires to prove anything. Even things that are true can be proved. No artist has ethical sympathies. An ethical sympathy in an artist is an unpardonable mannerism of style. No artist is ever morbid. The artist can express everything.<br />
<br />
Now for some Latin. Lorem ipsum dolor sit amet, duo id viris posidonium signiferumque. Maluisset patrioque vis ad, eruditi imperdiet ex pro. At eirmod luptatum expetenda mei, vel impetus meliore oporteat ex, case postea vivendo per eu. Enim prima ridens an mel. Ne has clita scripserit, eam eu veri mundi dissentiet. Eros torquatos sed cu.</div></div>

	<p>All in a <em>text editor</em>. You know, like Notepad only with nice colours and productivity tools. There&#8217;s nothing and nobody messing around <em>processing</em> what I write. Processing comes later, based on separate settings that I have set up for the scenario.</p>

	<h3>My Great Solution Which, Though Great, Could Most Probably Be Vastly Improved Upon</h3>

	<p>Up till now I&#8217;ve only really used Textile to generate <span class="caps">HTML</span> for display on web sites, usually blog posts, but now that I&#8217;ve (mostly) moved away from Windows and on to Linux, manipulating text becomes all the more easy. I&#8217;ve created a nice wee setup to generate <span class="caps">PDF</span> documents styled with <span class="caps">CSS</span> straight from a Textile file. I should stress that this involves the terminal and bash scripts, so it&#8217;s probably for geeks only.</p>

	<p>The upshot is that when I want to write a proposal, I just run a couple of commands to set up a proposal project based on a template, and then get down to writing my document in Textile, and when I want to see what it&#8217;ll look like I just run ~/gopdf.sh, which generates a <span class="caps">PDF</span>.</p>

	<p>The gopdf.sh bash script does three things in order:</p>

	<p>A. Generates an <span class="caps">HTML</span> file from the textile file using pandoc<br />
B. Generates a <span class="caps">PDF</span> from the <span class="caps">HTML</span> file using xhtml2pdf<br />
C. Opens the <span class="caps">PDF</span></p>

	<p><img src="http://alistairrobinson.co.uk/wp-content/uploads/2012/01/Screenshot-at-2012-01-24-092801.png" alt="pdf screenshot" title="Screenshot at 2012-01-24 09:28:01" width="600" height="543" class="alignleft size-full wp-image-994" /></p>

	<p>(If I had actually got to the stage where I&#8217;ve built up a nice <span class="caps">PDF</span> stylesheet I would have shown you something more fancy, but there you go. And the sharp-eyed among you will notice that the line of text immediately following the list is squashed up to it. This might be a problem with pandoc&#8217;s understanding of textile, which is not perfect, favouring the alternative Markdown as it does. You can include <span class="caps">HTML</span> in among the Textile markup, so a line break here is easy to achieve, or else a <span class="caps">CSS</span> bottom margin would probably do it, and would probably be the better choice.)</p>

	<h3>What it Allows Me to Do</h3>

	<p>Before I describe how I make all this possible, here in more detail is what I now do every time I get a new client who wants a proposal.</p>

	<p><strong>One</strong></p>

	<p>So I meet with Bob of Bob&#8217;s Cake Company fame, and he tells me he wants a cake web app. I say sure, no problem, then I go home, start up Linux and create a folder called bobs_cake_company, and cd into it. Then&#8230;</p>

<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">~/startdoc.sh proposal</div></div>

<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">subl .</div></div>

	<p>The first command copies over my standard proposal template folder to bobs_cake_company as a sub-folder called &#8220;proposal&#8221;. The second one just opens the current folder, bobs_cake_company, in <a href="http://www.sublimetext.com/2">Sublime Text 2</a> (I seem to remember doing some things to get that &#8220;subl&#8221; command working, but I&#8217;m not sure what. Probably just a symlink.)</p>

	<p><strong>Two</strong></p>

	<p>I write the document in the file that is there waiting for me, proposal.textile. Remember, by writing I just mean writing. Not fiddling with margins or choosing bullets or struggling with alignment issues or fixing pasted text or making sure that the screenshot isn&#8217;t blurry or anything else like that.</p>

	<p><strong>Three</strong></p>

	<p>In the terminal&#8230;</p>

<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">compass watch</div></div>

	<p>This generates a stylesheet from the <span class="caps">SASS</span> files in which I define the <span class="caps">CSS</span> stylings. Full disclosure: currently my method is in its early stages so I don&#8217;t yet have a good standard <span class="caps">CSS</span> stylesheet for <span class="caps">PDF</span>s. I&#8217;ll be building this as I go along for a project or two before I can just leave it alone. So right now I&#8217;m actually running this Compass watcher when I begin writing, because I&#8217;m styling as I go, like a human word processor. Not for long.</p>

	<p><strong>Four</strong></p>

	<p>Then in the terminal (in a new tab):</p>

<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">~/gopdf.sh proposal</div></div>

	<p>This creates a <span class="caps">PDF</span> (or overwrites the one that already exists), and then opens it in the default <span class="caps">PDF</span> viewer. Thereafter I just run &#8220;~/gopdf.sh proposal&#8221; whenever I want to see my changes in the <span class="caps">PDF</span>.</p>

	<p><strong>Five</strong></p>

	<p>Send proposal to client and have a cigarette.</p>

	<h3>Making it All Possible</h3>

	<p>The process I&#8217;ve just described depends on a few pre-existing elements:</p>

	<ul>
		<li>pandoc</li>
		<li>xhtmlpdf</li>
		<li>startdoc.sh bash script</li>
		<li>gopdf.sh bash script</li>
		<li>a proposal_template folder with goodies in it</li>
		<li>Compass (optional)</li>
		<li>Sublime Text 2 (optional)</li>
		<li>A dangerous, expensive and anti-social nicotine addiction (optional)</li>
	</ul>

	<p>You do the following stuff once only.</p>

	<p><strong>Get pandoc</strong>: <a href="http://johnmacfarlane.net/pandoc/">Pandoc</a> is a Haskell library that converts between lots of different kinds of documents. I would have used it alone had it been able to convert Textile and <span class="caps">CSS</span> to <span class="caps">PDF</span> directly. (I couldn&#8217;t make it work and concluded that pandoc couldn&#8217;t do it, but I could be wrong.)</p>

	<p><a href="http://johnmacfarlane.net/pandoc/installing.html">Installation instructions are here</a></p>

	<p><strong>Get xhtml2pdf</strong>: <a href="http://www.xhtml2pdf.com/">xhtml2pdf</a> is a python package that generates <span class="caps">PDF</span> files from <span class="caps">HTML</span> and <span class="caps">CSS</span>. It can be installed with easy_install or pip and also available to download <a href="http://pypi.python.org/pypi/xhtml2pdf/#downloads">here</a></p>

	<p><strong>If you are so inclined, get Compass</strong>: <a href="http://compass-style.org/">Compass</a> is a <span class="caps">CSS</span> authoring framework built on Ruby and <a href="http://sass-lang.com/"><span class="caps">SASS</span></a>. You write in <span class="caps">SASS</span> and Compass generates <span class="caps">CSS</span> files for you. The latter are what you actually run on the server. I&#8217;ve been using it for a year or so and I love it. One of the reasons I like it is just because I can avoid the curly braces and semi-colons of <span class="caps">CSS</span> itself. I&#8217;m addicted to significant whitespace. (Though it&#8217;s worth noting that they&#8217;ve been going after designers and have opted to make their <span class="caps">SCSS</span> syntax the default because <span class="caps">SASS</span> looks too much like programming).</p>

<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">gem install compass</div></div>

	<p>More details on installing Compass <a href="http://compass-style.org/install/">here</a></p>

	<p><strong>If you need a great text editor, get Sublime Text 2</strong>:It&#8217;s all the rage, and for good reason. <a href="http://www.sublimetext.com/2">Get it here</a></p>

	<p><strong>Create startdoc.sh</strong>:</p>

<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<br />
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-r</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>alistair<span style="color: #000000; font-weight: bold;">/</span>projects<span style="color: #000000; font-weight: bold;">/</span>proposal_template <span style="color: #007800;">$PWD</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$1</span><br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$1</span><br />
<span style="color: #c20cb9; font-weight: bold;">mv</span> proposal.textile <span style="color: #007800;">$1</span>.textile</div></div>

	<p>This copies the proposal template folder, renames it depending on your argument, and also renames the .textile file.</p>

	<p><strong>Create gopdf.sh</strong>:</p>

<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<br />
pandoc <span style="color: #660033;">--email-obfuscation</span>=none <span style="color: #660033;">-s</span> <span style="color: #660033;">-S</span> <span style="color: #660033;">-c</span> stylesheets<span style="color: #000000; font-weight: bold;">/</span>print.css <span style="color: #007800;">$1</span>.textile <span style="color: #660033;">-o</span> <span style="color: #007800;">$1</span>.html <span style="color: #660033;">-s</span> <span style="color: #660033;">-S</span> <span style="color: #660033;">-c</span> stylesheets<span style="color: #000000; font-weight: bold;">/</span>print.css <span style="color: #007800;">$1</span>.textile <span style="color: #660033;">-o</span> <span style="color: #007800;">$1</span>.html<br />
python makepdf.py <span style="color: #007800;">$1</span>.html <span style="color: #007800;">$1</span>.pdf<br />
gnome-open <span style="color: #007800;">$1</span>.pdf</div></div>

	<p>This is where the action happens. It runs pandoc to convert from Textile to <span class="caps">HTML</span> &#8211; along with print.css &#8211; and then runs makepdf.py (which in turn runs xhtml2pdf, as we shall see) to take <strong>proposal.html</strong> and generate <strong>proposal.pdf</strong>.</p>

	<p><strong>Create the proposal_template folder</strong></p>

	<p>We need to create a standard proposal template that will thereafter be copied over to a new project any time you run ~/startdoc.sh. It consists of a folder structure which looks like this:</p>

<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">proposal_template<br />
&nbsp; &nbsp;|-documentation<br />
&nbsp; &nbsp;|-images<br />
&nbsp; &nbsp;|-sass<br />
&nbsp; &nbsp; &nbsp;---print.sass<br />
&nbsp; &nbsp;|-stylesheets<br />
&nbsp; &nbsp;|---fonts<br />
&nbsp; &nbsp;config.rb<br />
&nbsp; &nbsp;makepdf.py<br />
&nbsp; &nbsp;proposal.textile</div></div>

	<p>The folder <strong>sass</strong> contains the Compass <span class="caps">SASS</span> file; <strong>stylesheets</strong> contains the <span class="caps">CSS</span> that is produces from the <span class="caps">SASS</span>, namely print.css; <strong>config.rb</strong> is the Compass config file; and <strong>makepdf.py</strong> runs xhtml2pdf, but is itself executed by the <strong>gopdf.sh</strong> bash script. The folder <strong>fonts</strong> contains font-files that can be included in the <span class="caps">PDF</span> by using @font-face in the stylesheet.</p>

	<p>Once all this is copied over by startdoc.sh, <strong>proposal.textile</strong> is where all the writing happens.</p>

	<p>The Python script, <strong>makepdf.py</strong>, looks like this:</p>

<div class="codecolorer-container python blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">from</span> xhtml2pdf <span style="color: #ff7700;font-weight:bold;">import</span> pisa<br />
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">sys</span><br />
<br />
pdf <span style="color: #66cc66;">=</span> pisa.<span style="color: black;">CreatePDF</span><span style="color: black;">&#40;</span><br />
&nbsp; <span style="color: #008000;">file</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">sys</span>.<span style="color: black;">argv</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#93;</span><span style="color: #66cc66;">,</span> <span style="color: #483d8b;">&quot;r&quot;</span><span style="color: black;">&#41;</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #008000;">file</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">sys</span>.<span style="color: black;">argv</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">2</span><span style="color: black;">&#93;</span><span style="color: #66cc66;">,</span> <span style="color: #483d8b;">&quot;wb&quot;</span><span style="color: black;">&#41;</span><br />
&nbsp; <span style="color: black;">&#41;</span><br />
<br />
pdf.<span style="color: black;">dest</span>.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></div></div>

	<p>This is called in <strong>gopdf.sh</strong>, specifically this line:</p>

<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">python makepdf.py <span style="color: #007800;">$1</span>.html <span style="color: #007800;">$1</span>.pdf</div></div>

	<p>So running <strong>~/gopdf.sh proposal</strong> will get pisa to take proposal.html and generate proposal.pdf. Pisa, by the way, is the original name &#8211; or central core &#8211; of xhtml2pdf.</p>

	<p>In the near future I hope to fill the standard print.css with lots of proposal-specific stylings, and proposal.textile will probably contain my standard section headings and table of contents.</p>

	<p>By the way, when creating the standard template, the Compass stuff can be set up automatically by running the following command.</p>

<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">compass create --syntax sass</div></div>

	<p>(If you like the <span class="caps">SASS</span> syntax, that is)</p>

	<h3>WordPress</h3>

	<p>I&#8217;m writing this in Textile right now, but it struck me that I only had a WordPress blog to post it to. I can use Textile for my <a href="http://critique-of-pure-reason.com">philosophy blog</a>, because I built the engine myself in Django, but I hadn&#8217;t got far in the past trying to get Textile working in WordPress. Thankfully, Veeti Paananen has provided a plugin, <a href="https://github.com/rojekti/Simple-Textile/">Simple-Textile</a> which seems to work nicely.</p>

	<p>It&#8217;s really time to move this blog, and a redesign is probably overdue.</p>

	<h3>Afterthoughts</h3>

	<p>If you&#8217;re not a coder, but you&#8217;re an author or just do a lot of writing, and you don&#8217;t have to worry too much about making your words look good enough for Bob of Bob&#8217;s Cake Company to print out &#8212; but you do want a nice, pleasing, peaceful, distraction-free writing environment, then there are some nice minimalist editors out there at the moment, such as <a href="http://www.ommwriter.com/">OmmWriter</a> and <a href="http://www.hogbaysoftware.com/products/writeroom">WriteRoom</a>.</p>

	<p>I get basically the same thing in Sublime Text when I put it in &#8220;distraction-free mode&#8221;, so my programming and web design editor also functions as a nice place to write about <a href="http://critique-of-pure-reason.com">Wittgenstein, Heidegger, Karl Marx and the evils of traffic control</a>.</p>

	<p>But when it comes to writing something big or complex like a book or a thesis, folks sometimes opt for specialist software, such as editors that revolve around the <a href="http://www.latex-project.org/intro.html">LaTex</a> typsetting markup system. These are usually built on the same paradigm that I&#8217;ve been describing, namely the separation of style and content, which is especially important with documents primarily intended for professional print publishing. Word processors are strictly for home and office use, and I imagine those in the world of printing never touch them with a bargepole. It must be galling that word processors are these days thought to be the last word in setting and styling type, because while they have cast that noble profession into obscurity &#8211; though certainly not into obsolescence &#8211; their own ability to do it well is tragically lacking. Next time you&#8217;re in a print shop ask them what they think of Microsoft Word, so long as you don&#8217;t find anti-Microsoft rants boring.</p>

	<p>Thanks to all of the wonderful and generous programmers out there without whom I would likely still be shouting at Word like a madman.</p>

	<h3>Further Reading</h3>

	<p>I&#8217;m not the only one, you know.</p>

	<p><a href="http://www.mymac.com/2004/01/why-do-i-hate-word-processors/">Why Do I Hate Word Processors?</a><br />
<a href="http://ricardo.ecn.wfu.edu/~cottrell/wp.html">Word Processors: Stupid and Inefficient</a><br />
<a href="http://www.conradiator.com/downloads/pdf/WhatHasWYSIWYG_done2us.pdf">What has <span class="caps">WYSIWYG</span> done to us?</a></p>]]></content:encoded>
			<wfw:commentRss>http://alistairrobinson.co.uk/goodbye-and-good-riddance-to-wysiwyg-and-word-processors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clean Energy 2: The Comeback of Nuclear Power in the UK</title>
		<link>http://alistairrobinson.co.uk/clean-energy-2-the-comeback-of-nuclear-power-in-the-uk/</link>
		<comments>http://alistairrobinson.co.uk/clean-energy-2-the-comeback-of-nuclear-power-in-the-uk/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 19:07:00 +0000</pubDate>
		<dc:creator>Alistair</dc:creator>
				<category><![CDATA[environment]]></category>
		<category><![CDATA[places]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[nuclear]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[radioactive]]></category>
		<category><![CDATA[scotland]]></category>
		<category><![CDATA[station]]></category>
		<category><![CDATA[sustainability]]></category>
		<category><![CDATA[uk]]></category>

		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/2008/01/clean-energy-2-the-comeback-of-nuclear-power-in-the-uk.html</guid>
		<description><![CDATA[&#8220;Nuclear power? To most people, it’s witchcraft&#8221; (Chris Patten) To describe nuclear power as clean might seem perverse, given that some of the waste produced is so dangerous that there is no containment material that won&#8217;t be destroyed by it, and that it remains dangerous for hundreds of thousands of years. But last week the [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Nuclear power? To most people, it’s witchcraft&#8221; (Chris Patten)</p>
<p>To describe nuclear power as clean might seem perverse, given that some of the waste produced is so dangerous that there is no containment material that won&#8217;t be destroyed by it, and that it remains dangerous for hundreds of thousands of years.</p>
<p>But last week the government finally said yes to the construction of up to ten nuclear power stations, at least some of which might be up-and-running by 2020. They&#8217;ve put off the decision for a long time. New Labour, motivated for so long by the desire to be liked, refused to face the impending energy crisis. Now that the closure of many of our existing nuclear power stations is fast approaching (several over the next twenty years), and now that they have the fortifying experience of not being liked, they&#8217;ve bitten the bullet.</p>
<p>Generally, my main concern is for progress, for economic development, which I believe is the basis for a society of free and equal people, living fulfilling lives. A wealthy, technologically advanced country like Britain needs base load power stations, ones that provide a constant flow of power. It looks like renewables cannot provide much of this, so the answer must be coal, oil and nuclear. Given the need to reduce CO2 emissions, this means we need to go for nuclear or clean coal &#8211; or both. From this perspective, nuclear power is very important, because clean coal is still in its infancy.</p>
<p>Nuclear can be considered clean because it does not pollute the environment. Although the high-level waste is extremely dangerous, in practise it doesn&#8217;t actually harm people or the environment, if stored correctly. And there isn&#8217;t much of it. Ten new nuclear power stations with a lifetime of sixty years would produce 40,900 cubic metres of this waste, which is half the volume of the Albert Hall. (1)   The projects for the waste&#8217;s short-term and long-term containment look good: <a href="http://www.corwm.org.uk/PDF/0700.2%20-%20Final%20report%20-%20draft%20for%20January%202006%20plenary.pdf">Managing our Radioactive waste Safely</a> (Committee on Radioactive Waste Management, PDF)</p>
<p>Nuclear is now one of the safest, cleanest ways we have of producing energy, but it got a bad name for itself in the eighties and nineties. This is partly owing to scientific ignorance and a mis-perception of risk, but the nastiness of the nuclear industry couldn&#8217;t have helped either. &#8220;The nuclear industry, for most of its life, has been, to put it at its mildest, economical with the truth&#8221; (2)</p>
<p>While I&#8217;m broadly supportive of the new plans, I can sympathise with those who aren&#8217;t and who know how despicable the industry has been in the past. It&#8217;s been run by a secretive cabal of shamans and priests, jealously guarding their power against outsiders. I don&#8217;t know how much it has changed, but can we afford to hold things up while they get their act together? We certainly need a completely open, honest and unapologetic nuclear industry, not one that will reinforce the perception of witchcraft. But we also need to get started on the new stations now.</p>
<p>My fondest childhood memories are of living in the little village of Fairlie, a mile or two south of Largs, on the North Ayrhsire coast. In this part of Ayrshire the towns cling to a narrow stretch of land between the sea and a big lump of uninhabitable high moorland, now called Clyde Muirshiel Regional Park, extending from Greenock in the north to West Kilbride in the south, and inland to Lochwinnoch and Kilmacolm. And with Cumbrae, Arran and Bute enclosing the Firth of Clyde, this stretch of coastline has a sheltered, cosy feel to it. It&#8217;s dramatic and picturesque, but not overwhelming (I&#8217;ve only just realized that I have this knowledge, or appreciation, after having been away for a long time.)</p>
<p><iframe marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f=q&amp;hl=en&amp;geocode=&amp;time=&amp;date=&amp;ttype=&amp;q=little+brigurd&amp;sll=55.728077,-4.881706&amp;sspn=0.043886,0.160675&amp;ie=UTF8&amp;ll=55.731267,-4.891319&amp;spn=0.043875,0.160675&amp;t=h&amp;z=13&amp;iwloc=addr&amp;om=0&amp;output=embed&amp;s=AARTsJr5peza0YzZvW6IU-R1S1gVO5Wz1A" frameborder="0" height="250" scrolling="no" width="325"></iframe><br /><small><a href="http://maps.google.co.uk/maps?f=q&amp;hl=en&amp;geocode=&amp;time=&amp;date=&amp;ttype=&amp;q=little+brigurd&amp;sll=55.728077,-4.881706&amp;sspn=0.043886,0.160675&amp;ie=UTF8&amp;ll=55.731267,-4.891319&amp;spn=0.043875,0.160675&amp;t=h&amp;z=13&amp;iwloc=addr&amp;om=0&amp;source=embed" style="color: rgb(0, 0, 255); text-align: left;">View Larger Map</a></small></p>
<p>Hunterston nuclear power station faces across the bay, from underneath the cliffs at Portencross, to Fairlie and Cumbrae, and it was part of my childhood world, along with the huge ore terminal. The memory of seeing Hunterston &#8220;A&#8221; &#8211; the old Magnox reactor, now being decommissioned &#8211; illuminated at night, is strong. I visited it once (although it was probably Hunterston &#8220;B&#8221;, the newer but less attractive station just next-door), as part of my physics class, and I was struck by how empty it was. Self-centred cynical adolescents we may have been, but even we were awed by the caverns of concrete and steel, and the cathedral-like proportions, and just the thought of that massive hidden power was enough to convince us that we could feel it under our feet and buzzing in the air.</p>
<p>A few dozen metres out to sea are the intake and outlet stations for the cooling system. I remember being struck by the sight of the big bubbling patch where the warmed water was returned to the sea. You can see both the intake and outlet very clearly on the satellite image. The white blob is the latter.</p>
<p>Now that I&#8217;m in Edinburgh, my local nuclear power station is Torness, on the coast of East Lothian. You get a good view of it from the East Coast Main Line railway. A couple of years ago, one of its walls became a projector screen for Europe&#8217;s biggest art installation, Lumin de Lumine by Ken McMullen. See a picture of it <a href="http://www.symmetrymagazine.org/cms/?pid=1000284">here on this particle physics website</a>.</p>
<p>(1) The Future of Nuclear Power, DTI, May 2007<br />
(2) <a style="font-style: italic;" href="http://www.world-nuclear.org/sym/1999/kirby.htm">Reporting the Nuclear Industry: Sorcery versus Common Sense</a>, The Uranium Institute</p>
<p>Government go-ahead:<br />
<a href="http://news.bbc.co.uk/1/hi/uk_politics/7179579.stm">http://news.bbc.co.uk/1/hi/uk_politics/7179579.stm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alistairrobinson.co.uk/clean-energy-2-the-comeback-of-nuclear-power-in-the-uk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clean Energy 1: A Milestone in The Glendoe Hydro-electric Scheme</title>
		<link>http://alistairrobinson.co.uk/clean-energy-1-a-milestone-in-the-glendoe-hydro-electric-scheme/</link>
		<comments>http://alistairrobinson.co.uk/clean-energy-1-a-milestone-in-the-glendoe-hydro-electric-scheme/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 12:28:00 +0000</pubDate>
		<dc:creator>Alistair</dc:creator>
				<category><![CDATA[environment]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[dams]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[hydro]]></category>
		<category><![CDATA[hydroelectric]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[turbine]]></category>
		<category><![CDATA[vole]]></category>
		<category><![CDATA[water]]></category>

		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/2008/01/clean-energy-1-a-milestone-in-the-glendoe-hydro-electric-scheme.html</guid>
		<description><![CDATA[On January 7th the 200-metre-long tunnel boring machine called Eliza Jane broke through the side of a mountain in Scotland after sixteen months of grinding. The resulting five mile tunnel will take water from a reservoir up on the Monadhliath plateau down to Loch Ness, via an underground cavern housing a hydro-electric power station. It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>On January 7th the 200-metre-long tunnel boring machine called Eliza Jane broke through the side of a mountain in Scotland after sixteen months of grinding. The resulting five mile tunnel will take water from a reservoir up on the Monadhliath plateau down to Loch Ness, via an underground cavern housing a hydro-electric power station. It&#8217;s the biggest civil engineering project in Scotland, and the first major hydro scheme in Britain since the fifties I think. As such, it&#8217;s tremendously exciting: as I&#8217;ve mentioned before, hydro power sets me all a-trembling with fascination and a smidgin of dread. So indulge me.</p>
<p>The water head &#8211; the vertical distance from the turbine to the intake at the reservoir, is 600 metres, the highest in Britain. That&#8217;s just as well, because there aren&#8217;t any big rivers up there, and to get a half-decent flow they&#8217;re having to gather together a number of burns.</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_hNTTea3nHvs/R44RFTvD6HI/AAAAAAAAAfA/J7Y8v5e9oxs/s1600-h/turbine_02-b.jpg"><img style="cursor: pointer;" src="http://bp0.blogger.com/_hNTTea3nHvs/R44RFTvD6HI/AAAAAAAAAfA/J7Y8v5e9oxs/s320/turbine_02-b.jpg" alt="" id="BLOGGER_PHOTO_ID_5156077406280476786" border="0" /></a></p>
<p><a href="http://www.topomatika.hr/Applications/turbine-en.htm">http://www.topomatika.hr/Applications/turbine-en.htm</a></p>
<p>The power station will use a Pelton turbine.   The American Lester Allan Pelton invented it in about 1870, and it&#8217;s still going strong. It&#8217;s pretty much the most efficient way of getting the energy out of a jet of water. It works by getting energy from the force of a high-speed jet, not from the pressure of the head of water. And with a high head of 600 meteres you can get a pretty fast flow going.</p>
<p>We&#8217;re not about to run out of rain any time soon &#8211; any more than we&#8217;re about to run out of wind &#8211; so it&#8217;s as sustainable as you can get. Some members of the walking community were opposed to it, at least in the beginning, but it&#8217;s generally viewed favourably by environmentalists and it&#8217;s popular with the locals. (As it is, the area isn&#8217;t much frequented by walkers anyway, and it&#8217;s primarily been only a deer and grouse hunting area for a long time.) It&#8217;ll have a capacity of 100 megawatts, which is a huge contribution to the country&#8217;s energy &#8211; the equivalent of 50 wind turbines.</p>
<p>Scottish &amp; Southern Energy seem to have been very careful not to disturb any important or sensitive species of wildlife. Concerning the water vole, they even went as far as to establish that the dam and reservoir will destroy only a few disused burrows. Whether the presence of a single water vole at the bottom of the valley would have stalled the project, I&#8217;m not sure.</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_hNTTea3nHvs/R44gzzvD6II/AAAAAAAAAfI/0LO5K_4qOvI/s1600-h/P1162387.JPG"><img style="cursor: pointer;" src="http://bp2.blogger.com/_hNTTea3nHvs/R44gzzvD6II/AAAAAAAAAfI/0LO5K_4qOvI/s200/P1162387.JPG" alt="" id="BLOGGER_PHOTO_ID_5156094697818810498" border="0" /></a></p>
<p>If you can&#8217;t get enough of all this water engineering, the scheme featured in a radio program by Adam Hart-Davis a couple of years ago, when construction was just beginning. You can still <a href="http://www.bbc.co.uk/radio4/engineeringsolutions/pip/j5cfs/">listen to it here</a>. Also, have a look at my other posts, on the <a href="http://www.alistairrobinson.co.uk/blog/2007/04/the-great-man-made-river-project-and-libyan-democracy.html">Great Man-made River Project</a> and the <a href="http://www.alistairrobinson.co.uk/blog/2007/02/ben-vane-winter-walk.html">Loch Sloy Power Station</a>.</p>
<p><a href="http://news.bbc.co.uk/1/hi/scotland/highlands_and_islands/7171802.stm">BBC report</a><br />
<a href="http://edinburghnews.scotsman.com/scotland?articleid=3648297">Edinburgh Evening News report</a><br />
<a href="http://www.glendoe.co.uk/">Glendoe scheme official site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alistairrobinson.co.uk/clean-energy-1-a-milestone-in-the-glendoe-hydro-electric-scheme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Great Man-Made River Project and Libyan Democracy</title>
		<link>http://alistairrobinson.co.uk/the-great-man-made-river-project-and-libyan-democracy/</link>
		<comments>http://alistairrobinson.co.uk/the-great-man-made-river-project-and-libyan-democracy/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 13:31:00 +0000</pubDate>
		<dc:creator>Alistair</dc:creator>
				<category><![CDATA[ideas]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[africa]]></category>
		<category><![CDATA[agriculture]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[colonel]]></category>
		<category><![CDATA[democracy]]></category>
		<category><![CDATA[desert]]></category>
		<category><![CDATA[engineering]]></category>
		<category><![CDATA[gaddafi]]></category>
		<category><![CDATA[gmmr]]></category>
		<category><![CDATA[gmmrp]]></category>
		<category><![CDATA[great]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[human rights]]></category>
		<category><![CDATA[libya]]></category>
		<category><![CDATA[man-made]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[qaddafi]]></category>
		<category><![CDATA[river]]></category>
		<category><![CDATA[water]]></category>

		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/2007/04/the-great-man-made-river-project-and-libyan-democracy.html</guid>
		<description><![CDATA[UPDATE 21st Feb 2011: Despite the general tone of this post, in which I show admiration for the achievements of the Great Manmade River Project and sympathy for Gadaffi&#8217;s political philosophy of direct democracy &#8211; I have no illusions about the real nature of the regime, and I FULLY SUPPORT any revolutionary pro-democratic action that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE 21st Feb 2011: Despite the general tone of this post, in which I show admiration for the achievements of the Great Manmade River Project and sympathy for Gadaffi&#8217;s political philosophy of direct democracy &#8211; I have no illusions about the real nature of the regime, and I FULLY SUPPORT any revolutionary pro-democratic action that is now taking place, and ABSOLUTELY CONDEMN the violent actions of the government.</strong></p>
<p><a href="http://bp1.blogger.com/_hNTTea3nHvs/RiE5-4n7eEI/AAAAAAAAAVA/Xll7RUnij0c/s1600-h/gmmr_logo.jpg"><img id="BLOGGER_PHOTO_ID_5053384009400940610" style="" alt="" src="http://bp1.blogger.com/_hNTTea3nHvs/RiE5-4n7eEI/AAAAAAAAAVA/Xll7RUnij0c/s320/gmmr_logo.jpg" border="0" /></a></p>
<p>I listened to a Radio 4 programme on the Great Man-Made River project in Libya. For the moment at least, you can <a href="http://www.bbc.co.uk/radio4/science/libyasdesertwater.shtml">listen to it here</a>. It&#8217;s the mother of all water engineering projects, and as I&#8217;ve said before in this blog, I have an odd fascination with this kind of thing. Apart from anything else the project is beautifully simple, audacious and progressive. According to Unesco it&#8217;s the <em>largest engineering scheme currently being carried out in the world</em>, and it has also been described as the eighth wonder of the world. From where I sit in mean little Britain, which made such a cynical fuss about the Channel Tunnel and the Scottish Parliament building, it&#8217;s very inspiring.</p>
<p>In the sixties, during oil exploration in Libya&#8217;s part of the Sahara desert, they found vast quantities of underground water in fossil aquifers. As it turns out there are four major underground basins, three of which combined contain 35,000 cubic kilometres of water. That&#8217;s 35,000,000,000,000 cubic metres (what&#8217;s that, 35 <em>trillion</em>?)</p>
<p>Scratching a living from the desert ain&#8217;t much fun, so around 1980, &#8220;The people of Libya under the guidance of their leader, Colonel Muammar Al Qadhafi&#8221;, began looking into the possibility of accessing it. <a href="http://www.gmmra.org/">The Great Man-made River Authority</a> was created in 1983 to organize the project, which was mainly about getting the water from the aquifers all the way to the populated coastal regions on the Mediterranean in the north of the country. The solution was simple: huge pipes.</p>
<p>The importance of the project for the development of Libya&#8217;s society can hardly be overstated. To create a thriving agriculture from a desert land is a beautiful thing, and despite the scepticism in the Western media &#8211; a few years ago I read a newspaper article that described it as a vanity project of Gadaffi&#8217;s that was doomed to failure &#8211; it has worked. Phases one and two are complete. Phase one provides two million cubic metres per day along a 1,200km pipeline to Benghazi and Sirt. Phase two delivers a million cubic metres a day to the fertile Jeffara plain, and to the capital Tripoli. Phase three is now in full-swing.</p>
<p>I don&#8217;t understand the attitude of the Western press. Here&#8217;s a quote from a website about the project which describes what I&#8217;m on about:</p>
<blockquote><p>London and Washington circles were apoplectic about the opening of the new Libyan water project. The London Financial Times ran criticisms of the project from Angus Henley of the London-based Middle East Economic Digest. The pipeline, he said, was &#8216;Qaddafi&#8217;s pet project. He wants to be seen as something other than the scourge of the West.&#8217; The Financial Times called the project Qaddafi&#8217;s &#8216;pipedream,&#8217; stating that critics may be awed by the engineering involved, &#8216;But they regard the dream as a monument to vanity that makes little economic sense in a country where the U.N. Development Program says 94.6% of territory is desert wasteland.&#8217;</p></blockquote>
<p>Am I missing something? It is precisely <em>because</em> Libya is mostly desert wasteland that this project is important. And as to the economic argument, here&#8217;s the quantity of water per Libyan dinar obtained for each of the available options:</p>
<p><a href="http://bp0.blogger.com/_hNTTea3nHvs/RiHqGon7eGI/AAAAAAAAAVQ/QhG12xGjeiI/s1600-h/cost_comparing.gif"><img id="BLOGGER_PHOTO_ID_5053577656591415394" style="" alt="" src="http://bp0.blogger.com/_hNTTea3nHvs/RiHqGon7eGI/AAAAAAAAAVQ/QhG12xGjeiI/s320/cost_comparing.gif" border="0" /></a><br />
(<a href="http://www.gmmra.org/">Great Man-Made River Authority </a>)</p>
<p>Also online you can find the results of a study carried out by some American water engineers, which supports the economics of the project: <a href="http://www.engr.psu.edu/ce/Divisions/Hydro/seminars/Harleman04.pdf">The Great Man-Made River in Libya, Does it Make Sense?</a> (PDF)</p>
<p>Listening to the radio program, several things were apparent. The people overseeing and working on this project have an innocent love for their work. They are engineers making life better for the people: sometimes it <em>is</em> just that simple. And they had an openness about the project which the journalist hadn&#8217;t expected in this demonized country. Also, it&#8217;s both an international effort and strongly Libyan: they&#8217;ve taken expertise from around the world (even American), and used it to learn from and develop their own self-sufficient expertise, to realize this very Libyan dream.</p>
<blockquote><p>The river is a new lesson and an example in the struggle to achieve self-sufficiency, food security and true independence. No nation that depends on a foreign country to feed its people can be free. The Great River is a triumph against thirst and hunger. It is a defeat against ignorance and backwardness. It reflects the determination of Libyans to resist colonial pressure, to acquire technology, to develop, to improve their lives, and to control their own destiny in accordance with their own free will.</p></blockquote>
<p> Ali Baghdadi</p>
<p>It got me to thinking about Libyan society, which is referred to by the Libyans as a democracy, in contradiction to our common understanding of the word. The theoretical basis is set out in Gadaffi&#8217;s Green Book, <a href="http://www.mathaba.net/gci/theory/gb.htm">the full text of which is presented quite nicely at this site</a>.</p>
<p>According to the website of the Great Man-Made River Project, the project was implemented by the people:</p>
<blockquote><p>&#8230;the decisions for the implementation and funding of The Great Man Made River project were made at the grass roots level by the basic people’s congresses that were then compiled and made into laws by the General Peoples Congress. The project is funded directly by the Libyan people in the form of levies on fuel, tobacco and international travel etc.</p></blockquote>
<p>On the surface it sounds like a good system to me.</p>
<p>Now, I am aware of the concerns about human rights in the country. Currently there is a foreign medical team there under penalty of death (<a href="http://en.wikipedia.org/wiki/HIV_trial_in_Libya">see the Wikipedia article</a>), and there has been much political repression, including assassinations of dissidents and exiles. The Berber minority was mistreated and derided for decades, and there doesn&#8217;t seem to be a place for freedom of speech or freedom of the press.</p>
<p>I certainly do not want to dismiss all of that, so I hope I don&#8217;t seem glib in saying that the <em>theory</em> on which the system is based strikes me as good. Gadaffi says that electoral democracy is not democratic at all, because it is so indirect. The solution is direct democracy, in which all participate in the study and debate of issues and policies confronting the nation. Partcipation as opposed to representation. This is the Athenian model, and was possible in city-states because of their small populations. But to implement it on a large scale requires the following set-up:</p>
<blockquote><p>First, the people are divided into Basic Popular Conferences. Each Basic Popular Conference chooses its secretariat. The secretariats of all Popular Conferences together form Non-Basic Popular Conferences. Subsequently, the masses of the Basic Popular Conferences select administrative People&#8217;s Committees to replace government administration. All public institutions are run by People&#8217;s Committees which will be accountable to the Basic Popular Conferences which dictate the policy and supervise its execution. Thus, both the administration and the supervision become the people&#8217;s and the outdated definition of democracy &#8211; democracy is the supervision of the government by the people &#8211; becomes obsolete. It will be replaced by the true definition: Democracy is the supervision of the people by the people.</p></blockquote>
<p>The trouble is, in real Libya this is just one side of things. In practice, it is <em>not</em> the theory on which the society&#8217;s organization is based, because overseeing everything you have the Revolutionary Committees, headed by Gadaffi and the military, with unlimited powers: a revolutionary dictatorship that refuses to wither away. So despite how attractive the system of democracy may look to a socialist or anarchist, it cannot be taken to be all-encompassing and the country in general cannot be taken to be truly democratic. But if the democratic aspect of the system were to be all-encompassing, and the military dictatorship done away with, it would be a true democracy.</p>
<p>Further reading:</p>
<p>Great Manmade River Project:<br />
<a href="http://news.bbc.co.uk/1/hi/sci/tech/4814988.stm">http://news.bbc.co.uk/1/hi/sci/tech/4814988.stm</a><br />
<a href="http://www.galenfrysinger.com/man_made_river_libya.htm">http://www.galenfrysinger.com/man_made_river_libya.htm</a><br />
<a href="http://www.water-technology.net/projects/gmr/">http://www.water-technology.net/projects/gmr/</a><br />
<a href="http://www.unesco.org/water/ihp/prizes/great_man/gmmrp.shtml">http://www.unesco.org/water/ihp/prizes/great_man/gmmrp.shtml</a></p>
<p>Summary of the Green Book: <a href="http://www.country-studies.com/libya/the-green-book.html">http://www.country-studies.com/libya/the-green-book.html</a></p>
<p>Human rights:<br />
<a href="http://web.amnesty.org/library/index/engmde190022004">http://web.amnesty.org/library/index/engmde190022004</a><br />
<a href="http://members.tripod.com/%7Esijill/">http://members.tripod.com/~sijill/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alistairrobinson.co.uk/the-great-man-made-river-project-and-libyan-democracy/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

