<?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>pfhawkins.com &#187; writing</title>
	<atom:link href="http://pfhawkins.com/tag/writing/feed/" rel="self" type="application/rss+xml" />
	<link>http://pfhawkins.com</link>
	<description></description>
	<lastBuildDate>Fri, 29 Jan 2010 10:37:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>On Finding a Document Production Workflow for Emacs</title>
		<link>http://pfhawkins.com/2009/01/19/on-finding-a-document-production-workflow-for-emacs/</link>
		<comments>http://pfhawkins.com/2009/01/19/on-finding-a-document-production-workflow-for-emacs/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 14:48:56 +0000</pubDate>
		<dc:creator>pf</dc:creator>
				<category><![CDATA[essay]]></category>
		<category><![CDATA[fiction]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[markdown]]></category>
		<category><![CDATA[pandoc]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://pfhawkins.com/?p=63</guid>
		<description><![CDATA[I have a modest goal: write some fiction. Instead of actually working toward accomplishing that goal, I&#8217;m going to obsess about the toolchain and other externalities used to support this endeavor. I will use revision control. By an accident of history I will be using git. I will use a text editor. Since I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I have a modest goal: write some fiction. Instead of actually working toward accomplishing that goal, I&#8217;m going to obsess about the toolchain and other externalities used to support this endeavor.</p>
<p>I will use revision control. By an accident of history I will be using git.</p>
<p>I will use a text editor. Since I don&#8217;t want to have to run into frictions from modal editing while fiction writing, I will be using Emacs. </p>
<p>If fictions were primarily distributed and displayed as <a href="http://www.gutenberg.org/catalog/">plain-text files</a>, I&#8217;d be good to go. They aren&#8217;t, and I would like to at least attempt to send this higher up the food chain, ending in either a Microsoft Word Document or PDF.</p>
<p>Say, LaTeX makes some nice pdfs. While it manifestly does not suck, and <a href="http://www.gnu.org/software/auctex/">AucTeX</a> is the bee&#8217;s knees, I want to do whatever I can in the way of premature optimization to tilt the ratio of writing to formatting heavily in writing&#8217;s favor. LaTeX is formatting heavy, so I&#8217;d like to avoid that.</p>
<p>Docbook XML also suffers from the same issue. It is a well-specced and quite nice document format. And while <a href="http://www.emacswiki.org/emacs/NxmlMode">nxml-mode</a> is bar-none the premier way to edit straight XML, sorry, it ain&#8217;t happening.</p>
<p>So, what essentially plain-text formats can I convert to either LaTeX or Docbook XML, which I can then use to produce my output format of choice? As of this writing, I see three viable options:</p>
<ul>
<li><a href="http://orgmode.org/">org-mode</a></li>
<li><a href="http://mwolson.org/projects/EmacsMuse.html">muse-mode</a></li>
<li><a href="http://markdown.infogami.com/">markdown</a> and <a href="http://johnmacfarlane.net/pandoc/">pandoc</a></li>
</ul>
<p>org-mode ships with emacs, and is great. Writing novels in it would be orthogonal to its original purpose in note-taking and agenda-organizing. It only exports LaTeX/PDF, not Docbook. While it may work, I think successive options are more promising.</p>
<p>muse-mode is designed from the ground up for publishing, not note-taking. It exports both LaTeX and Docbook. This would probably be my first choice, except for one thing: its wiki syntax.</p>
<p>It seems asinine of me to start complaining about a wiki syntax now. I mean, isn&#8217;t that the whole point of this exercise, to find a wiki-like syntax I can convert from? Right. I&#8217;m not complaining about <strong>a</strong> wiki syntax, I&#8217;m complaining about <strong>this</strong> wiki syntax. All in all it&#8217;s not necessarily a bad one, but it is a domain-specific language for this mode only. <a href="http://blog.wired.com/monkeybites/2008/05/a-million-littl.html">It enjoys no reuse outside of this particular application.</a> If the third option didn&#8217;t exist, I&#8217;d probably use it anyway.</p>
<p>But we have markdown, and the magical frobnicator that frobnicates markdown into a potpourri of other formats: namely, pandoc. <a href="http://jblevins.org/projects/markdown-mode/">Markdown mode</a> is pretty handy, and I&#8217;ll probably end up writing a simple minor-mode or git-hook bash script for automating the pandoc conversions. </p>
<p>I&#8217;ll let you know how this turns out.</p>
]]></content:encoded>
			<wfw:commentRss>http://pfhawkins.com/2009/01/19/on-finding-a-document-production-workflow-for-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts Writers Have</title>
		<link>http://pfhawkins.com/2008/05/11/thoughts-writers-have/</link>
		<comments>http://pfhawkins.com/2008/05/11/thoughts-writers-have/#comments</comments>
		<pubDate>Sun, 11 May 2008 03:53:55 +0000</pubDate>
		<dc:creator>pf</dc:creator>
				<category><![CDATA[essay]]></category>
		<category><![CDATA[itch]]></category>
		<category><![CDATA[muse]]></category>
		<category><![CDATA[smoking]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://pfhawkins.com/?p=40</guid>
		<description><![CDATA[I could really go for a smoke. I&#8217;m a non-smoker. The most I ever smoked was three times in one kinda stressful week in college. And I try to buy the good stuff when I do. No Camels for me. If I ever want a smoke, it&#8217;s because I&#8217;ve an itch that needs scratching, and [...]]]></description>
			<content:encoded><![CDATA[<p>I could really go for a smoke. I&#8217;m a non-smoker. The most I ever smoked was three times in one kinda stressful week in college. And I try to buy the good stuff when I do. No Camels for me.</p>
<p>If I ever want a smoke, it&#8217;s because I&#8217;ve an itch that needs scratching, and a cigarette seems like the shortest path to itch relief. It never is though. There&#8217;s a deeper underlying reason why I have dry skin. The itching won&#8217;t abate until I eat my vitamins, or eat animal fats, or stop eating melons, or get new genes. The rest is vapid style.</p>
<p>There&#8217;s so much style to smoking. Nowadays it happens outside. Always with the lighting it, holding it in your fingers, sucking on it, occasionally looking at it. It&#8217;s the perfect excuse to take a break, because who would deny an itching man his scratch? And it can&#8217;t be done indoors. So it becomes a paradigm shift. An opportunity for a moment. With friends, huddled against the cold and the itch. Or alone with the itch.</p>
<p>There&#8217;s that kind of moment, and then there&#8217;s mortal peril. That innocent girl, tied against the tracks, kicking her petticoat. The mustachioed man behind the bushes, twirling his handlebar with growing glee as his dastardly design is about to bear fruit. And our clean, upright protagonist, whose white teeth shine brightly in his favor as he strains against inconceivable odds to ride his worthy steed to the rails in time to throw the switch, sending the train on a different path, the one without a buxom beauty. The thrall of potential defeat in the moments before improbable success.</p>
<p>Catharsis. You can relax now.</p>
<p>In those moments, either smoking or rescuing a blossom of virginity from the jaws of death, in these moments are birthed a potential writer.</p>
<p>There is no such thing as a Greek muse, but there is such a thing as a moment. Live through enough successive ones with a tolerably observant eye, and one will feel, think, experience. And that will either need to be processed or dismissed.</p>
<p>Writing about it can scratch that itch. But the root cause will be here until judgment day.</p>
]]></content:encoded>
			<wfw:commentRss>http://pfhawkins.com/2008/05/11/thoughts-writers-have/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How I Use Emacs</title>
		<link>http://pfhawkins.com/2007/10/15/how-i-use-emacs/</link>
		<comments>http://pfhawkins.com/2007/10/15/how-i-use-emacs/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 21:17:18 +0000</pubDate>
		<dc:creator>pf</dc:creator>
				<category><![CDATA[essay]]></category>
		<category><![CDATA[editing]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[prose]]></category>
		<category><![CDATA[Vim]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://pfhawkins.com/?p=15</guid>
		<description><![CDATA[When I started using Emacs, I had grandiose notions of producing copious amounts of prose, linking it together in all sorts of interesting and helpful ways, and basically revolutionizing the way I experienced computers. But most of all, I had a new and urgent desire to do everything from the keyboard in a blazingly efficient [...]]]></description>
			<content:encoded><![CDATA[<p>When I started using Emacs, I had grandiose notions of producing copious amounts of prose, linking it together in all sorts of interesting and helpful ways, and basically revolutionizing the way I experienced computers. But most of all, I had a new and urgent desire to do everything from the keyboard in a blazingly efficient manner.</p>
<p>I proceeded to burn the Emacs keybindings into my brain and fingers. I developed some slightly inefficient workflows (copying and pasting from text documents into OpenOffice documents, editing the original text file based on whatever page length I was going for, rinse and repeat until paper is produced) that were, on the whole, a net gain due to the speed of typing without mousing. The linux filesystem positively danced under my fingertips. I had more control over my system than I had ever had on Windows.</p>
<p>I progressed to producing documents and drafts in LaTeX. While it&#8217;s a bit arcane, using Emacs with AUCTeX made writing LaTeX arguably faster (and certainly prettier) than writing in Microsoft Word. My long-held desire, though, was to <em>learn a programming language</em> (I chose python) and <em>code my own Content Management System</em>. Events in meatspace have conspired against me acheiving that goal up to this point; now I am making progress. I can&#8217;t imagine working in any other editor. Oh wait: I can. I switched to vim for four months earlier this year.</p>
<h3>Yes, I tried Vim</h3>
<p>You heard me: I tried vim. My main motivation was a bout of Emacs Pinky. My left pinky occasionally gets sore if I spend too much time on the laptop. At the time I attributed it to the control sequences that Emacs uses, but now I&#8217;m more aware that it&#8217;s just that my laptop has an inelegant and potentially harmful keyboard. If I use an ergonomic keyboard with Emacs, I&#8217;m fine.</p>
<p>Vim was fine. It&#8217;s a great text editor. If you want a powerful text editor, your two choices are vim and Emacs, and though I prefer Emacs, I won&#8217;t fault you for choosing vim. It does some fantabulous things. You can script it in python, for example. But scripting vim in python feels a <strong>lot</strong> like scripting Emacs in python; there&#8217;s a lot of cruft, and it doesn&#8217;t play well with the innards of the system like elisp does. And there were all these little things that I missed.</p>
<h3>What I&#8217;m Doing With Emacs Now</h3>
<p>I&#8217;m evolving into the type of person who tries to do as much as possible inside Emacs. Here&#8217;s a partial list of how I use it now:</p>
<ul>
<li>Email client</li>
<li>Personal Planner</li>
<li>Coding environment for my as-yet-unfinished CMS</li>
<li>Twitter</li>
<li>Writing Fiction</li>
<li>irc</li>
<li>limited web browsing (mostly online APIs for the python libraries I&#8217;m investigating)</li>
<li>World Domination</li>
</ul>
<p>Okay, I really haven&#8217;t used Emacs for world domination yet. But as I was reading <a href="http://www.amazon.com/gp/product/0812579844?ie=UTF8&amp;tag=phawkcom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0812579844">The Golden Age</a>, I was slightly disappointed when he was naming some of the far-future self-aware AI characters, and Emacs didn&#8217;t make the list.</p>
]]></content:encoded>
			<wfw:commentRss>http://pfhawkins.com/2007/10/15/how-i-use-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
