<?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>nolancaudill.com &#187; lulu</title>
	<atom:link href="http://nolancaudill.com/index.php/tag/lulu/feed/" rel="self" type="application/rss+xml" />
	<link>http://nolancaudill.com</link>
	<description>thoughts and whatnot</description>
	<lastBuildDate>Wed, 18 Nov 2009 03:47:43 +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>SICP and Lulu.com</title>
		<link>http://nolancaudill.com/index.php/2009/03/13/sicp-and-lulucom/</link>
		<comments>http://nolancaudill.com/index.php/2009/03/13/sicp-and-lulucom/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 19:50:21 +0000</pubDate>
		<dc:creator>nolan</dc:creator>
				<category><![CDATA[books]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lulu]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sicp]]></category>

		<guid isPermaLink="false">http://nolancaudill.com/?p=121</guid>
		<description><![CDATA[I&#8217;ve been wanting to read SICP for awhile, but with lots of other books on my to-read list, as well as the $50 dollar price tag for a used copy, I&#8217;ve put it on hold. The price, while relatively steep, usually doesn&#8217;t stop me from picking up a highly-desired book, but I held off mainly [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wanting to read <a href="http://mitpress.mit.edu/sicp/">SICP</a> for awhile, but with lots of other books on my to-read list, as well as the $50 dollar price tag for a used copy, I&#8217;ve put it on hold. The price, while relatively steep, usually doesn&#8217;t stop me from picking up a highly-desired book, but I held off mainly as the book is freely available on their website, under the Creative Commons Attribution-Noncommercial license and this seems like a lot to pay for a free-as-in-beer book.</p>
<p>Since SICP runs close to 600 printed pages and approximately 40 HTML files , I&#8217;d rather not read it in my browser and printing it on the home printer is not really an option. I decided that using <a href="http://lulu.com">Lulu</a> might be a workable solution.</p>
<p>Lulu takes PDFs so step one was to convert the SICP website to one big PDF.</p>
<p>First, I used wget to mirror the site. Now that I had all the files, I wanted to clean them up a little. Every single page had the previous and next links at the bottom and this was obviously not needed when the pages are in physical form. I ran the following sed command to remove these lines:</p>
<p><code>sed -i "/\[Go to/d" *html</code></p>
<p>The next step was to convert the HTML to PDF. I used htmldoc for this particular task.  First, I put all the names of the HTML files in one text file, on one line, and in the correct order. I called this file &#8220;all_files.txt&#8221;. The htmldoc command I used to convert to PDF is the following:</p>
<p><code>htmldoc -f sicp.pdf --webpage --left .75in --right .75in `cat all_files.txt`</code></p>
<p>I then uploaded this file up to Lulu and designed my (very) simple cover. I made it clear on the back  cover text that I was printing this book under the rights granted by the aforementioned license and would receive no profit from this book with a link back to the original source. I&#8217;m not a lawyer so I hope that covers all bases.</p>
<p>Lulu has a convenient feature that will let you do a private printing. I could probably make  this book public, setting my profit to zero, and even though that would be covered under the license, it still feels strange to do.</p>
<p>I am very curious how this book will turn out. The Lulu process was actually fun and if this turns out well, I could see myself using the service again. Once I get the book, I&#8217;ll post my reviews of the service and possibly some pictures of the final product. Nonetheless, I&#8217;m excited to get a print version of this book for a much-reduced price.</p>
<p><strong>Edited to add:<br />
</strong>Here&#8217;s the download for the PDF: <a href="/files/sicp.pdf">sicp.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nolancaudill.com/index.php/2009/03/13/sicp-and-lulucom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->