<?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>John&#039;s Blog &#187; Uncategorized</title>
	<atom:link href="http://john.nachtimwald.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://john.nachtimwald.com</link>
	<description>My little blog</description>
	<lastBuildDate>Sun, 29 Jan 2012 21:31:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ebook Creation Workflow</title>
		<link>http://john.nachtimwald.com/2011/12/13/ebook-creation-workflow/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ebook-creation-workflow</link>
		<comments>http://john.nachtimwald.com/2011/12/13/ebook-creation-workflow/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 01:43:54 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://john.nachtimwald.com/?p=989</guid>
		<description><![CDATA[Introduction A question I often get asked is what kind of workflow is best for creating ebooks. The short answer is there is no best, perfect, or standard way to create ebooks. There are as many workflows as there are people. I have regular contact with a comercial company (Booknook.biz) that provides digital file to ebook creation servies (I [...]]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<p>A question I often get asked is what kind of workflow is best for creating ebooks. The short answer is there is no best, perfect, or standard way to create ebooks. There are as many workflows as there are people. I have regular contact with a comercial company (<a href="http://www.booknook.biz/">Booknook.biz</a>) that provides digital file to ebook creation servies (I am not affiliated with or work for this company). The company is broken down into teams and each team has a very different work flow, uses very different tools and they all produce the same quality (high) ebooks. Suffice it to say there is no one way that works best. What I want to outline is a few different ways that I have seen work well for people in common situations.</p>
<p>The big thing to think about is what you want to do with the final look of the ebook. There are applications like <a href="http://www.jutoh.com/">Jutoh</a> and <a href="http://www.atlantiswordprocessor.com/en/">Atlantis Word Processor</a> that bill themselves as the equivalent of Word for ebook creation. Atlantis even goes as far as being able to directly open Word documents. These two are not free but compared to the cost of Word itself they are not over priced. These are tools with strong <a href="http://en.wikipedia.org/wiki/WYSIWYG">WYSIWYG</a> formatting support.</p>
<p>Sigil fits into the ebook creation picture in cases where a high degree of control is desired. While Sigil does have some WYSIWYG features, it excels at working on code that comprises an ePub internally. Sigil is very much for manual, do it yourself, or fine grain control needs. That said, many users of Sigil use it solely for its WYSIWYG features. Sigil also has the advantage of being free (price) and open source.</p>
<p>In all cases I recommend getting your book into the ePub format. As noted there are many tools for working with ePub. The internals of the format are HTML and CSS which means it&#8217;s easy to learn how to do advanced formatting. Also, ePub is an <a href="http://en.wikipedia.org/wiki/Open_format">open</a>, <a href="http://idpf.org/epub">fully documented</a>, and standardized format. Further, it&#8217;s very easy to convert an ePub into a variety of other ebook formats such as mobi for use with Amazon&#8217;s Kindle.</p>
<h2>Authors starting with a Word document who don&#8217;t want to know about HTML or CSS that makes up the inside of an ePub</h2>
<p>Often times an author has already written their book. They have it saved as a Word document or in some other similar format. The challenge in this case is going from their favored text editor to an ebook. In this case I recommend either copy and pasting the text from Word into Jutoh, Sigil or opening the Word document with Atlantis Word Processor. Use the inbuilt features to add the desired formatting and save as an ePub.</p>
<p>This works and can produce a functional ebook. However you are limited by what you can do with the formatting and dealing with quirks in various reading systems.</p>
<h2>The case for manually working on an ePub&#8217;s internals</h2>
<p>Using Sigil to actually work on the internals of the ePub allow for quirks in different reading systems to be accommodated. Two major examples I can think of that illustrate this are thumbnail images on the <a href="http://john.nachtimwald.com/2011/08/21/nook-covers-not-showing-up/">Nook Touch</a> and the <a href="http://www.mobileread.com/forums/showpost.php?p=1843395&amp;postcount=6">Kobo iPad/iPod apps</a>. Both have very specific requirements in order for them to appear properly. Calibre, for example, takes issues like these into account when it creates an ePub but this doesn&#8217;t mean calibre handles every quirk in every reader out there. Manual intervention is sometimes required. Also, this goes back to professional digitization services (like I mentioned earlier) because they know about the little quirks of the most popular reading devices and can ensure an ebook looks the same across all devices.</p>
<h2>Three stage ebook creation</h2>
<p>What I can say is the best processes in my experience when using Sigil is three stage: write, convert, finish.</p>
<ol>
<li>Write the book in what ever format you&#8217;re most confortable using what ever tools you&#8217;re most confortable with. The caveat is you really need to be working in a digital medium. At some point you will have to digitize and scanning in pages of paper then correcting errors is going to be a long and arduous process. In most cases simply typing your book into Word is going to save you time after you&#8217;ve finished writing if you go the pen and paper route. Most authors are going to use Word which lets them, write, edit and do basic formatting. At this point leave the formatting pretty basic.</li>
<li>Use an automated conversion tool like calibre to get your book into a format that is a bit more editable as an ebook. Word is a great editor but Word files are complex (and older versions do not have official format specifications). For Word the best advise is to have Word save as HTML. This will lead to it&#8217;s own issues but they can be worked around. HTML produced by Word will have basic formatting intact and the beauty of using an automated conversion tool is a lot will come through when converting to ePub.</li>
<li>Take that mostly formatted ePub put it into Sigil and make the necessary changes to make it look perfect. Since Sigil allows for direct access to the XHTML and CSS you can use a number of different techniques to ensure it looks exactly how you want. Also, if you are working on a number of book and want to ensure consistant formatting you can do things like easily use a default stylesheet. The best way I can sum up how the majority of people use and how I view Sigil is, Sigil is for people who know XHTML, CSS, and regular expressions and want to use their knowledge.</li>
</ol>
<h2>Three stage variation: Markdown and Textile with plain text</h2>
<p>I personally use a slight variation of the above. I prefer to use plain text with either <a href="http://daringfireball.net/projects/markdown/">Markdown</a> or <a href="http://www.textism.com/tools/textile/">Textile</a> for basic formatting. Then conversion with calibre and final adjustments with Sigil. I use both depending on what I want to accomplish as I find Markdown more intuitive but Textile allows for things like margins and text alignment. Even without using Markdown or Textile converting using calibre with heuristic processing will get most novels about 75-90% formatted.</p>
<h2>Three stage variation: Starting with HTML and CSS</h2>
<p>The biggest difference with this variation is it skips right to step three. It is possible to still use calibre to take the HTML and produce an ePub but in this case I would advise against doing so. calibre is an automated tool and will make changes to the HTML and CSS. Visually it should look the same but the HTML and CSS will be different. This can be good if you have HTML and CSS that is so horrible you need it cleaned as calibre does some normalization but if you&#8217;re using your own hand crafted HTML and CSS you probably don&#8217;t want it modified.</p>
<p>Once you have all of your files ready, open Sigil and have a blank document open. Right click in the book browser on the text folder. Choose the Add Existing Files. Select your HTML files and import them. You should now see the Text section includes all of those files. Do the same with your CSS.</p>
<p>You many need to edit the HTML files to ensure that the CSS is referenced from the correct location. All stylesheets are located in the Styles directory which is one step above the Text directory. For example:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;../Styles/stylesheet.css&quot;</span> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>If you have any images add them in the same way you added the HTML and CSS files. Also, make sure they&#8217;re referenced properly just like you did with the CSS.</p>
<p>Check the look in the book view to make sure everything looks correct. Also don&#8217;t forget to delete the Section0001.xhtml that is left over from it being a new file.</p>
<p>As you added each file the filename is perserved and it is added to the TOC based on the file itself. You have two options for working with the TOC. If you want to leave it file based you&#8217;re pretty much done. If you don&#8217;t like the text that displays in the TOC you can edit the toc.ncx and change the text.</p>
<p>You&#8217;re other option is to generate the TOC from headings. In the TOC browser (should be on the right hand side) click generate TOC from headings. Automatic TOC generation is based on h1 &#8211; h3 tags. h2 are nested under h1 and h3 are nested under h2. The only other way to deal with the TOC is to manually edit the toc.ncx by hand.</p>
<h2>Conclusion</h2>
<p>What I would recommend to authors is take the easiest path. If you&#8217;re  happy with the results of using Jutoh or Atlantis then your done. If you want to get a bit more involved use a variation of the three stage work flow I outlined. If all this seems like too much to deal with, pay someone to do it for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://john.nachtimwald.com/2011/12/13/ebook-creation-workflow/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Yubikey Auto Lock in Gnome</title>
		<link>http://john.nachtimwald.com/2010/07/25/yubikey-auto-lock-in-gnome/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=yubikey-auto-lock-in-gnome</link>
		<comments>http://john.nachtimwald.com/2010/07/25/yubikey-auto-lock-in-gnome/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 22:05:29 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[screen saver]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[yubikey]]></category>

		<guid isPermaLink="false">http://john.nachtimwald.com/?p=433</guid>
		<description><![CDATA[I recently purchased a Yubikey from Yubico. What got me to buy it was the discount they&#8217;re offering to Security Now! listeners. So far I&#8217;m liking it quite a bit and have been looking to use it any way I can. One of the uses I found was to have the presence of they Yubikey [...]]]></description>
			<content:encoded><![CDATA[<p>I recently purchased a <a href="http://www.yubico.com/products/yubikey/">Yubikey</a> from <a href="http://www.yubico.com/">Yubico</a>. What got me to buy it was the discount they&#8217;re offering to <a href="http://twit.tv/sn">Security Now!</a> listeners. So far I&#8217;m liking it quite a bit and have been looking to use it any way I can. One of the uses I found was to have the presence of they Yubikey <a href="http://forum.yubico.com/viewtopic.php?f=11&#038;t=246">unlock and lock</a> Gnome Screen Saver.</p>
<p>Toward the end of the forum thread there is a very nice set of udev rules that work perfect for me and are very clean. I put the following into /etc/udev/rules.d/85-yubikey.rules</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">ACTION</span>==<span style="color: #ff0000;">&quot;add&quot;</span>, ENV<span style="color: #7a0874; font-weight: bold;">&#123;</span>ID_VENDOR<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;Yubico&quot;</span>, RUN+=<span style="color: #ff0000;">&quot;/usr/local/bin/gnome-screensaver-unlock&quot;</span>
<span style="color: #007800;">ACTION</span>==<span style="color: #ff0000;">&quot;remove&quot;</span>, ENV<span style="color: #7a0874; font-weight: bold;">&#123;</span>ID_VENDOR<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;Yubico&quot;</span>, RUN+=<span style="color: #ff0000;">&quot;/usr/local/bin/gnome-screensaver-lock&quot;</span></pre></div></div>

<p>I really dislike the scripts that are in the thread for locking and unlocking the computer. Gnome Screen Saver is a DBus enabled application so controlling it is very easy. Below are the unlock and lock scripts I&#8217;ve written. They use qdbus to send the dbus commands. This could be replaced with dbus-send but I use Qt and qdbus&#8217;s syntax is easier to work with.</p>
<p>gnome-screensaver-unlock</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #007800;">user</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ps</span> aux <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> gnome-screensaver <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">head</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #007800;">$user</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">GNOME_SCREENSAVER_PROC</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ps</span> xa <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> gnome-screensaver <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">head</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span><span style="color: #000000; font-weight: bold;">`</span>
        <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-z</span> DBUS_SESSION_BUS_ADDRESS <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$GNOME_SCREENSAVER_PROC</span><span style="color: #000000; font-weight: bold;">/</span>environ<span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
        <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #007800;">$user</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;qdbus org.gnome.ScreenSaver / SetActive false&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<p>gnome-screensaver-lock</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #007800;">user</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ps</span> aux <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> gnome-screensaver <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">head</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #007800;">$user</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
	<span style="color: #007800;">GNOME_SCREENSAVER_PROC</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ps</span> xa <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> gnome-screensaver <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">head</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span><span style="color: #000000; font-weight: bold;">`</span>
	<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-z</span> DBUS_SESSION_BUS_ADDRESS <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$GNOME_SCREENSAVER_PROC</span><span style="color: #000000; font-weight: bold;">/</span>environ<span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
	<span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #007800;">$user</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;qdbus org.gnome.ScreenSaver / SetActive true&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<p>One thing that isn&#8217;t mentioned in the forum thread that is very important, <b>this unlocking method is highly insecure</b>. The locking portion is fine but unlocking shouldn&#8217;t actually be done in this way. The above udev rules only checks that a Yubikey is inserted. It does not which which Yubikey is inserted. Any Yubikey can bypass your password and unlock the computer. The unlocking script does not preform any additional checks against the yubikey. Due to this, I don&#8217;t have the unlock code enabled on my computer.</p>
<p>However, it is possible to make unlocking secure. You can use one of the two yubikey pam modules, Yubico&#8217;s <a href="http://code.google.com/p/yubico-pam/">yubico-pam</a> and Securix Live&#8217;s <a href="http://www.securixlive.com/yubipam/index.php">yubipam</a>. Yubico-pam requires internet access because it validates against Yubico&#8217;s servers. Yubipam does not need internet access but you will have to reprogram your Yubikey with a new AES key. The new key must be stored in the computer. Each has it&#8217;s advantages and disadvantages but using the pam module with Gnome Screen Saver (I haven&#8217;t actually tried so it might not work) will provide you with a secure unlock.</p>
<p>Thinking about secure unlocks there is a <a href="http://forum.yubico.com/viewtopic.php?f=11&#038;t=210">clever solution</a> that allows for the Yubikey to be used with SSH without the need for the pam module. If I can find a way (I haven&#8217;t looked yet) to have an input that can capture the Yubikey&#8217;s output then it would be possible to handle the unlock in a secure manner without the need for the pam module&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://john.nachtimwald.com/2010/07/25/yubikey-auto-lock-in-gnome/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>lebookread 0.2</title>
		<link>http://john.nachtimwald.com/2010/07/11/lebookread-0-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lebookread-0-2</link>
		<comments>http://john.nachtimwald.com/2010/07/11/lebookread-0-2/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 01:21:49 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://john.nachtimwald.com/?p=420</guid>
		<description><![CDATA[I&#8217;ve made a new release of lebookread. This version supports the following formats: palmdoc, ztxt, epub, tcr, rb, mobi, and fb2. The library is usable but still needs a lot of work. Unit testing, examples, more code comments and more formats to name a few things.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made a new release of <a href="https://launchpad.net/lebookread">lebookread</a>. This version supports the following formats: palmdoc, ztxt, epub, tcr, rb, mobi, and fb2. The library is usable but still needs a lot of work. Unit testing, examples, more code comments and more formats to name a few things.</p>
]]></content:encoded>
			<wfw:commentRss>http://john.nachtimwald.com/2010/07/11/lebookread-0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Teleread Article About Converting E-books</title>
		<link>http://john.nachtimwald.com/2010/01/03/teleread-article-about-converting-e-books/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=teleread-article-about-converting-e-books</link>
		<comments>http://john.nachtimwald.com/2010/01/03/teleread-article-about-converting-e-books/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 23:49:57 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://john.nachtimwald.com/?p=333</guid>
		<description><![CDATA[Teleread published an article of mine about converting e-books.]]></description>
			<content:encoded><![CDATA[<p>Teleread published an article of mine about <a href="http://www.teleread.org/2010/01/03/the-abcs-of-format-conversion-for-the-kindle-sony-and-nook-plus-some-calibre-tips">converting e-books</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://john.nachtimwald.com/2010/01/03/teleread-article-about-converting-e-books/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Book Club Book for July</title>
		<link>http://john.nachtimwald.com/2009/07/01/book-club-book-for-july/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=book-club-book-for-july</link>
		<comments>http://john.nachtimwald.com/2009/07/01/book-club-book-for-july/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 11:22:26 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://john.nachtimwald.com/?p=147</guid>
		<description><![CDATA[This month my book club has chosen to read Ex Machina, Vol. 1: The First Hundred Days. The story is about the world&#8217;s first (looks like only) superhero who decides to go into politics. His renown gives him a win and he is elected the mayor of New York City. I&#8217;ve been looking forward to [...]]]></description>
			<content:encoded><![CDATA[<p>This month my book club has chosen to read <a href="http://www.amazon.com/gp/product/1401206123?ie=UTF8&amp;tag=josbl0e-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1401206123">Ex Machina, Vol. 1: The First Hundred Days</a><img src="http://www.assoc-amazon.com/e/ir?t=josbl0e-20&amp;l=as2&amp;o=1&amp;a=1401206123" width="1" height="1" border="0" alt="" style="border:none !important;margin:0px !important" />. The story is about the world&#8217;s first (looks like only) superhero who decides to go into politics. His renown gives him a win and he is elected the mayor of New York City. I&#8217;ve been looking forward to reading this one so I hope it turns out better than last months pick.</p>
]]></content:encoded>
			<wfw:commentRss>http://john.nachtimwald.com/2009/07/01/book-club-book-for-july/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pdfmanipulate</title>
		<link>http://john.nachtimwald.com/2009/03/29/pdfmanipulate/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pdfmanipulate</link>
		<comments>http://john.nachtimwald.com/2009/03/29/pdfmanipulate/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 14:35:09 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[calibre]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://john.nachtimwald.com/?p=94</guid>
		<description><![CDATA[The other day on mobileread there was a post about combining pdf files. The person has their books in pdf and they are divided by chapters. This got me thinking about the state of the pdf tools in Calibre. There was only one, pdftrim. I&#8217;ve added three new pdf manipulation tools. Merge to combine multiple [...]]]></description>
			<content:encoded><![CDATA[<p>The other day on mobileread there was a post about combining pdf files. The person has their books in pdf and they are divided by chapters. This got me thinking about the state of the pdf tools in Calibre. There was only one, pdftrim.</p>
<p>I&#8217;ve added three new pdf manipulation tools. Merge to combine multiple pdfs into one. Split to split a pdf into multiple files by page. And info to show information about the pdf. Info is especially handy when you want to work with split and need to know how many pages are in the document.</p>
<p>To stop issue with naming conflicts (pdfinfo is used by poppler-utils) and to keep the amount of pdf* names under control I&#8217;ve created a git/bzr like wrapper for all of Calibre&#8217;s pdf manipulation tools. pdfmanipulate is the base command. A subcommand (see them all with &#8211;help) is added after.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ pdfmanipulate <span style="color: #660033;">--help</span>
Usage:
pdfmanipulate <span style="color: #7a0874; font-weight: bold;">command</span> ...
&nbsp;
<span style="color: #7a0874; font-weight: bold;">command</span> can be one of the following:
<span style="color: #7a0874; font-weight: bold;">&#91;</span>info, merge, <span style="color: #c20cb9; font-weight: bold;">split</span>, trim<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
Use pdfmanipulate <span style="color: #7a0874; font-weight: bold;">command</span> <span style="color: #660033;">--help</span> to get <span style="color: #c20cb9; font-weight: bold;">more</span> information about a specific <span style="color: #7a0874; font-weight: bold;">command</span>
&nbsp;
Manipulate a PDF.
...</pre></div></div>

<p></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ pdfmanipulate merge <span style="color: #660033;">--help</span>
Usage: pdfmanipulate merge <span style="color: #7a0874; font-weight: bold;">&#91;</span>options<span style="color: #7a0874; font-weight: bold;">&#93;</span> file1.pdf file2.pdf ...
&nbsp;
Merges individual PDFs. Metadata will be used from the first PDF specified.
...</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://john.nachtimwald.com/2009/03/29/pdfmanipulate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Kittens!</title>
		<link>http://john.nachtimwald.com/2008/12/13/kittens/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=kittens</link>
		<comments>http://john.nachtimwald.com/2008/12/13/kittens/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 01:40:52 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cats]]></category>

		<guid isPermaLink="false">http://john.nachtimwald.com/?p=13</guid>
		<description><![CDATA[Today Tati and I decided to adopt two cute little kittens. Wally is an orange tabby and he is 2 months old. Cricket is a Persian mix and she is 3 months old. Both love each other and play with one another whenever they aren&#8217;t sleeping. It&#8217;s nice having them in the condo. Pictures of [...]]]></description>
			<content:encoded><![CDATA[<p>Today Tati and I decided to adopt two cute little kittens. Wally is an orange tabby and he is 2 months old. Cricket is a Persian mix and she is 3 months old. Both love each other and play with one another whenever they aren&#8217;t sleeping. It&#8217;s nice having them in the condo. Pictures of them are up at <a href="http://photos.nachtimwald.com/index.php?album=kitties">http://photos.nachtimwald.com/index.php?album=kitties</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://john.nachtimwald.com/2008/12/13/kittens/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

