<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Graphical = good and command line = bad?</title>
	<atom:link href="http://handyfloss.net/2008.01/graphical-good-and-command-line-bad/feed/" rel="self" type="application/rss+xml" />
	<link>http://handyfloss.net/2008.01/graphical-good-and-command-line-bad/</link>
	<description>Because FLOSS is handy, isn&#039;t it?</description>
	<lastBuildDate>Mon, 21 May 2012 06:39:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Christine</title>
		<link>http://handyfloss.net/2008.01/graphical-good-and-command-line-bad/comment-page-1/#comment-24725</link>
		<dc:creator>Christine</dc:creator>
		<pubDate>Thu, 08 Jan 2009 19:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://handyfloss.net/?p=272#comment-24725</guid>
		<description>Thanks for the answer!
I finally finished rendering 3\times14 orbitals (to compare qualitatively the orbitals from CASSCF and DFT calculations with 2 different functionals) - by hand, one after the other... ;-)

Christine</description>
		<content:encoded><![CDATA[<p>Thanks for the answer!<br />
I finally finished rendering 3\times14 orbitals (to compare qualitatively the orbitals from CASSCF and DFT calculations with 2 different functionals) &#8211; by hand, one after the other&#8230; ;-)</p>
<p>Christine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: isilanes</title>
		<link>http://handyfloss.net/2008.01/graphical-good-and-command-line-bad/comment-page-1/#comment-24649</link>
		<dc:creator>isilanes</dc:creator>
		<pubDate>Thu, 08 Jan 2009 10:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://handyfloss.net/?p=272#comment-24649</guid>
		<description>Thanks Christine!

I don&#039;t know what you actually expect, but I fear you will be disappointed. The Perl script does not automate the operations with Molekel, just the cropping of the images. If that is what you want, here you are:

&lt;div class=&quot;codeblock&quot;&gt;
#!/usr/bin/perl -w

use strict;

&lt;pre&gt;

my $basename = &#039;dip&#039;; # for files &quot;$basename.NUMBER.$ext
my $ext = &#039;rgb&#039;; # extension
my $crop = &#039;736x330+0+160&#039; # WidthxHeight+Xoffset+Yoffset (pixels)

for my $n (&#039;071&#039;..&#039;087&#039;)
{
  print &quot;Converting $n... &quot;;
  system &quot;convert $basename.$n.*.$ext -crop 736x330+0+160 $basename.$n.jpg&quot;;
  system &quot;convert $basename.$n.jpg eps3:$basename.$n.eps&quot;;
  print &quot;\n&quot;;
};
&lt;/pre&gt;
&lt;/div&gt;

The program will convert from orbital 071 to 087, cropping the original and then converting to EPS (to include in LaTeX documents). You can modify to your heart&#039;s content, of course.</description>
		<content:encoded><![CDATA[<p>Thanks Christine!</p>
<p>I don&#8217;t know what you actually expect, but I fear you will be disappointed. The Perl script does not automate the operations with Molekel, just the cropping of the images. If that is what you want, here you are:</p>
<div class="codeblock">
#!/usr/bin/perl -w</p>
<p>use strict;</p>
<pre>

my $basename = 'dip'; # for files "$basename.NUMBER.$ext
my $ext = 'rgb'; # extension
my $crop = '736x330+0+160' # WidthxHeight+Xoffset+Yoffset (pixels)

for my $n ('071'..'087')
{
  print "Converting $n... ";
  system "convert $basename.$n.*.$ext -crop 736x330+0+160 $basename.$n.jpg";
  system "convert $basename.$n.jpg eps3:$basename.$n.eps";
  print "\n";
};
</pre>
</div>
<p>The program will convert from orbital 071 to 087, cropping the original and then converting to EPS (to include in LaTeX documents). You can modify to your heart&#8217;s content, of course.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christine</title>
		<link>http://handyfloss.net/2008.01/graphical-good-and-command-line-bad/comment-page-1/#comment-24494</link>
		<dc:creator>Christine</dc:creator>
		<pubDate>Wed, 07 Jan 2009 16:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://handyfloss.net/?p=272#comment-24494</guid>
		<description>Hi!
What a nice post, I completely agree with you! The thing is, I am using Molekel the first time and I am facing the same problem as you did - but I did not find out how to do it. Could you maybe post your perl script? This would help me a lot.

Cheers
Christine</description>
		<content:encoded><![CDATA[<p>Hi!<br />
What a nice post, I completely agree with you! The thing is, I am using Molekel the first time and I am facing the same problem as you did &#8211; but I did not find out how to do it. Could you maybe post your perl script? This would help me a lot.</p>
<p>Cheers<br />
Christine</p>
]]></content:encoded>
	</item>
</channel>
</rss>

