<?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>pdf &#8211; Accidents Happen</title>
	<atom:link href="https://ah.thameera.com/tag/pdf/feed/" rel="self" type="application/rss+xml" />
	<link>https://ah.thameera.com</link>
	<description>In the dark</description>
	<lastBuildDate>Sun, 03 Nov 2013 13:12:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">56521109</site>	<item>
		<title>Reading pdf files from the terminal with less</title>
		<link>https://ah.thameera.com/reading-pdf-files-from-the-terminal-with-less/</link>
					<comments>https://ah.thameera.com/reading-pdf-files-from-the-terminal-with-less/#respond</comments>
		
		<dc:creator><![CDATA[thameera]]></dc:creator>
		<pubDate>Sun, 03 Nov 2013 13:12:37 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[pdf]]></category>
		<guid isPermaLink="false">http://ah.thameera.com/?p=519</guid>

					<description><![CDATA[The good old less command can be used to open more than plain text files. All you need is to set the LESSPIPE environment variable to pipe the /usr/bin/lesspipe script in your .bashrc or .zshrc file. In most systems, the lesspipe script is pre-installed. Otherwise you can download it from here. export LESSOPEN='&#124;/usr/bin/lesspipe %s' Now [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>The good old <code>less</code> command can be used to open more than plain text files. All you need is to set the LESSPIPE environment variable to pipe the <code>/usr/bin/lesspipe</code> script in your <code>.bashrc</code> or <code>.zshrc</code> file. In most systems, the <code>lesspipe</code> script is pre-installed. Otherwise you can download it from <a href="http://sourceforge.net/projects/lesspipe/">here</a>.</p>
<blockquote><p><code>export LESSOPEN='|/usr/bin/lesspipe %s'</code></p></blockquote>
<p>Now simply open your pdf files with less.</p>
<blockquote><p><code>less abc.pdf</code></p></blockquote>
<p>Besides from pdf files you can pipe in compressed files (like tar.gz, zip, rar, etc), ISO files and even .doc files. But who uses .doc files anyway?  <img src="https://ah.thameera.com/wp-includes/images/smilies/mrgreen.png" alt=":mrgreen:" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://ah.thameera.com/reading-pdf-files-from-the-terminal-with-less/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">519</post-id>	</item>
		<item>
		<title>Creating booklets out of PDFs</title>
		<link>https://ah.thameera.com/creating-booklets-out-of-pdfs/</link>
					<comments>https://ah.thameera.com/creating-booklets-out-of-pdfs/#respond</comments>
		
		<dc:creator><![CDATA[thameera]]></dc:creator>
		<pubDate>Fri, 02 Nov 2012 17:09:16 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[alternativeto.net]]></category>
		<category><![CDATA[booklet]]></category>
		<category><![CDATA[bookletcreator]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pdfbook]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://noisythameera.wordpress.com/?p=204</guid>

					<description><![CDATA[This friend of mine wanted to print a PDF as a booklet, i.e. with two pages printed in each A4 page so that it can be folded to make an A5 sized booklet. It works as shown in this pic. This requires a software that can rearrange the pages accordingly. I had heard of this [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>This friend of mine wanted to print a PDF as a booklet, i.e. with two pages printed in each A4 page so that it can be folded to make an A5 sized booklet. It works as shown in <a href="http://www.techsnack.net/wp-content/uploads/2008/04/pdf_booklet.jpg" target="_blank">this pic</a>. This requires a software that can rearrange the pages accordingly. I had heard of this tool called <a href="http://www.bookletcreator.com/" target="_blank">Booklet Creator</a> but, even though it&#8217;s advertised as free, the free version lets you convert only up to 6 pages. And the license is $20. Ridiculous.</p>
<p>What do you do when you need to find an alternative to a software? Check out <a href="http://alternativeto.net/software/bookletcreator/?platform=windows" target="_blank">AlternativeTo.net</a> of course. It led me to this free and open-source tool called <a href="http://linorg.usp.br/CTAN/help/Catalogue/entries/pdfbook.html" target="_blank">pdfbook</a> that lets you do exactly the same. It works in Linux only though (it may work on Windows but will need some work). Also, the tool has some dependencies which need to be installed. In Linux this is usually not much of a problem thanks to package managers. If you&#8217;re on Ubuntu/Debian, the steps to install pdfbook is as follows:</p>
<ol>
<li>sudo apt-get install texlive-latex-base texlive-latex-recommended
<li>Download the pdfbook tarball from <a href="http://linorg.usp.br/CTAN/help/Catalogue/entries/pdfbook.html" target="_blank">here</a> and extract
<li>Go to the extracted directory and install using <em>make install</em>
</ol>
<p>Now pdfbook is ready to use. The following command will create a booklet:</p>
<blockquote><p>./pdfbook -2 <em>original.pdf</em> <em>destination.pdf</em></p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://ah.thameera.com/creating-booklets-out-of-pdfs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">204</post-id>	</item>
	</channel>
</rss>
