<?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; git</title>
	<atom:link href="http://pfhawkins.com/tag/git/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>
	</channel>
</rss>
