<?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>#md2epub posts — Ben Crowder</title>
    <link>https://bencrowder.net/blog/tag/md2epub/</link>
    <atom:link href="https://bencrowder.net/blog/tag/md2epub/feed/" rel="self" />
    <description>Feed for blog posts tagged with #md2epub.</description>
    <lastBuildDate>Wed, 15 Apr 2026 03:01:55 GMT</lastBuildDate>
    <language>en-US</language>
    <generator>https://bencrowder.net/</generator>

    <item>
      <title>Some quick thoughts about the project space I see myself working in (meaning personal coding project...</title>
      <link>https://bencrowder.net/blog/2020/1001/</link>
      <guid isPermaLink="true">https://bencrowder.net/blog/2020/1001/</guid>
      <pubDate>Tue, 01 Sep 2020 12:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Ben Crowder]]></dc:creator>
      <description><![CDATA[<p>Some quick thoughts about the project space I see myself working in (meaning personal coding projects that aren’t the <a href="https://bencrowder.net/blog/2020/910/">productivity tools</a> I mentioned before), both now and for the foreseeable future. To be honest, it’s mostly a roadmap for myself, posted here as part of working in public.</p>
<h2 id="bookmakingtools">Bookmaking tools</h2>
<p>One of the areas in the project space is bookmaking tools: tools that help with making either print books or ebooks. What I’ve worked on in that area (and some of these are still in progress or in the future):</p>
<ul>
<li><a href="https://bencrowder.net/blog/tag/press/">Press</a> — low-level typesetting (PDF compiler)</li>
<li><a href="https://bencrowder.net/blog/tag/ink/">Ink</a> — higher-level typesetting</li>
<li><a href="https://bencrowder.net/blog/tag/curves/">Curves</a> — programmatic type design</li>
<li><a href="https://bencrowder.net/typlate/">Typlate</a> — type design templates</li>
<li><a href="https://bencrowder.net/md2epub/">md2epub</a>/<a href="https://bencrowder.net/blog/tag/caxton/">Caxton</a> — ebook compiler</li>
<li><a href="https://bencrowder.net/epubdiff/">epubdiff</a> — ebook differ</li>
<li><a href="https://bencrowder.net/fledge/">Fledge</a> — text processing shell</li>
<li><a href="https://bencrowder.net/blog/tag/storybook/">Storybook</a> — writing tool (covered under the productivity tools, yes, but I feel it fits in here)</li>
</ul>
<h2 id="creativitytools">Creativity tools</h2>
<p>The next area, somewhat related, is creativity tools: tools for making art, music, etc. I do realize that there’s a bit of  overlap between the two areas — art can be used in books, for example. This is not a rigorous taxonomy.</p>
<p>What I’ve worked on:</p>
<ul>
<li><a href="https://bencrowder.net/blog/tag/trill/">Trill</a> — music composition REPL</li>
<li><a href="https://bencrowder.net/blog/tag/grain/">Grain</a> — command-line tool for texturing art</li>
</ul>
<p>While I haven’t done much in this area so far, the intersection of software and art has been calling to me more lately. I expect creativity tools to become much more of a focus for me, probably even more so than the bookmaking tools.</p>
<h2 id="humancomputerinteraction">Human-Computer Interaction</h2>
<p>Last but not least, HCI. My master’s thesis is in this area, and much of my other work also touches on it in limited ways. (What I mean by that, I think, is that with projects like Trill, Curves, and Press, the parts that have most interested me are the interfaces. Also, those interfaces have been textual in these particular cases, but I’m also interested in other kinds of UIs.) So I plan to start building more proofs of concept and interface experiments — like the <a href="https://bencrowder.net/blog/2020/857/">spatial interface</a> ideas I mentioned several weeks ago.</p><hr class="feed-extra" style="margin-top: 48pt;" /><p class="feed-extra feed-mail"><a href="mailto:ben.crowder@gmail.com?subject=Re%3A%20Some quick thoughts about the project space I see myself working in (meaning personal coding project...">Reply via email</a></p>]]></description>
    </item>
    <item>
      <title>I’m getting a bit of a nostalgia kick reading through the Standard Ebooks process. I haven’t made an...</title>
      <link>https://bencrowder.net/blog/2020/891/</link>
      <guid isPermaLink="true">https://bencrowder.net/blog/2020/891/</guid>
      <pubDate>Mon, 24 Aug 2020 12:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Ben Crowder]]></dc:creator>
      <description><![CDATA[<p>I’m getting a bit of a nostalgia kick reading through the <a href="https://standardebooks.org/contribute/producing-an-ebook-step-by-step">Standard Ebooks process</a>. I haven’t made anything with them (though they do good work and I’m reading two of their editions right now), but years ago — in a former life, it seems — I used to make <a href="https://bencrowder.net/projects/tags/books/">ebook editions</a> of old books.</p>
<p>As far as I can tell, the first ebook I made was Chesterton’s <em><a href="https://bencrowder.net/the-ball-and-the-cross/">The Ball and the Cross</a></em>, which I typed up by hand and posted to Project Gutenberg. Around that time I worked on a handful of other books for PG, including Henry Sweet’s <em><a href="https://bencrowder.net/icelandic-primer/">An Icelandic Primer</a></em>, which was much more involved (Old Icelandic characters, tables, etc.) and incredibly fun.</p>
<p>After that I worked on several more books as part of the <a href="https://bencrowder.net/mormon-texts-project/">Mormon Texts Project</a> and also started making EPUB and Kindle editions of other books (like the <a href="https://bencrowder.net/grimms-tales-1812/">1812/1815 edition of Grimms’ fairy tales</a> and George MacDonald’s <em><a href="https://bencrowder.net/light-princess/">The Light Princess</a></em>). Those were quite fun, too.</p>
<p>Somewhere around five or so years ago I stopped, partly from working on other things, partly from repetitive strain injuries. (Even with Vim macros to help, there’s still a multitude of repetitive keystrokes in cleaning up texts, at least for me.) With reading about Standard Ebooks and writing this post, though, I’m tempted to get back into it. I built <a href="https://bencrowder.net/fledge/">Fledge</a> years ago as an attempt to script away more of the repetitive work, and I suspect wiser use of both it and Vim might be enough to minimize the RSI.</p>
<p>On a related note, I’ve been wanting to rewrite <a href="https://bencrowder.net/md2epub/">md2epub</a>. It’s a decent-enough Python script that takes Markdown files and turns them into an EPUB, and it’s worked well. But it’s an old codebase, and I don’t like the name anymore, and it could be faster, and I have a few ideas on how to make it more ergonomic, so I’m planning to dub it Caxton and rewrite it in Go or Rust. (Primarily so I’ll have an easier way to make EPUB editions of my fiction.) This part is the most likely to actually happen, I think.</p><hr class="feed-extra" style="margin-top: 48pt;" /><p class="feed-extra feed-mail"><a href="mailto:ben.crowder@gmail.com?subject=Re%3A%20I’m getting a bit of a nostalgia kick reading through the Standard Ebooks process. I haven’t made an...">Reply via email</a></p>]]></description>
    </item>
    <item>
      <title>md2epub</title>
      <link>https://bencrowder.net/blog/2010/md2epub/</link>
      <guid isPermaLink="true">https://bencrowder.net/blog/2010/md2epub/</guid>
      <pubDate>Wed, 09 Jun 2010 12:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Ben Crowder]]></dc:creator>
      <description><![CDATA[<p>An itch scratched: <a href="http://github.com/bencrowder/md2epub">md2epub</a>, a Python script for making an EPUB out of Markdown files.</p>
<p>All it takes is a simple book file, which gives the script some basic metadata about the book and then lists the files that need to be included. The script runs Markdown on the files and makes an EPUB.</p>
<pre><code># Sample book file for md2epub
# 9 Jun 2010

Title: My Sample Book
Author: John Doe
Language: en-US
URL: /books/my-sample-book/
CSS: content/style.css

# Chapters
Foreword | content/foreword.text
Chapter 1 | content/chapter_1.text
Chapter 2 | content/chapter_2.text
Chapter 3 | content/chapter_3.text

# Images to be included
Images: images/illustration1.jpg, images/illustration2.jpg
Image: images/illustration4.jpg
</code></pre>
<p>And then you just run “md2epub myfile.book” and voila, instant EPUB. I’ve already used it on my Pearl of Great Price reader’s edition (which I’ll be releasing shortly) and it works like a charm.</p>
<p>Last but not least, the code is based on my friend Matt’s script <a href="http://staff.washington.edu/mdturner">GetBook.py</a>. (And, in fact, that’s where I got the idea for this script.)</p><hr class="feed-extra" style="margin-top: 48pt;" /><p class="feed-extra feed-mail"><a href="mailto:ben.crowder@gmail.com?subject=Re%3A%20md2epub">Reply via email</a></p>]]></description>
    </item>
    
  </channel>
</rss>
